<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Elements tab details sidebar becomes non-expandable after using Console tab"
   href="https://bugs.webkit.org/show_bug.cgi?id=144212#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Web Inspector: Elements tab details sidebar becomes non-expandable after using Console tab"
   href="https://bugs.webkit.org/show_bug.cgi?id=144212">bug 144212</a>
              from <span class="vcard"><a class="email" href="mailto:joepeck&#64;webkit.org" title="Joseph Pecoraro &lt;joepeck&#64;webkit.org&gt;"> <span class="fn">Joseph Pecoraro</span></a>
</span></b>
        <pre>Well this is very weird.

DOMTreeContentView selected node changes trigger the right things. However, during the last of these events, the DOMTreeOutline.selectedTreeElement is null, which of course leads to what we have.

The DOMTreeContentView updates the selected node multiples times, ending up with:

  - &lt;html&gt; (root node?)
  - null (removing all nodes)
  - &lt;body&gt; (restoring selection)

But in the process of revealAndSelect for &lt;body&gt; it fails to create a tree element for it. It looks like during creation it walks up the DOMNode hierarchy, trying to find a DOMTreeElement parent (which should be the DOMTreeElement for the &lt;html&gt; node) and doesn't find one, so it doesn't create a tree element.

I don't know what is different here.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>