| Summary: | Web Inspector: Search in Element tab should match elements in closed Shadow DOM | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Guan-tin Chien [:timdream] <timdream> | ||||
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | NEW --- | ||||||
| Severity: | Normal | CC: | inspector-bugzilla-changes, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | Safari Technology Preview | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 416732 [details] 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.