Re: [csswg-drafts] [css-selectors] Reference selectors (#3714)

> Why not? I would think $foo > .thing would be a useful thing to do.

Think of references as like inline styles, but parsed once even if the same rules are used on multiple elements. Inline styles can't style descendants.

-- 
GitHub Notification of comment by justinfagnani
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3714#issuecomment-474122132 using your GitHub account

Received on Monday, 18 March 2019 22:14:35 UTC