[Webkit-unassigned] [Bug 197726] New: <main> not supported attachShadow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 8 16:32:35 PDT 2019


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

            Bug ID: 197726
           Summary: <main> not supported attachShadow
           Product: WebKit
           Version: Safari 12
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: steven at sklambert.com

When trying to call `attachShadow` on a `<main>` element, Safari v12.1 and Safari Technology Preview throw an error: `NotSupportedError: The operation is not supported` even though `<main>` is a valid `attachShadow` target (https://dom.spec.whatwg.org/#dom-element-attachshadow).

Test case: https://codepen.io/straker/pen/eapxaw

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190508/8dc7ed34/attachment.html>


More information about the webkit-unassigned mailing list