Changeset 183786 in webkit


Ignore:
Timestamp:
May 4, 2015 6:00:49 PM (9 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: Always expand initial top level DOM tree nodes when not including the root (frame views)
https://bugs.webkit.org/show_bug.cgi?id=144607

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2015-05-04
Reviewed by Timothy Hatcher.

  • UserInterface/Views/DOMTreeOutline.js:

(WebInspector.DOMTreeOutline.prototype.update):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r183768 r183786  
     12015-05-04  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: Always expand initial top level DOM tree nodes when not including the root (frame views)
     4        https://bugs.webkit.org/show_bug.cgi?id=144607
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * UserInterface/Views/DOMTreeOutline.js:
     9        (WebInspector.DOMTreeOutline.prototype.update):
     10
    1112015-05-04  Timothy Hatcher  <timothy@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.js

    r182990 r183786  
    175175                this.appendChild(treeElement);
    176176                node = node.nextSibling;
     177               
     178                if (treeElement.hasChildren && !treeElement.expanded)
     179                    treeElement.expand();
    177180            }
    178181        }
Note: See TracChangeset for help on using the changeset viewer.