WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
130302
Web Inspector: AXI: AX Children exposes Shadow DOM nodes even when shadow DOM display is not enabled.
https://bugs.webkit.org/show_bug.cgi?id=130302
Summary
Web Inspector: AXI: AX Children exposes Shadow DOM nodes even when shadow DOM...
James Craig
Reported
2014-03-16 01:38:21 PDT
Created
attachment 226837
[details]
screen shot lists child div of <input> when shadow DOM display is not toggled Web Inspector: AXI: AX Children exposes Shadow DOM nodes even when shadow DOM display is not enabled. Not yet sure if this is "right" or "wrong" but if we display this, we should probably make it more clear what's happening. Otherwise we should only display shadow DOM AX children when the shadow DOM display is enabled. See screen shot.
Attachments
screen shot lists child div of <input> when shadow DOM display is not toggled
(172.77 KB, image/png)
2014-03-16 01:38 PDT
,
James Craig
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
James Craig
Comment 1
2014-03-16 01:41:52 PDT
<
rdar://problem/16337244
>
Joseph Pecoraro
Comment 2
2014-03-17 11:00:43 PDT
Good find. There is WebInspector.showShadowDOMSetting.value and node.isInShadowTree(). So you can choose to hide shadow nodes in the sidebar if the shadow DOM is not shown. You can also add an event listener on the setting, to update the UI if the show shadow dom setting toggles: WebInspector.showShadowDOMSetting.addEventListener(WebInspector.Setting.Event.Changed, callback, thisObject);
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug