Changeset 275545 in webkit
- Timestamp:
- Apr 6, 2021 1:26:30 PM (16 months ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/LayoutDetailsSidebarPanel.js (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r275493 r275545 1 2021-04-06 BJ Burg <bburg@apple.com> 2 3 Web Inspector: remove duplicate Box Model section from Layout panel in Elements Tab 4 https://bugs.webkit.org/show_bug.cgi?id=224206 5 <rdar://problem/76235731> 6 7 Reviewed by Devin Rousso. 8 9 For now, remove it from Layout panel. It may go back there 10 when it is able to show used values. It currently only shows computed. 11 12 * UserInterface/Views/LayoutDetailsSidebarPanel.js: 13 (WI.LayoutDetailsSidebarPanel.prototype.initialLayout): 14 (WI.LayoutDetailsSidebarPanel.prototype.layout): 15 (WI.LayoutDetailsSidebarPanel.prototype.get minimumWidth): Deleted. 16 1 17 2021-04-06 Razvan Caliman <rcaliman@apple.com> 2 18 -
trunk/Source/WebInspectorUI/UserInterface/Views/LayoutDetailsSidebarPanel.js
r272934 r275545 36 36 37 37 // Public 38 39 get minimumWidth()40 {41 return this._boxModelDiagramRow?.minimumWidth ?? 0;42 }43 38 44 39 inspect(objects) … … 103 98 initialLayout() 104 99 { 105 this._boxModelDiagramRow = new WI.BoxModelDetailsSectionRow;106 let boxModelGroup = new WI.DetailsSectionGroup([this._boxModelDiagramRow]);107 let boxModelSection = new WI.DetailsSection("layout-box-model", WI.UIString("Box Model"), [boxModelGroup]);108 this.contentView.element.appendChild(boxModelSection.element);109 110 100 this._gridDetailsSectionRow = new WI.DetailsSectionRow(WI.UIString("No CSS Grid Contexts", "No CSS Grid Contexts @ Layout Details Sidebar Panel", "Message shown when there are no CSS Grid contexts on the inspected page.")); 111 101 let gridGroup = new WI.DetailsSectionGroup([this._gridDetailsSectionRow]); … … 135 125 this._gridSection.gridNodeSet = this._gridNodeSet; 136 126 } 137 138 if (this._boxModelDiagramRow.nodeStyles !== this._nodeStyles)139 this._boxModelDiagramRow.nodeStyles = this._nodeStyles;140 127 } 141 128
Note: See TracChangeset
for help on using the changeset viewer.