Skip to content

Commit 1d847da

Browse files
[GTK][WPE] Remote Web Inspector: replace deprecated CSS method 'matches' with 'is'
https://bugs.webkit.org/show_bug.cgi?id=253180 Reviewed by Tim Nguyen. The :matches() selector was renamed to :is() in: w3c/csswg-drafts#3258 :matches() is no longer supported by some browsers (like Chromium and Firefox) and breaks Web Inspector UI in such browsers when we connect via HTTP. In case GTK/WPE WebKit, we use HTTP version of the inspector and it can be used from any browser. * Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.css: (.tree-outline .item.audit:is(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img): (body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .item.audit:is(.test-case, .test-group):not(.unsupported, .manager-active).selected:hover > .status > img,): (.tree-outline .item.audit.unsupported:not(.selected) > :is(.icon, .titles)): (@media (prefers-color-scheme: dark) .tree-outline .item.audit:is(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img): (.tree-outline .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img): Deleted. (body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active).selected:hover > .status > img,): Deleted. (.tree-outline .item.audit.unsupported:not(.selected) > :matches(.icon, .titles)): Deleted. (@media (prefers-color-scheme: dark) .tree-outline .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img): Deleted. * Source/WebInspectorUI/UserInterface/Views/BlackboxSettingsView.css: (.settings-view.blackbox > :is(p, table)): (.settings-view.blackbox > table :is(th, td).url): (.settings-view.blackbox > table :is(th, td):is(.case-sensitive, .remove-blackbox)): (.settings-view.blackbox > :matches(p, table)): Deleted. (.settings-view.blackbox > table :matches(th, td).url): Deleted. (.settings-view.blackbox > table :matches(th, td):matches(.case-sensitive, .remove-blackbox)): Deleted. * Source/WebInspectorUI/UserInterface/Views/BoxModelDetailsSectionRow.css: (.details-section .row.box-model :is(.top, .right, .bottom, .left)): (.details-section .row.box-model :is(.top, .right, .bottom, .left):not(.editing),): (.details-section .row.box-model :is(.top-left, .top-right, .bottom-right, .bottom-left)): (.details-section .row.box-model :is(.top-left, .top-right)): (.details-section .row.box-model :is(.bottom-left, .bottom-right):not(.editing)): (.details-section .row.box-model :is(.bottom-left, .bottom-right).editing): (.details-section .row.box-model :is(.top-left, .bottom-left):not(.editing)): (.details-section .row.box-model :is(.top-left, .bottom-left).editing): (.details-section .row.box-model :is(.top-right, .bottom-right):not(.editing)): (.details-section .row.box-model :is(.top-right, .bottom-right).editing): (@media (prefers-color-scheme: dark) .details-section .row.box-model:not(.hovered) .box:is(.margin, .border, .padding, .content),): (.details-section .row.box-model :matches(.top, .right, .bottom, .left)): Deleted. (.details-section .row.box-model :matches(.top, .right, .bottom, .left):not(.editing),): Deleted. (.details-section .row.box-model :matches(.top-left, .top-right, .bottom-right, .bottom-left)): Deleted. (.details-section .row.box-model :matches(.top-left, .top-right)): Deleted. (.details-section .row.box-model :matches(.bottom-left, .bottom-right):not(.editing)): Deleted. (.details-section .row.box-model :matches(.bottom-left, .bottom-right).editing): Deleted. (.details-section .row.box-model :matches(.top-left, .bottom-left):not(.editing)): Deleted. (.details-section .row.box-model :matches(.top-left, .bottom-left).editing): Deleted. (.details-section .row.box-model :matches(.top-right, .bottom-right):not(.editing)): Deleted. (.details-section .row.box-model :matches(.top-right, .bottom-right).editing): Deleted. (@media (prefers-color-scheme: dark) .details-section .row.box-model:not(.hovered) .box:matches(.margin, .border, .padding, .content),): Deleted. * Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.css: (:is(.breakpoint-action-append-button, .breakpoint-action-remove-button)): (:matches(.breakpoint-action-append-button, .breakpoint-action-remove-button)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ButtonNavigationItem.css: (.navigation-bar .item.button:not(.disabled):is(.activate.activated, .radio.selected) > .glyph): (.navigation-bar .item.button:not(.disabled):active:is(.activate.activated, .radio.selected) > .glyph): (.navigation-bar .item.button:not(.disabled):matches(.activate.activated, .radio.selected) > .glyph): Deleted. (.navigation-bar .item.button:not(.disabled):active:matches(.activate.activated, .radio.selected) > .glyph): Deleted. * Source/WebInspectorUI/UserInterface/Views/CPUTimelineView.css: (.timeline-view.cpu :is(.area-chart, .stacked-area-chart) svg > path): (.timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers): (.timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers > div): (body[dir=rtl] .timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers > div): (.timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers > div > .label): (.timeline-view.cpu :is(.area-chart, .stacked-area-chart) circle): (.timeline-view.cpu > .content > .overview > .chart > .container.stats > table :is(.filter, .filter-clear):hover): (.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) svg > path): Deleted. (.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers): Deleted. (.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers > div): Deleted. (body[dir=rtl] .timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers > div): Deleted. (.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers > div > .label): Deleted. (.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) circle): Deleted. (.timeline-view.cpu > .content > .overview > .chart > .container.stats > table :matches(.filter, .filter-clear):hover): Deleted. * Source/WebInspectorUI/UserInterface/Views/CPUUsageCombinedView.css: (.cpu-usage-combined-view > .graph,): (.cpu-usage-combined-view > :is(.details, .legend) > .name): (.cpu-usage-combined-view > :matches(.details, .legend) > .name): Deleted. * Source/WebInspectorUI/UserInterface/Views/CanvasContentView.css: (.content-view.canvas > :is(header, footer)): (.content-view.canvas > :matches(header, footer)): Deleted. * Source/WebInspectorUI/UserInterface/Views/CanvasOverviewContentView.css: (.content-view.canvas-overview > .content-view.canvas > :is(header, footer)): (.content-view.canvas-overview > .content-view.canvas > header > .titles > :is(.subtitle, .color-space),): (.content-view.canvas-overview > .content-view.canvas:is(:hover, .recording-active) > header > .navigation-bar): (.content-view.canvas-overview > .content-view.canvas > footer > .view-related-items > :is(.view-shader, .view-recording)): (.content-view.canvas-overview > .content-view.canvas > :matches(header, footer)): Deleted. (.content-view.canvas-overview > .content-view.canvas > header > .titles > :matches(.subtitle, .color-space),): Deleted. (.content-view.canvas-overview > .content-view.canvas:matches(:hover, .recording-active) > header > .navigation-bar): Deleted. (.content-view.canvas-overview > .content-view.canvas > footer > .view-related-items > :matches(.view-shader, .view-recording)): Deleted. * Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css: (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:is(.canvas-2d, .bitmaprenderer) .icon): (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:is(.webgl, .webgl2, .webgpu, .webmetal) .icon): (.sidebar > .panel.navigation.canvas:not(.has-recordings) > .filter-bar,): (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.canvas-2d, .bitmaprenderer) .icon): Deleted. (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.webgl, .webgl2, .webgpu, .webmetal) .icon): Deleted. * Source/WebInspectorUI/UserInterface/Views/CodeMirrorRegexMode.css: (.cm-s-default :is(.cm-regex-escape, .cm-regex-escape-2, .cm-regex-escape-3)): (.cm-s-default :is(.cm-regex-group, .cm-regex-lookahead)): (.cm-s-default :is(.cm-regex-literal, .cm-regex-special, .cm-regex-backreference)): (.cm-s-default :matches(.cm-regex-escape, .cm-regex-escape-2, .cm-regex-escape-3)): Deleted. (.cm-s-default :matches(.cm-regex-group, .cm-regex-lookahead)): Deleted. (.cm-s-default :matches(.cm-regex-literal, .cm-regex-special, .cm-regex-backreference)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ColorPicker.css: (.color-picker :is(.color-square, .slider)): (.color-picker :matches(.color-square, .slider)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.css: (.sidebar > .panel.details.css-style > .content > .computed > .details-section:not(.collapsed) > :is(.header, .content)): (.sidebar > .panel.details.css-style > .content > .computed > .details-section:not(.collapsed) > :matches(.header, .content)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ConsoleDrawer.css: (.console-drawer > .navigation-bar > :is(.item.button, .log-scope-bar)): (.console-drawer > .navigation-bar > :matches(.item.button, .log-scope-bar)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css: (.console-message-body > span > :is(.console-message-enclosed, .console-message-preview, .console-message-preview-divider)): (.console-image > .console-message-body > :is(hr, img)): (.console-message.expandable.expanded :is(.console-message-preview, .console-message-preview-divider):not(.inline-lossless)): (:is(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level).console-message): (:is(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level)::before): (.console-message-body > span > :matches(.console-message-enclosed, .console-message-preview, .console-message-preview-divider)): Deleted. (.console-image > .console-message-body > :matches(hr, img)): Deleted. (.console-message.expandable.expanded :matches(.console-message-preview, .console-message-preview-divider):not(.inline-lossless)): Deleted. (:matches(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level).console-message): Deleted. (:matches(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level)::before): Deleted. * Source/WebInspectorUI/UserInterface/Views/CookiePopover.css: (.popover .cookie-popover-content > table > tr > td > input:is([type="text"], [type="datetime-local"])): (.popover .cookie-popover-content > table > tr > td > input:is([type="text"], [type="datetime-local"]):is(:invalid, .invalid)): (.popover .cookie-popover-content > table > tr > td > input:matches([type="text"], [type="datetime-local"])): Deleted. (.popover .cookie-popover-content > table > tr > td > input:matches([type="text"], [type="datetime-local"]):matches(:invalid, .invalid)): Deleted. * Source/WebInspectorUI/UserInterface/Views/DOMEventsBreakdownView.css: (.dom-events-breakdown tr > :is(th, td)): (.dom-events-breakdown .graph > :is(img, .area)): (.dom-events-breakdown tr > :matches(th, td)): Deleted. (.dom-events-breakdown .graph > :matches(img, .area)): Deleted. * Source/WebInspectorUI/UserInterface/Views/DOMStorageContentView.css: (.content-view.dom-storage > .data-grid tr:is(.duplicate-key, .missing-key) td.key-column,): (.content-view.dom-storage > .data-grid:focus tr.selected:is(.duplicate-key, .missing-key) td.key-column,): (.content-view.dom-storage > .data-grid tr:matches(.duplicate-key, .missing-key) td.key-column,): Deleted. (.content-view.dom-storage > .data-grid:focus tr.selected:matches(.duplicate-key, .missing-key) td.key-column,): Deleted. * Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.css: (body:not(.window-inactive, .window-docked-inactive) .content-view.dom-tree .tree-outline.dom:focus-within li:is(.selected, .hovered) .status-image.breakpoint): (body:not(.window-inactive, .window-docked-inactive) .content-view.dom-tree .tree-outline.dom:focus-within li:is(.selected, .hovered) .status-image.breakpoint.subtree): (body:not(.window-inactive, .window-docked-inactive) .content-view.dom-tree .tree-outline.dom:focus-within li:matches(.selected, .hovered) .status-image.breakpoint): Deleted. (body:not(.window-inactive, .window-docked-inactive) .content-view.dom-tree .tree-outline.dom:focus-within li:matches(.selected, .hovered) .status-image.breakpoint.subtree): Deleted. * Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css: (.tree-outline.dom li:is(.hovered, .selected) + ol.children.expanded): (.tree-outline.dom li:matches(.hovered, .selected) + ol.children.expanded): Deleted. * Source/WebInspectorUI/UserInterface/Views/DataGrid.css: (.data-grid th:is(.sort-ascending, .sort-descending)): (.data-grid :is(th, td) > div): (.data-grid th:is(.sort-ascending, .sort-descending) > .header-cell-content:first-child): (.data-grid th:is(.sort-ascending, .sort-descending) > .header-cell-content:first-child::after): (.data-grid tr:is(.selected, :hover) .go-to-arrow): (@media (prefers-color-scheme: dark) .data-grid th:is(.sort-ascending, .sort-descending) > .header-cell-content:first-child::after): (.data-grid th:matches(.sort-ascending, .sort-descending)): Deleted. (.data-grid :matches(th, td) > div): Deleted. (.data-grid th:matches(.sort-ascending, .sort-descending) > .header-cell-content:first-child): Deleted. (.data-grid th:matches(.sort-ascending, .sort-descending) > .header-cell-content:first-child::after): Deleted. (.data-grid tr:matches(.selected, :hover) .go-to-arrow): Deleted. (@media (prefers-color-scheme: dark) .data-grid th:matches(.sort-ascending, .sort-descending) > .header-cell-content:first-child::after): Deleted. * Source/WebInspectorUI/UserInterface/Views/DatabaseContentView.css: (:is(.database-user-query, .database-query-result)::before): (:matches(.database-user-query, .database-query-result)::before): Deleted. * Source/WebInspectorUI/UserInterface/Views/DetailsSection.css: (.details-section > .content > .group > .row:is(.empty, .text)): (.details-section > .content > .group > .row:matches(.empty, .text)): Deleted. * Source/WebInspectorUI/UserInterface/Views/FilterBar.css: (:is(.filter-bar, .search-bar) > input[type="search"]): (:is(.filter-bar, .search-bar) > input[type="search"]:is(:focus, :not(:placeholder-shown))): (:is(.filter-bar, .search-bar) > input[type="search"]::-webkit-search-decoration): (:is(.filter-bar, .search-bar) > input[type="search"]::-webkit-search-results-button): (:is(.filter-bar, .search-bar) > input[type="search"]::placeholder): (:is(.filter-bar, .search-bar) > input[type="search"]:is(:not(:focus), :placeholder-shown)::-webkit-search-cancel-button): (:is(.filter-bar, .search-bar) > .navigation-bar + input[type="search"]): (:is(.filter-bar, .search-bar) > input[type="search"]:focus): (:is(.filter-bar, .search-bar) > input[type="search"] + :empty): (:is(.filter-bar, .search-bar) > input[type="search"]:focus ~ *): (:is(.filter-bar, .search-bar) > input[type="search"] + .navigation-bar > .item.scope-bar:last-child): (:is(.filter-bar, .search-bar).invalid > input[type="search"]): (:matches(.filter-bar, .search-bar) > input[type="search"]): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]:matches(:focus, :not(:placeholder-shown))): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]::-webkit-search-decoration): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]::-webkit-search-results-button): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]::placeholder): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]:matches(:not(:focus), :placeholder-shown)::-webkit-search-cancel-button): Deleted. (:matches(.filter-bar, .search-bar) > .navigation-bar + input[type="search"]): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]:focus): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"] + :empty): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"]:focus ~ *): Deleted. (:matches(.filter-bar, .search-bar) > input[type="search"] + .navigation-bar > .item.scope-bar:last-child): Deleted. (:matches(.filter-bar, .search-bar).invalid > input[type="search"]): Deleted. * Source/WebInspectorUI/UserInterface/Views/FindBanner.css: (.no-find-banner-transition:is(.find-banner, .supports-find-banner)): (.find-banner.console-find-banner > :is(input[type="search"], button)): (.no-find-banner-transition:matches(.find-banner, .supports-find-banner)): Deleted. (.find-banner.console-find-banner > :matches(input[type="search"], button)): Deleted. * Source/WebInspectorUI/UserInterface/Views/FontResourceContentView.css: (.content-view.resource.font > :is(.local-resource-override-label-view, .local-resource-override-warning-view):not([hidden]) ~ .drop-zone): (.content-view.resource.font > :matches(.local-resource-override-label-view, .local-resource-override-warning-view):not([hidden]) ~ .drop-zone): Deleted. * Source/WebInspectorUI/UserInterface/Views/FormattedValue.css: (:is(.formatted-array, .formatted-map, .formatted-set, .formatted-weakmap, .formatted-weakset) > .size): (:matches(.formatted-array, .formatted-map, .formatted-set, .formatted-weakmap, .formatted-weakset) > .size): Deleted. * Source/WebInspectorUI/UserInterface/Views/GeneralStyleDetailsSidebarPanel.css: (.sidebar > .panel.details.css-style > .content ~ .class-list-container > *:is(.new-class, .class-toggle)): (.sidebar > .panel.details.css-style > .content ~ .class-list-container > *:matches(.new-class, .class-toggle)): Deleted. * Source/WebInspectorUI/UserInterface/Views/GradientSlider.css: (.gradient-slider-knob > :is(img, div)): (.gradient-slider-knob > :matches(img, div)): Deleted. * Source/WebInspectorUI/UserInterface/Views/GraphicsTabContentView.css: (.content-view.tab.graphics .navigation-bar > .item .canvas:is(.webgl, .webgl2, .webgpu, .webmetal) .icon): (.content-view.tab.graphics .navigation-bar > .item .canvas:matches(.webgl, .webgl2, .webgpu, .webmetal) .icon): Deleted. * Source/WebInspectorUI/UserInterface/Views/HeapSnapshotInstancesContentView.css: (.heap-snapshot > .data-grid tr:is(.selected, :hover) td .go-to-arrow): (.heap-snapshot > .data-grid tr:matches(.selected, :hover) td .go-to-arrow): Deleted. * Source/WebInspectorUI/UserInterface/Views/HierarchicalPathComponent.css: (.hierarchical-path-component > :is(.icon, .selector-arrows)): (.hierarchical-path-component > :matches(.icon, .selector-arrows)): Deleted. * Source/WebInspectorUI/UserInterface/Views/HoverMenu.css: (.hover-menu > svg > :is(path, rect)): (@media (prefers-color-scheme: dark) .hover-menu > svg > :is(path, rect)): (.hover-menu > svg > :matches(path, rect)): Deleted. (@media (prefers-color-scheme: dark) .hover-menu > svg > :matches(path, rect)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ImageResourceContentView.css: (.content-view.resource.image > :is(.local-resource-override-label-view, .local-resource-override-warning-view):not([hidden]) ~ .drop-zone): (.content-view.resource.image > :matches(.local-resource-override-label-view, .local-resource-override-warning-view):not([hidden]) ~ .drop-zone): Deleted. * Source/WebInspectorUI/UserInterface/Views/IndexedDatabaseObjectStoreContentView.css: (.content-view.indexed-database-object-store > .data-grid .object-tree > :is(.title, .object-preview)::before): (.content-view.indexed-database-object-store > .data-grid .object-tree > :matches(.title, .object-preview)::before): Deleted. * Source/WebInspectorUI/UserInterface/Views/InlineSwatch.css: (.inline-swatch:not(.box-shadow),): (.inline-swatch:is(.color, .gradient)): (.inline-swatch:is(.bezier, .spring, .variable)): (.inline-swatch:is(.bezier, .box-shadow, .spring, .variable)): (.inline-swatch:not(.read-only):is(.bezier, .box-shadow, .spring, .variable, .alignment):hover): (.inline-swatch:not(.read-only):is(.bezier, .box-shadow, .spring, .variable, .alignment):active): (.inline-swatch:is(.bezier, .box-shadow, .spring, .variable) > span): (.inline-swatch:matches(.color, .gradient)): Deleted. (.inline-swatch:matches(.bezier, .spring, .variable)): Deleted. (.inline-swatch:matches(.bezier, .box-shadow, .spring, .variable)): Deleted. (.inline-swatch:not(.read-only):matches(.bezier, .box-shadow, .spring, .variable, .alignment):hover): Deleted. (.inline-swatch:not(.read-only):matches(.bezier, .box-shadow, .spring, .variable, .alignment):active): Deleted. (.inline-swatch:matches(.bezier, .box-shadow, .spring, .variable) > span): Deleted. * Source/WebInspectorUI/UserInterface/Views/LayerDetailsSidebarPanel.css: (.panel.details.layer .name-column :is(.pseudo-element, .reflection)): (.panel.details.layer tr.selected .name-column :is(.pseudo-element, .reflection)): (.panel.details.layer .name-column :matches(.pseudo-element, .reflection)): Deleted. (.panel.details.layer tr.selected .name-column :matches(.pseudo-element, .reflection)): Deleted. * Source/WebInspectorUI/UserInterface/Views/LayerTreeDetailsSidebarPanel.css: (.panel.details.layer-tree .name-column :is(.pseudo-element, .reflection)): (.panel.details.layer-tree tr.selected .name-column :is(.pseudo-element, .reflection)): (.panel.details.layer-tree .name-column :matches(.pseudo-element, .reflection)): Deleted. (.panel.details.layer-tree tr.selected .name-column :matches(.pseudo-element, .reflection)): Deleted. * Source/WebInspectorUI/UserInterface/Views/LocalResourceOverridePopover.css: (.popover .local-resource-override-popover-content label:is(.is-case-sensitive, .is-regex)): (.popover .local-resource-override-popover-content .data-grid tr.header-content-type > :is(.name-column, .value-column)): (.popover .local-resource-override-popover-content label:matches(.is-case-sensitive, .is-regex)): Deleted. (.popover .local-resource-override-popover-content .data-grid tr.header-content-type > :matches(.name-column, .value-column)): Deleted. * Source/WebInspectorUI/UserInterface/Views/Main.css: (body.docked:is(.right, .left) #navigation-sidebar.collapsed > .resizer): (:is(img, canvas).show-grid): (.tab-bar > .navigation-bar :is(.console-warnings, .console-errors):not(.disabled).pulsing): (@media (prefers-color-scheme: dark) :is(img, canvas).show-grid): (body.docked:matches(.right, .left) #navigation-sidebar.collapsed > .resizer): Deleted. (:matches(img, canvas).show-grid): Deleted. (.tab-bar > .navigation-bar :matches(.console-warnings, .console-errors):not(.disabled).pulsing): Deleted. (@media (prefers-color-scheme: dark) :matches(img, canvas).show-grid): Deleted. * Source/WebInspectorUI/UserInterface/Views/NetworkTableContentView.css: (.network-table > .table li:not(.selected) .cell:is(.cache-type, .multiple)): (.network-table > .table .header .cell.waterfall:is(.sort-ascending, .sort-descending)): (.waterfall.network .block:is(.mouse-tracking, .filler) + .block:not(.mouse-tracking, .filler),): (.network-table > .table li:not(.selected) .cell:matches(.cache-type, .multiple)): Deleted. (.network-table > .table .header .cell.waterfall:matches(.sort-ascending, .sort-descending)): Deleted. (.waterfall.network .block:matches(.mouse-tracking, .filler) + .block:not(.mouse-tracking, .filler),): Deleted. * Source/WebInspectorUI/UserInterface/Views/ObjectTreePropertyTreeElement.css: (.object-tree-property :is(.getter, .setter)): (.object-tree-property :is(.getter, .setter).disabled): (.object-tree-property :matches(.getter, .setter)): Deleted. (.object-tree-property :matches(.getter, .setter).disabled): Deleted. * Source/WebInspectorUI/UserInterface/Views/ObjectTreeView.css: (.object-tree > :is(.title, .object-preview)::before): (.object-tree:not(.lossless-preview) > :is(.title, .object-preview)): (.object-tree.expanded > :is(.title, .object-preview)::before): (.object-tree.properties-only > :is(.title, .object-preview)): (.object-tree.lossless-preview > :is(.title, .object-preview)::before): (.object-tree > :matches(.title, .object-preview)::before): Deleted. (.object-tree:not(.lossless-preview) > :matches(.title, .object-preview)): Deleted. (.object-tree.expanded > :matches(.title, .object-preview)::before): Deleted. (.object-tree.properties-only > :matches(.title, .object-preview)): Deleted. (.object-tree.lossless-preview > :matches(.title, .object-preview)::before): Deleted. * Source/WebInspectorUI/UserInterface/Views/ProbeSetDataGrid.css: (.details-section.probe-set .data-grid .object-tree > :is(.title, .object-preview)::before): (.details-section.probe-set .data-grid .object-tree > :matches(.title, .object-preview)::before): Deleted. * Source/WebInspectorUI/UserInterface/Views/ProfileView.css: (.profile > .data-grid tr:is(.selected, :hover) .go-to-arrow): (.profile > .data-grid tr:matches(.selected, :hover) .go-to-arrow): Deleted. * Source/WebInspectorUI/UserInterface/Views/QuickConsole.css: (@media (prefers-color-scheme: dark) .CodeMirror .jump-to-symbol-highlight,): * Source/WebInspectorUI/UserInterface/Views/RadioButtonNavigationItem.css: (.navigation-bar .item.radio.button.text-only:is(.selected, :hover)): (.navigation-bar .item.radio.button.text-only:is(.selected, :hover)::before): (.navigation-bar .item.radio.button.text-only:matches(.selected, :hover)): Deleted. (.navigation-bar .item.radio.button.text-only:matches(.selected, :hover)::before): Deleted. * Source/WebInspectorUI/UserInterface/Views/RecordingContentView.css: (.content-view.recording :is(img, canvas)): (.content-view.recording :matches(img, canvas)): Deleted. * Source/WebInspectorUI/UserInterface/Views/ResourceHeadersContentView.css: (body[dir] .resource-headers > section:is(.redirect, .headers) > .details): (body[dir] .resource-headers > section:matches(.redirect, .headers) > .details): Deleted. * Source/WebInspectorUI/UserInterface/Views/ResourceIcons.css: (:is(.resource-icon.resource-type-style-sheet, .style-sheet-icon) .icon): (:is(.resource-icon.resource-type-style-sheet.override, .style-sheet-icon.override) .icon): (@media (prefers-color-scheme: dark) :is(.resource-icon.resource-type-style-sheet, .style-sheet-icon) .icon): (@media (prefers-color-scheme: dark) :is(.resource-icon.resource-type-style-sheet.override, .style-sheet-icon.override) .icon): (:matches(.resource-icon.resource-type-style-sheet, .style-sheet-icon) .icon): Deleted. (:matches(.resource-icon.resource-type-style-sheet.override, .style-sheet-icon.override) .icon): Deleted. (@media (prefers-color-scheme: dark) :matches(.resource-icon.resource-type-style-sheet, .style-sheet-icon) .icon): Deleted. (@media (prefers-color-scheme: dark) :matches(.resource-icon.resource-type-style-sheet.override, .style-sheet-icon.override) .icon): Deleted. * Source/WebInspectorUI/UserInterface/Views/ResourceSecurityContentView.css: (body[dir] .resource-security > section:is(.connection, .certificate) > .details): (@media (prefers-color-scheme: dark) body[dir] .resource-security > section:is(.connection, .certificate) > .details): (body[dir] .resource-security > section:matches(.connection, .certificate) > .details): Deleted. (@media (prefers-color-scheme: dark) body[dir] .resource-security > section:matches(.connection, .certificate) > .details): Deleted. * Source/WebInspectorUI/UserInterface/Views/ResourceTreeElement.css: (.item.resource.resource-type-websocket:not(.selected) .status .ready-state.open,): (.item.resource.resource-type-websocket:not(.selected) .status .ready-state.connecting,): * Source/WebInspectorUI/UserInterface/Views/ScopeBar.css: (.scope-bar > li:is(.selected, :hover)): (.scope-bar > li:matches(.selected, :hover)): Deleted. * Source/WebInspectorUI/UserInterface/Views/SearchSidebarPanel.css: (.sidebar > .panel.navigation.search > :is(.content, .message-text-view)): (.sidebar > .panel.navigation.search.changed > :is(.content, .message-text-view)): (.sidebar > .panel.navigation.search > :matches(.content, .message-text-view)): Deleted. (.sidebar > .panel.navigation.search.changed > :matches(.content, .message-text-view)): Deleted. * Source/WebInspectorUI/UserInterface/Views/SourcesNavigationSidebarPanel.css: (.sidebar > .panel.navigation.sources > .content > :is(.pause-reason-container, .call-stack-container, .breakpoints-container, .local-overrides-container, .console-snippets-container)): (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > :is(.call-stack-container, .breakpoints-container, .resources-container, .local-overrides-container, .console-snippets-container)): (.sidebar > .panel.navigation.sources > .content > :matches(.pause-reason-container, .call-stack-container, .breakpoints-container, .local-overrides-container, .console-snippets-container)): Deleted. (@media (min-height: 650px) .sidebar > .panel.navigation.sources > .content > :matches(.call-stack-container, .breakpoints-container, .resources-container, .local-overrides-container, .console-snippets-container)): Deleted. * Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css: (.spreadsheet-style-declaration-editor :is(.name, .value):not(.editing)): (.spreadsheet-style-declaration-editor :is(.name, .value).editing): (.spreadsheet-css-declaration:is(:hover, :focus) .property:not(:is(.invalid-name, .invalid-value)) .property-toggle,): (.spreadsheet-style-declaration-editor > .property:is(.invalid-name, .other-vendor, .overridden):not(.disabled) > .content > *:not(.name, .value-container),): (.spreadsheet-style-declaration-editor > .property.invalid-name:not(.disabled) > .content > *:not(.name, .value-container),): (body:is(.window-docked-inactive, .window-inactive) .spreadsheet-style-declaration-editor .property.selected): (.spreadsheet-style-declaration-editor .property:is(.implicit, .not-inherited) .content > *): (body.meta-key-pressed .spreadsheet-css-declaration:not(.locked) > .spreadsheet-style-declaration-editor > .property > .content :is(.name, .value):not(.editing):hover): (@media (prefers-color-scheme: dark) .spreadsheet-style-declaration-editor :is(.name, .value).editing): (.spreadsheet-style-declaration-editor :matches(.name, .value):not(.editing)): Deleted. (.spreadsheet-style-declaration-editor :matches(.name, .value).editing): Deleted. (.spreadsheet-css-declaration:matches(:hover, :focus) .property:not(:matches(.invalid-name, .invalid-value)) .property-toggle,): Deleted. (.spreadsheet-style-declaration-editor > .property:matches(.invalid-name, .other-vendor, .overridden):not(.disabled) > .content > *:not(.name, .value-container),): Deleted. (body:matches(.window-docked-inactive, .window-inactive) .spreadsheet-style-declaration-editor .property.selected): Deleted. (.spreadsheet-style-declaration-editor .property:matches(.implicit, .not-inherited) .content > *): Deleted. (body.meta-key-pressed .spreadsheet-css-declaration:not(.locked) > .spreadsheet-style-declaration-editor > .property > .content :matches(.name, .value):not(.editing):hover): Deleted. (@media (prefers-color-scheme: dark) .spreadsheet-style-declaration-editor :matches(.name, .value).editing): Deleted. * Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationSection.css: (.spreadsheet-css-declaration :is(.header, .header-groupings)): (.spreadsheet-css-declaration :is(.header, .header-groupings):first-child): (.spreadsheet-css-declaration :matches(.header, .header-groupings)): Deleted. (.spreadsheet-css-declaration :matches(.header, .header-groupings):first-child): Deleted. * Source/WebInspectorUI/UserInterface/Views/SpringEditor.css: (.spring-editor > :is(.spring-preview, .spring-timing) > div): (.spring-editor > .animate:is(.spring-preview, .spring-timing) > div): (.spring-editor > :matches(.spring-preview, .spring-timing) > div): Deleted. (.spring-editor > .animate:matches(.spring-preview, .spring-timing) > div): Deleted. * Source/WebInspectorUI/UserInterface/Views/SyntaxHighlightingDefaultTheme.css: (.cm-s-default .cm-comment,): (.cm-s-default :is(.cm-tag, .cm-bracket, .cm-atom, .cm-keyword, .cm-m-javascript.cm-builtin),): (.cm-s-default :is(.cm-number, .cm-atom.cm-hex-color),): (.cm-s-default :is(.cm-def, .cm-operator, .cm-variable, .cm-variable-2),): (.cm-s-default .cm-string,): (.cm-s-default .cm-m-xml.cm-meta,): (.cm-s-default .basic-block-has-not-executed:is(.cm-tag, .cm-bracket, .cm-atom, .cm-keyword, .cm-m-javascript.cm-builtin),): (.cm-s-default .basic-block-has-not-executed:is(.cm-number, .cm-atom.cm-hex-color)): (.cm-s-default :matches(.cm-tag, .cm-bracket, .cm-atom, .cm-keyword, .cm-m-javascript.cm-builtin),): Deleted. (.cm-s-default :matches(.cm-number, .cm-atom.cm-hex-color),): Deleted. (.cm-s-default :matches(.cm-def, .cm-operator, .cm-variable, .cm-variable-2),): Deleted. (.cm-s-default .basic-block-has-not-executed:matches(.cm-tag, .cm-bracket, .cm-atom, .cm-keyword, .cm-m-javascript.cm-builtin),): Deleted. (.cm-s-default .basic-block-has-not-executed:matches(.cm-number, .cm-atom.cm-hex-color)): Deleted. * Source/WebInspectorUI/UserInterface/Views/TabBar.css: (.tab-bar > .tabs.static-layout > :is(.flexible-space, .item)): (.tab-bar > .tabs.animating:is(.expanding-tabs, .inserting-tab) > .item): (.tab-bar > .tabs.static-layout > :matches(.flexible-space, .item)): Deleted. (.tab-bar > .tabs.animating:matches(.expanding-tabs, .inserting-tab) > .item): Deleted. * Source/WebInspectorUI/UserInterface/Views/Table.css: (.table > .header > :is(.sort-ascending, .sort-descending)): (.table > .header > :is(.sort-ascending, .sort-descending)::after): (@media (prefers-color-scheme: dark) .table > .header > :is(.sort-ascending, .sort-descending)::after): (.table > .header > :matches(.sort-ascending, .sort-descending)): Deleted. (.table > .header > :matches(.sort-ascending, .sort-descending)::after): Deleted. (@media (prefers-color-scheme: dark) .table > .header > :matches(.sort-ascending, .sort-descending)::after): Deleted. * Source/WebInspectorUI/UserInterface/Views/TimelineDataGrid.css: (.data-grid th.graph-column:is(.sort-ascending, .sort-descending)): (.data-grid.timeline th:is(.sort-ascending, .sort-descending) > .header-cell-content.timeline-ruler:first-child::after): (.data-grid th.graph-column:matches(.sort-ascending, .sort-descending)): Deleted. (.data-grid.timeline th:matches(.sort-ascending, .sort-descending) > .header-cell-content.timeline-ruler:first-child::after): Deleted. * Source/WebInspectorUI/UserInterface/Views/TimelineOverview.css: (.timeline-overview > :is(.navigation-bar.timelines, .tree-outline.timelines)): (.timeline-overview:not(.frames) > :is(.scroll-container, .timeline-ruler, .graphs-container)): (.navigation-bar.timelines .item.button.toggle-edit-instruments:not(.disabled):is(:focus, .activate.activated, .radio.selected)): (.navigation-bar.timelines .item.button.toggle-edit-instruments:not(.disabled):active:is(:focus, .activate.activated, .radio.selected)): (body:is(.window-inactive, .window-docked-inactive) .timeline-overview:not(.edit-instruments) > .tree-outline.timelines .item.selected + .item): (.timeline-overview.frames > :is(.tree-outline.timelines, .navigation-bar.timelines)): (.timeline-overview > :matches(.navigation-bar.timelines, .tree-outline.timelines)): Deleted. (.timeline-overview:not(.frames) > :matches(.scroll-container, .timeline-ruler, .graphs-container)): Deleted. (.navigation-bar.timelines .item.button.toggle-edit-instruments:not(.disabled):matches(:focus, .activate.activated, .radio.selected)): Deleted. (.navigation-bar.timelines .item.button.toggle-edit-instruments:not(.disabled):active:matches(:focus, .activate.activated, .radio.selected)): Deleted. (body:matches(.window-inactive, .window-docked-inactive) .timeline-overview:not(.edit-instruments) > .tree-outline.timelines .item.selected + .item): Deleted. (.timeline-overview.frames > :matches(.tree-outline.timelines, .navigation-bar.timelines)): Deleted. * Source/WebInspectorUI/UserInterface/Views/TimelineRecordBar.css: (.timeline-record-bar > :is(img, .segment)): (.timeline-record-bar.has-custom-children.timeline-record-type-media > .segment:is(.css-animation-delay, .media-element-paused)): (.timeline-record-bar > :matches(img, .segment)): Deleted. (.timeline-record-bar.has-custom-children.timeline-record-type-media > .segment:matches(.css-animation-delay, .media-element-paused)): Deleted. * Source/WebInspectorUI/UserInterface/Views/TimelineRecordingContentView.css: (.content-view.timeline-recording > .content-browser :is(.recording-progress, .recording-imported)): (.content-view.timeline-recording > .content-browser :is(.recording-progress, .recording-imported) > .status): (.content-view.timeline-recording > .content-browser :matches(.recording-progress, .recording-imported)): Deleted. (.content-view.timeline-recording > .content-browser :matches(.recording-progress, .recording-imported) > .status): Deleted. * Source/WebInspectorUI/UserInterface/Views/TimelineRuler.css: (body[dir=ltr] .timeline-ruler > .header > .divider,): (body[dir=rtl] .timeline-ruler > .header > .divider,): (.timeline-ruler.selection-hidden > :is(.selection-drag, .selection-handle, .shaded-area)): (.timeline-ruler.selection-hidden > :matches(.selection-drag, .selection-handle, .shaded-area)): Deleted. * Source/WebInspectorUI/UserInterface/Views/TimelineTabContentView.css: (.timeline.tab.content-view .navigation-bar > .item:is(.record-start-stop, .record-continue):hover): (.timeline.tab.content-view .navigation-bar > .item:is(.record-start-stop, .record-continue):active): (.timeline.tab.content-view .navigation-bar > .item:is(.record-start-stop, .record-continue) *): (.timeline.tab.content-view .navigation-bar > .item:matches(.record-start-stop, .record-continue):hover): Deleted. (.timeline.tab.content-view .navigation-bar > .item:matches(.record-start-stop, .record-continue):active): Deleted. (.timeline.tab.content-view .navigation-bar > .item:matches(.record-start-stop, .record-continue) *): Deleted. * Source/WebInspectorUI/UserInterface/Views/TreeOutline.css: (body[dir=ltr] .tree-outline .item :is(.disclosure-button, .icon),): (body[dir=rtl] .tree-outline .item :is(.disclosure-button, .icon)): (body[dir=ltr] .tree-outline .item :matches(.disclosure-button, .icon),): Deleted. (body[dir=rtl] .tree-outline .item :matches(.disclosure-button, .icon)): Deleted. Canonical link: https://commits.webkit.org/261264@main
1 parent 23a3ffa commit 1d847da

