Re: [w3c/webcomponents] Add a CSS subtype selector. (#719)

https://github.com/whatwg/html/issues/83 contains a proposal for a `:heading(level)` pseudo-class. I think what's useful there is a little different from an interface-based selector though.

I'm not entirely sure how interface-based selectors would work though. I could imagine using https://github.com/heycam/webidl/issues/97, but that won't be as useful for custom elements, though I suppose we can make it work somehow. (Note that we cannot directly poke at JavaScript, it'll have to be some value(s) that cannot ever change that selectors can match against.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/719#issuecomment-366505292

Received on Sunday, 18 February 2018 10:10:33 UTC