[Webkit-unassigned] [Bug 89061] applyAuthorStyles doesn't make rules declared in enclosing shadow dom subtrees applicable.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 13 22:28:04 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=89061
--- Comment #1 from Takashi Sakamoto <tasak at google.com> 2012-06-13 22:28:03 PST ---
(In reply to comment #0)
> However, currently apply-author-styles changes whether rules declared in document is applicable in a shadow dom subtree or not.
This is not correct. Current implementation applies rules declared in enclosing shadow dom subtrees independent of apply-author-styles' chain. I mean:
- There are 3 shadow dom subtrees, A, B and C: shadow dom tree A ----> shadow dom tree B ---> shadow dom tree C.
- A encloses B.
- B encloses C.
- C's apply-author-styles is set.
- A and B's apply-author-styles is not set.
All rules declared in A and B are applicable in C.
But, in this case, rules declared in B should be applicable in C. Rules declared in A should not be applicable.
--
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