[Webkit-unassigned] [Bug 89061] applyAuthorStyles makes rules declared in all enclosing shadow dom subtrees applicable.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 20 00:22:43 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=89061





--- Comment #23 from Takashi Sakamoto <tasak at google.com>  2012-06-20 00:22:39 PST ---
(In reply to comment #21)
> (In reply to comment #20)
> > (From update of attachment 148489 [details] [details])
> > I'm sorry. I found one mistake. I have to use setupScopeStack(m_parentNode) in matchScopedAuthorRules. The current patch doesn't satisfy the spec:
> > 
> > - the styles of the insertion point node are inherited by those child nodes of the shadow host that are assigned to this insertion point
> > (http://www.w3.org/TR/shadow-dom/#styles)
> > 
> > I will fix soon.
> > 
> > Best regards,
> > Takashi Sakamoto
> 
> I'm sorry. As <content> or shadow root styles are not inherited by distributed nodes, I was afraid that the bug was created by this patch. 

I wrote a wrong thing. Shadow root doesn't need (and doesn't have) any styles.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list