Skip to content

Commit

Permalink
[css-custom-highlight-1] Fix IDL definition of HighlightRegistry (#…
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
tidoust authored Jan 30, 2025
1 parent 85e0ca0 commit f948534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion css-highlight-api-1/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Registering Custom Highlights</h3>
};

[Exposed=Window]
partial interface HighlightRegistry {
interface HighlightRegistry {
maplike<DOMString, Highlight>;
};
</xmp>
Expand Down

0 comments on commit f948534

Please sign in to comment.