[Webkit-unassigned] [Bug 85863] [Shadow] Style elements in Shadow DOM should not be exposed by document.styleSheets attribute

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 23 06:12:02 PDT 2012


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


Andreas Kling <kling at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #143440|review?                     |review-
               Flag|                            |




--- Comment #3 from Andreas Kling <kling at webkit.org>  2012-05-23 06:11:05 PST ---
(From update of attachment 143440)
While I'm no shadow DOM expert, I feel that this patch needs more explanation of what's going on.

Why are we skipping over StyleElement::insertedIntoDocument/removedFromDocument? That will not only prevent document.styleSheets from exposing the sheet, but also prevent StyleElement from parsing the sheet, and StyleResolver from applying any of its style (since it gets its sheet data from there.)

Maybe <style> elements are supposed to just hang dead inside a shadow subtree?

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