Re: [css-houdini-drafts] [css-properties-values-api] @property in shadow trees (#846)

`CSS.registerProperty()` is allowed inside of shadows, and produces a global registration, which suggests that we should allow @property, and have it similarly produce a global registration (with all the clashing pain that implies).

That said, it would require us to define a stylesheet ordering of shadow stylesheets relative to the rest of the page. That seems complicated; I'm pretty sure we've avoided it so far?

I'm inclined to just disallow it, at least for now. If you're using shadow DOM, you're running script, right now; you can just call `CSS.registerProperty()`.

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

Received on Monday, 22 July 2019 23:58:32 UTC