Changeset 252799 in webkit
- Timestamp:
- Nov 22, 2019 1:58:08 PM (4 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r252790 r252799 1 2019-11-22 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION(r251227): dashboard no longer shows page weight 4 https://bugs.webkit.org/show_bug.cgi?id=204528 5 6 Reviewed by Brian Burg. 7 8 `WI.contentLoaded` adds the debuggable type as a class to the `<body>`. In r251227, the 9 "web" debuggable type was split into "page" and "web-page". Update the few selectors that 10 used the debuggable type to show/hide parts of the UI. 11 12 * UserInterface/Views/DashboardContainerView.css: 13 (body:matches(.page, .web-page) .toolbar .dashboard-container): Added. 14 (body:not(.page, .web-page) .toolbar .dashboard-container): Added. 15 (body.web .toolbar .dashboard-container): Deleted. 16 (body:not(.web) .toolbar .dashboard-container): Deleted. 17 * UserInterface/Views/DefaultDashboardView.css: 18 (body:matches(.page, .web-page) .toolbar.collapsed .dashboard.default > :matches(.resourcesSize, .time, .logs)): Added. 19 (body:not(.page, .web-page) .toolbar .dashboard.default > :matches(.resourcesCount, .resourcesSize, .time)): Added. 20 (body.web .toolbar.collapsed .dashboard.default > :matches(.resourcesSize, .time, .logs)): Deleted. 21 (body:not(.web) .toolbar .dashboard.default > :matches(.resourcesCount, .resourcesSize, .time)): Deleted. 22 1 23 2019-11-20 Brian Burg <bburg@apple.com> 2 24 -
trunk/Source/WebInspectorUI/UserInterface/Views/DashboardContainerView.css
r242768 r252799 33 33 } 34 34 35 body .web.toolbar .dashboard-container {35 body:matches(.page, .web-page) .toolbar .dashboard-container { 36 36 width: 36vw; 37 37 min-width: 350px; 38 38 } 39 39 40 body:not(. web) .toolbar .dashboard-container {40 body:not(.page, .web-page) .toolbar .dashboard-container { 41 41 width: 25vw; 42 42 min-width: 175px; -
trunk/Source/WebInspectorUI/UserInterface/Views/DefaultDashboardView.css
r246724 r252799 24 24 */ 25 25 26 body .web.toolbar.collapsed .dashboard.default > :matches(.resourcesSize, .time, .logs) {26 body:matches(.page, .web-page) .toolbar.collapsed .dashboard.default > :matches(.resourcesSize, .time, .logs) { 27 27 display: none; 28 28 } 29 29 30 body:not(. web) .toolbar .dashboard.default > :matches(.resourcesCount, .resourcesSize, .time) {30 body:not(.page, .web-page) .toolbar .dashboard.default > :matches(.resourcesCount, .resourcesSize, .time) { 31 31 display: none; 32 32 }
Note: See TracChangeset
for help on using the changeset viewer.