File tree

68 files changed

+202
-202
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+202
-202
lines changed

Source/WebInspectorUI/UserInterface/Views/AuditTreeElement.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
height: 100%;
3636
}
3737

38-
.tree-outline .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img {
38+
.tree-outline .item.audit:is(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img {
3939
width: 75%;
4040
height: 75%;
4141
margin: 0 auto;
4242
content: url(../Images/AuditStart.svg) !important;
4343
}
4444

45-
body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active).selected:hover > .status > img,
45+
body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .item.audit:is(.test-case, .test-group):not(.unsupported, .manager-active).selected:hover > .status > img,
4646
body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .item.audit.test-case.selected > .status > .indeterminate-progress-spinner,
4747
body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .item.audit.test-group.selected > .status > progress {
4848
filter: var(--filter-invert);
@@ -60,7 +60,7 @@ body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .
6060
display: none;
6161
}
6262

63-
.tree-outline .item.audit.unsupported:not(.selected) > :matches(.icon, .titles) {
63+
.tree-outline .item.audit.unsupported:not(.selected) > :is(.icon, .titles) {
6464
opacity: 0.5;
6565
}
6666

@@ -108,7 +108,7 @@ body:not(.window-inactive, .window-docked-inactive) .tree-outline:focus-within .
108108
}
109109

110110
@media (prefers-color-scheme: dark) {
111-
.tree-outline .item.audit:matches(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img {
111+
.tree-outline .item.audit:is(.test-case, .test-group):not(.unsupported, .manager-active):hover > .status > img {
112112
filter: var(--filter-invert) brightness(90%);
113113
}
114114

Source/WebInspectorUI/UserInterface/Views/BlackboxSettingsView.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* THE POSSIBILITY OF SUCH DAMAGE.
2424
*/
2525

26-
.settings-view.blackbox > :matches(p, table) {
26+
.settings-view.blackbox > :is(p, table) {
2727
width: 100%;
2828
max-width: calc(min(50em, 100% - 40px));
2929
margin: 1em auto 2em;
@@ -77,7 +77,7 @@
7777
border: 1px solid var(--border-color);
7878
}
7979

80-
.settings-view.blackbox > table :matches(th, td).url {
80+
.settings-view.blackbox > table :is(th, td).url {
8181
text-align: start;
8282
}
8383

@@ -91,7 +91,7 @@
9191
background-color: transparent;
9292
}
9393

94-
.settings-view.blackbox > table :matches(th, td):matches(.case-sensitive, .remove-blackbox) {
94+
.settings-view.blackbox > table :is(th, td):is(.case-sensitive, .remove-blackbox) {
9595
width: 1px;
9696
white-space: nowrap;
9797
text-align: center;

Source/WebInspectorUI/UserInterface/Views/BoxModelDetailsSectionRow.css

+13-13
Original file line numberDiff line numberDiff line change
@@ -119,45 +119,45 @@
119119
z-index: 2;
120120
}
121121

122-
.details-section .row.box-model :matches(.top, .right, .bottom, .left) {
122+
.details-section .row.box-model :is(.top, .right, .bottom, .left) {
123123
display: inline-block;
124124
vertical-align: middle;
125125
}
126126

127-
.details-section .row.box-model :matches(.top, .right, .bottom, .left):not(.editing),
128-
.details-section .row.box-model :matches(.top-left, .top-right, .bottom-right, .bottom-left) {
127+
.details-section .row.box-model :is(.top, .right, .bottom, .left):not(.editing),
128+
.details-section .row.box-model :is(.top-left, .top-right, .bottom-right, .bottom-left) {
129129
margin: 0 0.25em;
130130
}
131131

132-
.details-section .row.box-model :matches(.top-left, .top-right, .bottom-right, .bottom-left) {
132+
.details-section .row.box-model :is(.top-left, .top-right, .bottom-right, .bottom-left) {
133133
position: absolute;
134134
}
135135

136-
.details-section .row.box-model :matches(.top-left, .top-right) {
136+
.details-section .row.box-model :is(.top-left, .top-right) {
137137
top: 4px;
138138
}
139139

140-
.details-section .row.box-model :matches(.bottom-left, .bottom-right):not(.editing) {
140+
.details-section .row.box-model :is(.bottom-left, .bottom-right):not(.editing) {
141141
bottom: 3px;
142142
}
143143

144-
.details-section .row.box-model :matches(.bottom-left, .bottom-right).editing {
144+
.details-section .row.box-model :is(.bottom-left, .bottom-right).editing {
145145
bottom: 2px;
146146
}
147147

148-
.details-section .row.box-model :matches(.top-left, .bottom-left):not(.editing) {
148+
.details-section .row.box-model :is(.top-left, .bottom-left):not(.editing) {
149149
left: 3px;
150150
}
151151

152-
.details-section .row.box-model :matches(.top-left, .bottom-left).editing {
152+
.details-section .row.box-model :is(.top-left, .bottom-left).editing {
153153
left: 1px;
154154
}
155155

156-
.details-section .row.box-model :matches(.top-right, .bottom-right):not(.editing) {
156+
.details-section .row.box-model :is(.top-right, .bottom-right):not(.editing) {
157157
right: 3px;
158158
}
159159

160-
.details-section .row.box-model :matches(.top-right, .bottom-right).editing {
160+
.details-section .row.box-model :is(.top-right, .bottom-right).editing {
161161
right: 1px;
162162
}
163163

@@ -176,8 +176,8 @@
176176
color: var(--text-color);
177177
}
178178

179-
.details-section .row.box-model:not(.hovered) .box:matches(.margin, .border, .padding, .content),
180-
.details-section .row.box-model .box.active:matches(.margin, .border, .padding, .content) {
179+
.details-section .row.box-model:not(.hovered) .box:is(.margin, .border, .padding, .content),
180+
.details-section .row.box-model .box.active:is(.margin, .border, .padding, .content) {
181181
color: black;
182182
}
183183

Source/WebInspectorUI/UserInterface/Views/BreakpointActionView.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ body[dir=rtl] .breakpoint-action-button-container {
3535
float: left;
3636
}
3737

38-
:matches(.breakpoint-action-append-button, .breakpoint-action-remove-button) {
38+
:is(.breakpoint-action-append-button, .breakpoint-action-remove-button) {
3939
background-origin: border-box;
4040
width: 13px;
4141
height: 13px;

Source/WebInspectorUI/UserInterface/Views/ButtonNavigationItem.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,11 @@
7878
color: var(--glyph-color-pressed);
7979
}
8080

81-
.navigation-bar .item.button:not(.disabled):matches(.activate.activated, .radio.selected) > .glyph {
81+
.navigation-bar .item.button:not(.disabled):is(.activate.activated, .radio.selected) > .glyph {
8282
color: var(--glyph-color-active);
8383
}
8484

85-
.navigation-bar .item.button:not(.disabled):active:matches(.activate.activated, .radio.selected) > .glyph {
85+
.navigation-bar .item.button:not(.disabled):active:is(.activate.activated, .radio.selected) > .glyph {
8686
color: var(--glyph-color-active-pressed);
8787
}
8888

Source/WebInspectorUI/UserInterface/Views/CPUTimelineView.css

+7-7
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
fill: var(--cpu-paint-fill-color);
178178
}
179179

180-
.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) svg > path {
180+
.timeline-view.cpu :is(.area-chart, .stacked-area-chart) svg > path {
181181
fill: var(--cpu-other-thread-fill-color);
182182
stroke: var(--cpu-other-thread-stroke-color);
183183
}
@@ -194,7 +194,7 @@
194194
stroke: var(--cpu-worker-thread-stroke-color);
195195
}
196196

197-
.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers {
197+
.timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers {
198198
position: absolute;
199199
top: 0;
200200
left: 0;
@@ -203,7 +203,7 @@
203203
pointer-events: none;
204204
}
205205

206-
.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers > div {
206+
.timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers > div {
207207
position: absolute;
208208
z-index: 10;
209209
width: 100%;
@@ -212,18 +212,18 @@
212212
background-color: var(--graph-line-color);
213213
}
214214

215-
body[dir=rtl] .timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers > div {
215+
body[dir=rtl] .timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers > div {
216216
transform: scaleX(-1);
217217
}
218218

219-
.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .markers > div > .label {
219+
.timeline-view.cpu :is(.area-chart, .stacked-area-chart) .markers > div > .label {
220220
padding: 2px;
221221
font-size: 8px;
222222
color: var(--text-color-secondary);
223223
background-color: var(--background-color-content);
224224
}
225225

226-
.timeline-view.cpu :matches(.area-chart, .stacked-area-chart) circle {
226+
.timeline-view.cpu :is(.area-chart, .stacked-area-chart) circle {
227227
r: 3;
228228
fill: var(--cpu-overlay-color);
229229
}
@@ -339,7 +339,7 @@ body[dir=rtl] .timeline-view.cpu :matches(.area-chart, .stacked-area-chart) .mar
339339
cursor: pointer;
340340
}
341341

342-
.timeline-view.cpu > .content > .overview > .chart > .container.stats > table :matches(.filter, .filter-clear):hover {
342+
.timeline-view.cpu > .content > .overview > .chart > .container.stats > table :is(.filter, .filter-clear):hover {
343343
opacity: 0.7;
344344
}
345345

Source/WebInspectorUI/UserInterface/Views/CPUUsageCombinedView.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
}
3232

3333
.cpu-usage-combined-view > .graph,
34-
.cpu-usage-combined-view > .graph > :matches(.stacked-area-chart, .range-chart),
35-
.cpu-usage-combined-view > .graph > :matches(.stacked-area-chart, .range-chart) > svg {
34+
.cpu-usage-combined-view > .graph > :is(.stacked-area-chart, .range-chart),
35+
.cpu-usage-combined-view > .graph > :is(.stacked-area-chart, .range-chart) > svg {
3636
width: 100%;
3737
height: 100%;
3838
}
@@ -63,7 +63,7 @@
6363
-webkit-user-select: text;
6464
}
6565

66-
.cpu-usage-combined-view > :matches(.details, .legend) > .name {
66+
.cpu-usage-combined-view > :is(.details, .legend) > .name {
6767
color: var(--text-color);
6868
white-space: nowrap;
6969
}

Source/WebInspectorUI/UserInterface/Views/CanvasContentView.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
max-height: 100%;
4747
}
4848

49-
.content-view.canvas > :matches(header, footer) {
49+
.content-view.canvas > :is(header, footer) {
5050
display: none;
5151
}
5252

Source/WebInspectorUI/UserInterface/Views/CanvasOverviewContentView.css

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
border-color: red;
4949
}
5050

51-
.content-view.canvas-overview > .content-view.canvas > :matches(header, footer) {
51+
.content-view.canvas-overview > .content-view.canvas > :is(header, footer) {
5252
display: flex;
5353
flex-direction: row;
5454
flex-shrink: 0;
@@ -76,7 +76,7 @@
7676
color: var(--text-color-gray-dark);
7777
}
7878

79-
.content-view.canvas-overview > .content-view.canvas > header > .titles > :matches(.subtitle, .color-space),
79+
.content-view.canvas-overview > .content-view.canvas > header > .titles > :is(.subtitle, .color-space),
8080
.content-view.canvas-overview > .content-view.canvas > footer .memory-cost {
8181
color: var(--text-color-gray-medium);
8282
}
@@ -108,7 +108,7 @@
108108
transition: opacity 200ms ease-in-out;
109109
}
110110

111-
.content-view.canvas-overview > .content-view.canvas:matches(:hover, .recording-active) > header > .navigation-bar {
111+
.content-view.canvas-overview > .content-view.canvas:is(:hover, .recording-active) > header > .navigation-bar {
112112
opacity: 1;
113113
transition: opacity 200ms ease-in-out;
114114
}
@@ -160,7 +160,7 @@
160160
align-items: center;
161161
}
162162

163-
.content-view.canvas-overview > .content-view.canvas > footer > .view-related-items > :matches(.view-shader, .view-recording) {
163+
.content-view.canvas-overview > .content-view.canvas > footer > .view-related-items > :is(.view-shader, .view-recording) {
164164
width: 16px;
165165
height: 16px;
166166
}

Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@
3535
opacity: 0.5;
3636
}
3737

38-
.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.canvas-2d, .bitmaprenderer) .icon {
38+
.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:is(.canvas-2d, .bitmaprenderer) .icon {
3939
content: url(../Images/Canvas2D.svg);
4040
}
4141

42-
.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.webgl, .webgl2, .webgpu, .webmetal) .icon {
42+
.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:is(.webgl, .webgl2, .webgpu, .webmetal) .icon {
4343
content: url(../Images/Canvas3D.svg);
4444
}
4545

@@ -60,7 +60,7 @@
6060
}
6161

6262
.sidebar > .panel.navigation.canvas:not(.has-recordings) > .filter-bar,
63-
.sidebar > .panel.navigation.canvas:not(.has-recordings) > .content > :matches(.navigation-bar, .recording-content) {
63+
.sidebar > .panel.navigation.canvas:not(.has-recordings) > .content > :is(.navigation-bar, .recording-content) {
6464
display: none;
6565
}
6666

Source/WebInspectorUI/UserInterface/Views/CodeMirrorRegexMode.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,18 +31,18 @@
3131
color: var(--syntax-highlight-number-color);
3232
}
3333

34-
.cm-s-default :matches(.cm-regex-escape, .cm-regex-escape-2, .cm-regex-escape-3) {
34+
.cm-s-default :is(.cm-regex-escape, .cm-regex-escape-2, .cm-regex-escape-3) {
3535
color: var(--syntax-highlight-symbol-color);
3636
}
3737

38-
.cm-s-default :matches(.cm-regex-group, .cm-regex-lookahead) {
38+
.cm-s-default :is(.cm-regex-group, .cm-regex-lookahead) {
3939
color: var(--syntax-highlight-regex-group-color);
4040
}
4141

4242
.cm-s-default .cm-regex-quantifier {
4343
color: var(--syntax-highlight-number-color);
4444
}
4545

46-
.cm-s-default :matches(.cm-regex-literal, .cm-regex-special, .cm-regex-backreference) {
46+
.cm-s-default :is(.cm-regex-literal, .cm-regex-special, .cm-regex-backreference) {
4747
color: var(--syntax-highlight-boolean-color);
4848
}

Source/WebInspectorUI/UserInterface/Views/ColorPicker.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
white-space: nowrap;
3838
}
3939

40-
.color-picker :matches(.color-square, .slider) {
40+
.color-picker :is(.color-square, .slider) {
4141
display: inline-block;
4242
}
4343

Source/WebInspectorUI/UserInterface/Views/ComputedStyleDetailsPanel.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
--disclosure-button-size: 15px;
2929
}
3030

31-
.sidebar > .panel.details.css-style > .content > .computed > .details-section:not(.collapsed) > :matches(.header, .content) {
31+
.sidebar > .panel.details.css-style > .content > .computed > .details-section:not(.collapsed) > :is(.header, .content) {
3232
background-color: var(--background-color);
3333
}
3434

Source/WebInspectorUI/UserInterface/Views/ConsoleDrawer.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
cursor: default;
4141
}
4242

43-
.console-drawer > .navigation-bar > :matches(.item.button, .log-scope-bar) {
43+
.console-drawer > .navigation-bar > :is(.item.button, .log-scope-bar) {
4444
pointer-events: none;
4545
}
4646

Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
-webkit-user-select: text;
6868
}
6969

70-
.console-message-body > span > :matches(.console-message-enclosed, .console-message-preview, .console-message-preview-divider) {
70+
.console-message-body > span > :is(.console-message-enclosed, .console-message-preview, .console-message-preview-divider) {
7171
-webkit-user-select: none;
7272
}
7373

@@ -76,7 +76,7 @@
7676
--checkerboard-light-square: var(--background-color);
7777
}
7878

79-
.console-image > .console-message-body > :matches(hr, img) {
79+
.console-image > .console-message-body > :is(hr, img) {
8080
display: block;
8181
margin: 4px 0;
8282
}
@@ -117,7 +117,7 @@
117117
background-image: url(../Images/DisclosureTriangles.svg#open-normal);
118118
}
119119

120-
.console-message.expandable.expanded :matches(.console-message-preview, .console-message-preview-divider):not(.inline-lossless) {
120+
.console-message.expandable.expanded :is(.console-message-preview, .console-message-preview-divider):not(.inline-lossless) {
121121
display: none;
122122
}
123123

@@ -226,12 +226,12 @@
226226
content: url(../Images/UserInputPromptPrevious.svg);
227227
}
228228

229-
:matches(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level).console-message {
229+
:is(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level).console-message {
230230
/* Move non-monospace log/warning/error text up a bit. */
231231
padding: 3px 12px 3px 20px;
232232
}
233233

234-
:matches(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level)::before {
234+
:is(.console-warning-level, .console-error-level, .console-log-level, .console-info-level, .console-debug-level)::before {
235235
/* Re-center log/warning/error icons. */
236236
padding-top: 1px;
237237
}

0 commit comments

Comments
 (0)