Using the build from http://hg.mozilla.org/integration/fx-team/rev/844da7b047d2
1) Go to about:home
2) Open the Inspector
3) Double-click on the tagName for <body>
4) Change the tag name to <div>
The markup for the page is still visible
The tree node for the body collapses and I can't find a way to expand the markup tree.
Created attachment 655179 [details] [diff] [review]
This patch propagates the selection and expandedness to the new container after a tag rename. Also fixes a console warning when iframes are loaded when not visible in the markup panel.
Created attachment 655322 [details] [diff] [review]
This version uses navigate() instead of selectNode() so that the highlighter will point at the new version of the element too.