Re: [w3c/webcomponents] Support Custom Pseudo-elements (#300)

hi

(1) Are shadow-pseudos more like classes or IDs?
>
> I think they should act exactly like ids.
>
> invalid:
>
> <div  pseudo="foo bar"></div>
>
> invalid:
>
> <div  pseudo="foo"></div>
> <div  pseudo="foo"></div>
>
they should work as classes, they do not represent parts, but states 
also, consider Tree View control,
node could be unselected/selected, unfocused/focused, 
collapsed/expanded... each state could have different display. And you 
want combination of those displays
Pseudo should actually reflect classList (DOMTokenList) and behave 
exactly like it.

Brona


-- 
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/300#issuecomment-273308765

Received on Tuesday, 17 January 2017 21:41:30 UTC