Re: [shadow-styling] alternative idea.

On Sat, Feb 8, 2014 at 3:37 PM, Andrew Fedoniouk
<> wrote:
> (as an alternative to this:
> Let's imagine that we have @-rule named @shadow that defines block of
> rules applied to the shadow tree of some element:
> @shadow dropdown-select {

This was actually the very first thing we tried with Shadow DOM
styling, at least two years ago.  At-rules seemed like the the most
natural context-switcher.

It ended up being *super* confusing to actually use, particularly when
you needed to switch contexts again into the <content>-distributed

Just using normal selectors ends up working way better; it just makes
more *sense* to people in practice, we've found.


Received on Monday, 10 February 2014 00:15:15 UTC