From a648c4f8b2cad6666cb59e7804bd962f18a6b9d1 Mon Sep 17 00:00:00 2001 From: Sanket Joshi Date: Wed, 10 Mar 2021 13:08:27 -0800 Subject: [PATCH] [css-highlight-api]: Remove redundant add method from HighlightRegistry. --- css-highlight-api-1/Overview.bs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/css-highlight-api-1/Overview.bs b/css-highlight-api-1/Overview.bs index 3330e1d21eb..0177c3b5b05 100644 --- a/css-highlight-api-1/Overview.bs +++ b/css-highlight-api-1/Overview.bs @@ -226,13 +226,12 @@ Registering Custom Highlights [Exposed=Window] interface HighlightRegistry { setlike; - HighlightRegistry add(Highlight value); };
To [=register=] a [=custom highlight=], - invoke the {{HighlightRegistry/add()}} of the [=highlight registry=] + invoke the {{HighlightRegistry/add()}} method of the [=highlight registry=] with the [=custom highlight=] as the argument. When invoked,