- From: BronislavKlucka <notifications@github.com>
- Date: Tue, 17 Jan 2017 13:40:52 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 17 January 2017 21:41:30 UTC
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