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

> I understand how it works but not the why. What is the purpose of this restriction?

I think the question for me is: what is a reference a reference _to_?

In talking to @developit  in this thread and @tabatkins offline, I think to start with in this proposal these are references to `CSSStyleDeclaration`s (so I should remove the `CSSReference` opaque type from the issue).

This means that they aren't strings or selectors, and can't be combined with such.

Nesting will allow for these objects to still be `CSSStyleDeclaration`s and contain selectors, critically pseudo-class selectors.

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

Received on Tuesday, 19 March 2019 16:52:28 UTC