Skip to content

Commit f948534

Browse files
authored
[css-custom-highlight-1] Fix IDL definition of HighlightRegistry (#11595)
A recent update added a method to the `HighlightRegistry` interface through a `partial interface` definition. That's totally fine. However, the initial `interface` definition was also turned into a `partial interface` definition. That is incorrect, a `partial interface` definition always extends an interface that must be defined (without `partial`) somewhere. This update drops `partial` from the core interface definition accordingly.
1 parent 85e0ca0 commit f948534

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-highlight-api-1/Overview.bs

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ Registering Custom Highlights</h3>
236236
};
237237

238238
[Exposed=Window]
239-
partial interface HighlightRegistry {
239+
interface HighlightRegistry {
240240
maplike<DOMString, Highlight>;
241241
};
242242
</xmp>

0 commit comments

Comments
 (0)