W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2019

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

From: Justin Fagnani via GitHub <sysbot+gh@w3.org>
Date: Mon, 18 Mar 2019 22:14:33 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-474122132-1552947272-sysbot+gh@w3.org>
> 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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:45 UTC