We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3935b8f commit 521c913Copy full SHA for 521c913
css-highlight-api-1/Overview.bs
@@ -226,13 +226,12 @@ Registering Custom Highlights</h3>
226
[Exposed=Window]
227
interface HighlightRegistry {
228
setlike<Highlight>;
229
- HighlightRegistry add(Highlight value);
230
};
231
</xmp>
232
233
<div algorithm="to register a custom highlight">
234
To [=register=] a [=custom highlight=],
235
- invoke the {{HighlightRegistry/add()}} of the [=highlight registry=]
+ invoke the {{HighlightRegistry/add()}} method of the [=highlight registry=]
236
with the [=custom highlight=] as the argument.
237
238
When invoked,
0 commit comments