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

sanketj has just submitted a new pull request for https://github.com/w3c/csswg-drafts:

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

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 Wednesday, 10 March 2021 21:14:14 UTC