Re: [csswg-drafts] [css-variables] Add User Agent properties and constant()

3a) Alternately, make the JS API hang off of individual stylesheets, and have it be just a shorthand for adding/removing/mutating the rules directly.  Then precedence is automatic - you're just adding a rule to a given stylesheet, and the standard "later stylesheets win" rule comes into effect.  This is less convenient for authors, tho - you need to figure out which stylesheet a given constant is coming from if you want to manipulate it.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/1817#issuecomment-329909481 using your GitHub account

Received on Friday, 15 September 2017 21:34:00 UTC