[csswg-drafts] Pull Request: [css-highlight-api] Remove redundant add method from HighlightRegistry interface

frivoal has just labeled a pull request from sanketj for https://github.com/w3c/csswg-drafts as "Closed Accepted by Editor Discretion":

== [css-highlight-api] Remove redundant add method from HighlightRegistry interface ==
[css-highlight-api] Remove redundant add method from HighlightRegistry interface

Since HighlightRegistry is setlike, it gets its add method from the setlike interface. This method just needs to be implemented with some special rules, as defined in the highlight-api spec. We need not define an explicit add method on HighlightRegistry - this is redundant and confusing to read.


See https://github.com/w3c/csswg-drafts/pull/6092


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 14 December 2021 05:03:57 UTC