[Webkit-unassigned] [Bug 157928] New: attachShadow doesn't respect the whitelist on elements

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 19 16:05:53 PDT 2016


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

            Bug ID: 157928
           Summary: attachShadow doesn't respect the whitelist on elements
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: esprehn at chromium.org
                CC: cdumez at apple.com

per spec only a whitelist of elements are allowed to have a shadow attached, WebKit allows it for anything that doesn't have a UA shadow like <body> though.

Spec:
http://w3c.github.io/webcomponents/spec/shadow/#widl-Element-attachShadow-ShadowRoot-ShadowRootInit-shadowRootInitDict

Code:
http://trac.webkit.org/browser/trunk/Source/WebCore/dom/Element.cpp#L1686

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160519/7c8722c4/attachment.html>


More information about the webkit-unassigned mailing list