Re: [csswg-drafts] [css-pseudo-4] Proposal: Highlight API (#4307)

I'm happy to see this moving forward; I've wanted an API like this for a while.

A few thoughts:
* I'm inclined to think that the naming should use existing terms in the web platform (probably "range") rather than inventing a new one ("highlight")
* I'm a little worried about the ergonomics of the API for adding a range to a particular named group when the caller is not sure if that group already exists.  It would be useful to see an example of that in the explainer -- I suspect it's a bit difficult and could be improved, but I'm not sure.

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4307#issuecomment-531543832 using your GitHub account

Received on Sunday, 15 September 2019 07:56:35 UTC