[Webkit-unassigned] [Bug 220132] New: Web Inspector: Search in Element tab should match elements in closed Shadow DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 23 16:37:04 PST 2020


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

            Bug ID: 220132
           Summary: Web Inspector: Search in Element tab should match
                    elements in closed Shadow DOM
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: timdream at gmail.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 416732

  --> https://bugs.webkit.org/attachment.cgi?id=416732&action=review

only matches <script>

STR:

1. Load this URL, which creates a closed Shadow DOM with a <span>

data:text/html,<script>window.onload = () => { let sr = document.body.attachShadow({mode: "closed"}); sr.innerHTML = "<span class=match>match me</span>";</script>

2. Open element inspector, click on <head>
3. Cmd+F and type "match"

Expected:

1. There should be two matches, <script> and the <span> in the closed Shadow DOM.

Actual:

1. It only matches <script> in the document DOM.

Note:

STP 116.

-- 
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/20201224/cb7a720f/attachment.htm>


More information about the webkit-unassigned mailing list