Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Starred by 3 users
Status: Fixed
Owner:
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment
DevTools: allow expanding all child elements in the elements panel
Reported by zac.spit...@gmail.com, Feb 29 2016 Back to list
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/48.0.2564.116 Safari/537.36

Steps to reproduce the problem:
1. open dev tools elements panel
2. start expanding dom nodes
3. keep expanding dom nodes
4. keep expanding dom nodes
5. keep expanding dom nodes

What is the expected behavior?
It would be very useful to allow expanding nodes in the elements panel, either a just sub set or the whole document (like with to view source)

What went wrong?
you can only expand manually node by node

Did this work before? N/A 

Chrome version: 48.0.2564.116  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: Shockwave Flash 20.0 r0
 
an answer via twitter:

Alt+<right arrow>, or Alt+<click expand> to expand recursively.
https://twitter.com/samdotli/status/704172992775884800

Can this be added to the context menu so it's discoverable?
Comment 2 by samli@chromium.org, Mar 1 2016
Labels: -OS-Windows -Type-Bug Type-Feature OS-All
Owner: paulir...@chromium.org
Status: Assigned
Cc: paulir...@chromium.org
Owner: l...@chromium.org
Yes context menu seems perfect for this. Good call.
Comment 4 by l...@chromium.org, May 20 2016
Status: Started
https://codereview.chromium.org/1998723003/

Do you think the labels "Expand subtree"/"Collapse subtree" make sense for recursive actions?

Would it make sense for:
- Expand can always visible, even if node's subtree is partially or fully expanded
- Collapse to be visible only when node is partially or fully expanded
Project Member Comment 5 by bugdroid1@chromium.org, May 21 2016
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6611f953abf0bbd3d92032b1adc3ca54380b845f

commit 6611f953abf0bbd3d92032b1adc3ca54380b845f
Author: luoe <luoe@chromium.org>
Date: Sat May 21 01:55:16 2016

DevTools: add expand/collapse-subtree to context menu for DOM elements

BUG= 590633 

Review-Url: https://codereview.chromium.org/1998723003
Cr-Commit-Position: refs/heads/master@{#395226}

[modify] https://crrev.com/6611f953abf0bbd3d92032b1adc3ca54380b845f/third_party/WebKit/Source/devtools/front_end/elements/ElementsTreeElement.js

Comment 6 by l...@chromium.org, May 23 2016
Status: Fixed
Sign in to add a comment