[Webkit-unassigned] [Bug 202218] New: Web Inspector: "Toggle Visibility" does not work for element inside Shadow DOM

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 25 11:55:37 PDT 2019


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

            Bug ID: 202218
           Summary: Web Inspector: "Toggle Visibility" does not work for
                    element inside Shadow DOM
           Product: WebKit
           Version: Other
          Hardware: Macintosh
                OS: macOS 10.13
            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

STR:

1. Load this URL which insert an open shadow root under <body>

data:text/html,<script>window.onload%20=%20()%20=>%20{%20sr%20=%20document.body.attachShadow({mode:%20"open"});%20sr.innerHTML%20=%20"<div>Hello</div>";%20}</script>

2. Inspect the element containing the word "Hello"
3. Right click and select "Toggle Visibility

Expected:

1. The element is hidden

Actual:

1. The element is not hidden.

Note:

Happens to me on Safari 13 (Version 13.0.1 (14608.2.11.1.11))
You will not be able to repro this bug on STP 92 because of bug 202217.

-- 
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/20190925/9f622f23/attachment-0001.html>


More information about the webkit-unassigned mailing list