[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:13:48 PDT 2012


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





--- Comment #21 from Takashi Sakamoto <tasak at google.com>  2012-06-20 00:13:43 PST ---
(In reply to comment #20)
> (From update of attachment 148489 [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. 
However I found that this is another issue and is not caused by this patch. For searching scoped styles, I think, it is correct to looking at nodes according to DOM tree.

I'm not sure whether the inheritance bug has been already filed or not. If not, I will file the bug.

Best regards,
Takashi Sakamoto

-- 
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