Bug 152014

Summary: Web Inspector: Add a hidden property to TreeOutline
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Matt Baker <mattbaker>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, timothy, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
[Patch] Proposed Fix
none
[Patch] Proposed Fix none

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.