Bug 158204 - Web Inspector reports layers outside of the selected element's subtree in shadow tree
Summary: Web Inspector reports layers outside of the selected element's subtree in sha...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-30 07:32 PDT by Antoine Quint
Modified: 2016-12-13 15:34 PST (History)
2 users (show)

See Also:


Attachments
Screenshot showing an element within a shadow tree reporting child layers outside of the element's subtree (1.09 MB, image/png)
2016-05-30 07:32 PDT, Antoine Quint
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Antoine Quint 2016-05-30 07:32:49 PDT
Created attachment 280099 [details]
Screenshot showing an element within a shadow tree reporting child layers outside of the element's subtree

Steps to reproduce:

1. Open the iOS Simulator and open Safari
2. Go to http://www.apple.com/apple-events/march-2016/
3. Open the Web Inspector on OS X to inspect that page
4. Target the <video> element
5. Reveal its shadow tree
6. Drill down a bit inside that tree
7. Show the Layers sidebar

There are too many elements in that sidebar, some are outside of the subtree hierarchy of the selected element for instance, and some seem to be duplicated.
Comment 1 Radar WebKit Bug Importer 2016-05-30 07:33:20 PDT
<rdar://problem/26541812>