Closed Bug 1090378 Opened 10 years ago Closed 10 years ago

"Expand all" expands empty elements, with no way to recollapse them

Categories

(DevTools :: Inspector, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 892935

People

(Reporter: bzbarsky, Unassigned)

Details

STEPS TO REPRODUCE:
1)  Load "data:text/html,<div>".
2)  Open the devtools inspector.
3)  Collapse the <html> node.
4)  Option-click (on Mac; not sure what the right shortcut is elsewhere) the
    disclosure triangle next to the <html> node to expand out the entire tree.

ACTUAL RESULTS: The tree looks like this:

  <html>
    <head>
    </head>
    <body>
      <div>
      </div>
    </body>
  </html>

with no way to recollapse the empty <head> or <div>.

EXPECTED RESULTS: A tree looking like this:

  <html>
    <head></head>
    <body>
      <div></div>
    </body>
  </html>

with the nodes that have no disclosure triangles not taking up two lines.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.