-
Notifications
You must be signed in to change notification settings - Fork 683
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[cssom] [css-scoping] Stylesheet title and Shadow DOM #2646
Comments
Looks like WebKit's behavior is intentional, given that the selected and preferred name lives in So I'll implement out of simplicity Blink's behavior, but happy to change to whatever the WG decides. |
cc @tabatkins, in case you have any opinion on this. |
I have no particular opinion, as I've never used |
This was previously discussed at WICG/webcomponents#391 I guess we had a consensus that style element inside a shadow tree shouldn't affect the preferred stylesheet of the document, we didn't agree on whether |
@rniwa I think we agreed on that in WICG/webcomponents#535 for which the spec edit was made. |
Ok, sounds like we just have a bug in WebKit then. It appears that this is already addressed by whatwg/html#1675 ? Perhaps CSS OM spec should have a note referring there. |
Yeah, agreed this is not a lack of definition. Probably the SVG spec should also say the same. In any case, I'll leave this open to add a note to CSSOM. |
I'm adding WPTs for this in https://bugzilla.mozilla.org/show_bug.cgi?id=1447009, fwiw. |
See the following test-case:
For this very simple test-case:
Blink also doesn't set the stylesheet
title
property. @lilles is there any reasoning for that? Looks like a bug to me.cc @rniwa
The text was updated successfully, but these errors were encountered: