Re: [w3c/webcomponents] Interface/class-based selector (#719)

I think if we defined [[Brand]] in IDL for platform objects that would presumably hold a list of brands. EventTarget -> Node -> Element -> HTMLElement. We could define a selector that operates on [[Brand]].

For custom elements we could maybe store something about the hierarchy when the HTMLElement constructor is invoked. Probably not in [[Brand]] but in [[CustomBrand]] or some such. We could then define the selector to operate on both.

-- 
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-367246138

Received on Wednesday, 21 February 2018 08:17:09 UTC