Changeset 205555 in webkit
- Timestamp:
- Sep 7, 2016 10:24:14 AM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r205554 r205555 1 2016-09-07 Devin Rousso <dcrousso+webkit@gmail.com> 2 3 Web Inspector: clicking Computed Styles sidebar "Show All" checkbox doesn't trigger relayout of Properties section 4 https://bugs.webkit.org/show_bug.cgi?id=161652 5 6 Reviewed by Brian Burg. 7 8 * UserInterface/Views/CSSStyleDeclarationTextEditor.js: 9 (WebInspector.CSSStyleDeclarationTextEditor.prototype._iterateOverProperties): 10 Fixed style issues from r205518 <webkit.org/b/161405>. 11 12 * UserInterface/Views/ComputedStyleDetailsPanel.js: 13 (WebInspector.ComputedStyleDetailsPanel.prototype.get regionFlow): 14 (WebInspector.ComputedStyleDetailsPanel.prototype.get contentFlow): 15 (WebInspector.ComputedStyleDetailsPanel.prototype.get containerRegions): 16 Added missing space between semicolon and curly-brace. 17 18 (WebInspector.ComputedStyleDetailsPanel.prototype._computedStyleShowAllCheckboxValueChanged): 19 Added updateLayout call to resize and repopulate the CodeMirror instance. 20 1 21 2016-09-07 Chris Dumez <cdumez@apple.com> 2 22 -
trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.js
r205518 r205555 1220 1220 1221 1221 break; 1222 1223 case WebInspector.CSSStyleDeclarationTextEditor.PropertyVisibilityMode.ShowAll: 1224 break; 1225 1226 default: 1227 console.error("Invalid property visibility mode"); 1228 break; 1222 1229 } 1223 1230 … … 1228 1235 properties = properties.filter(filterFunction); 1229 1236 if (this._sortProperties) 1230 1237 properties.sort((a, b) => a.name.localeCompare(b.name)); 1231 1238 1232 1239 this._shownProperties = properties; -
trunk/Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.js
r205518 r205555 37 37 // Public 38 38 39 get regionFlow() { return this._regionFlow; }39 get regionFlow() { return this._regionFlow; } 40 40 set regionFlow(regionFlow) 41 41 { … … 46 46 } 47 47 48 get contentFlow() { return this._contentFlow; }48 get contentFlow() { return this._contentFlow; } 49 49 set contentFlow(contentFlow) 50 50 { … … 55 55 } 56 56 57 get containerRegions() { return this._containerRegions; }57 get containerRegions() { return this._containerRegions; } 58 58 set containerRegions(regions) 59 59 { … … 225 225 _computedStyleShowAllCheckboxValueChanged(event) 226 226 { 227 varchecked = this._computedStyleShowAllCheckbox.checked;227 let checked = this._computedStyleShowAllCheckbox.checked; 228 228 this._computedStyleShowAllSetting.value = checked; 229 229 this._propertiesTextEditor.showsImplicitProperties = checked; 230 this._propertiesTextEditor.updateLayout(); 230 231 } 231 232
Note: See TracChangeset
for help on using the changeset viewer.