RESOLVED FIXED 167924
Web Inspector: DOMTreeOutline becomes collapsed after switching back to Elements tab
https://bugs.webkit.org/show_bug.cgi?id=167924
Summary Web Inspector: DOMTreeOutline becomes collapsed after switching back to Eleme...
Matt Baker
Reported 2017-02-06 22:32:30 PST
DOMTreeOutline refreshed twice when showing Elements tab
Attachments
[Video] bug (345.35 KB, video/mp4)
2017-02-06 22:42 PST, Matt Baker
no flags
Patch (2.62 KB, patch)
2017-02-06 22:58 PST, Matt Baker
no flags
Matt Baker
Comment 1 2017-02-06 22:41:54 PST
(In reply to comment #0) > DOMTreeOutline refreshed twice when showing Elements tab Summary: DOMTreeOutline becomes collapsed after switching back to Elements tab. Steps to Reproduce: 1. Inspect any page 2. Select <head>, and expand <body> 3. Switch to another tab 4. Switch back to Elements tab => <body> is collapsed, should be expanded Note: It looks like DOMTreeOutline is being refreshed twice when the Elements tab is shown. During the second (unnecessary) rebuilding of the tree the expanded state is lost.
Matt Baker
Comment 2 2017-02-06 22:42:51 PST
Created attachment 300793 [details] [Video] bug
Matt Baker
Comment 3 2017-02-06 22:58:41 PST
Blaze Burg
Comment 4 2017-02-07 11:44:41 PST
Comment on attachment 300794 [details] Patch r=me
WebKit Commit Bot
Comment 5 2017-02-07 12:10:59 PST
Comment on attachment 300794 [details] Patch Clearing flags on attachment: 300794 Committed r211829: <http://trac.webkit.org/changeset/211829>
WebKit Commit Bot
Comment 6 2017-02-07 12:11:03 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.