RESOLVED DUPLICATE of bug 111281 112590
[Shadow]: @host rules applied to nodes without a shadowRoot
https://bugs.webkit.org/show_bug.cgi?id=112590
Summary [Shadow]: @host rules applied to nodes without a shadowRoot
Steve Orvell
Reported 2013-03-18 10:14:32 PDT
Created attachment 193592 [details] reduction An @host rule can match a node without a shadowRoot. This behavior violates the shadowDOM spec which says, "The declarations of the rules in a @host @-rule must only be matched against the shadow host of the shadow tree in which the style is specified..." (https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#host-at-rule). If a div is given a shadowRoot containing an @host rule that uses the * selector specifying a set of styles, that div and all subsequent divs will have the specified set of styles applied. According to the spec, only the div with the shadowRoot should have the @host styling applied to it.
Attachments
reduction (735 bytes, text/html)
2013-03-18 10:14 PDT, Steve Orvell
no flags
Takashi Sakamoto
Comment 1 2013-03-18 18:37:46 PDT
*** This bug has been marked as a duplicate of bug 111281 ***
Note You need to log in before you can comment on or make changes to this bug.