WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
92192
[Shadow DOM] descendant selector doesn't work across shadow boundaries.
https://bugs.webkit.org/show_bug.cgi?id=92192
Summary
[Shadow DOM] descendant selector doesn't work across shadow boundaries.
Hajime Morrita
Reported
2012-07-24 18:49:06 PDT
If an ascent is in light DOM and descendant is in shadow, descendant selector doesn't work.
Attachments
Add attachment
proposed patch, testcase, etc.
Hajime Morrita
Comment 1
2012-07-24 19:18:21 PDT
***
Bug 89169
has been marked as a duplicate of this bug. ***
Shinya Kawanaka
Comment 2
2012-07-24 22:36:50 PDT
I'm not sure this is a desired behavior. I believe this is sometimes useful though...
Dominic Cooney
Comment 3
2013-01-07 23:24:11 PST
The spec is quite specific on this point: <
http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#styles
> "Even when the apply-author-styles is set, the selectors still must not cross the shadow boundary per scoping constraints. In other words, with apply-author-styles set, the document CSS rules only match wholly inside or outside of the shadow tree." This is the wrong forum for a spec bug; it should be taken up in the W3C.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug