Re: [csswg-drafts] [css-scoping] Handling global name-defining constructs in shadow trees

Oh, fwiw I totally agree.

I have WIP patches to switch to WebKit's approach here: https://bugzilla.mozilla.org/show_bug.cgi?id=1458192, with tests at https://bugzilla.mozilla.org/show_bug.cgi?id=1458189.

Note that WebKit breaks when inheriting across components. Getting that right is a bit more complex. That's why for now I landed a Blink-like approach. As soon as the spec authors confirm that the intention of the spec is to do what WebKit does, or at least confirm that what Blink does is not the intent of the spec, I can put them up for review and land them in Firefox. But until then I don't think it's worth complicating the code if the spec is going to change substantively.

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

Received on Tuesday, 1 May 2018 13:33:51 UTC