RESOLVED FIXED152014
Web Inspector: Add a hidden property to TreeOutline
https://bugs.webkit.org/show_bug.cgi?id=152014
Summary Web Inspector: Add a hidden property to TreeOutline
Matt Baker
Reported 2015-12-08 14:22:18 PST
* SUMMARY Add a hidden property to TreeOutline. Currently it's stored in the DOM only, in the form of a CSS class.
Attachments
[Patch] Proposed Fix (7.71 KB, patch)
2015-12-08 14:25 PST, Matt Baker
no flags
[Patch] Proposed Fix (9.87 KB, patch)
2015-12-08 15:17 PST, Matt Baker
no flags
Radar WebKit Bug Importer
Comment 1 2015-12-08 14:22:37 PST
Matt Baker
Comment 2 2015-12-08 14:25:45 PST
Created attachment 266940 [details] [Patch] Proposed Fix
Timothy Hatcher
Comment 3 2015-12-08 15:04:28 PST
Comment on attachment 266940 [details] [Patch] Proposed Fix View in context: https://bugs.webkit.org/attachment.cgi?id=266940&action=review > Source/WebInspectorUI/UserInterface/Views/TreeOutline.js:68 > + this.element.classList.toggle("hidden", this._hidden); We can actually switch to using the "hidden" property on DOM elements: this.hidden = this._hidden;
Matt Baker
Comment 4 2015-12-08 15:08:46 PST
(In reply to comment #3) > Comment on attachment 266940 [details] > [Patch] Proposed Fix > > View in context: > https://bugs.webkit.org/attachment.cgi?id=266940&action=review > > > Source/WebInspectorUI/UserInterface/Views/TreeOutline.js:68 > > + this.element.classList.toggle("hidden", this._hidden); > > We can actually switch to using the "hidden" property on DOM elements: > this.hidden = this._hidden; Neat, I'll change it and file another bug for doing a find/replace on our other uses of "hidden".
Matt Baker
Comment 5 2015-12-08 15:17:12 PST
Created attachment 266944 [details] [Patch] Proposed Fix
WebKit Commit Bot
Comment 6 2015-12-08 16:05:06 PST
Comment on attachment 266944 [details] [Patch] Proposed Fix Clearing flags on attachment: 266944 Committed r193791: <http://trac.webkit.org/changeset/193791>
WebKit Commit Bot
Comment 7 2015-12-08 16:05:09 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.