Re: [css-houdini-drafts] [css-properties-values-api] Should property registration be scoped? (#939)

Like other features that would benefit from scoping (`@keyframes`, `@font-face`, ...) it's not clear how they should behave when the scopes interact.  I don't have any bright ideas yet, but a few questions off the top of my head:

If limited to a shadow scope:

* What happens when the property inherits from one scope into another, and the registration details change between scopes?
* What does it mean to use constructable style sheets, where the one `CSSStyleSheet` object could be inserted into multiple shadow trees, and the registration differs between shadow trees?

If limited to a style sheet:

* Does this mean that you can't use that custom property in `style=""` attributes?
* What if there are two style sheets that use different registrations, but whose rules apply to the same element?

-- 
GitHub Notification of comment by heycam
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/939#issuecomment-531053088 using your GitHub account

Received on Friday, 13 September 2019 00:14:27 UTC