[webkit-changes] [WebKit/WebKit] 0c7db8: Web Inspector: REGRESSION(?): Elements: background...

Devin Rousso noreply at github.com
Tue Aug 1 20:13:01 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0c7db85e2b70692835e7735c0a52abf762d28872
      https://github.com/WebKit/WebKit/commit/0c7db85e2b70692835e7735c0a52abf762d28872
  Author: Devin Rousso <hi at devinrousso.com>
  Date:   2023-08-01 (Tue, 01 Aug 2023)

  Changed paths:
    M Source/WebInspectorUI/UserInterface/Views/DetailsSection.css
    M Source/WebInspectorUI/UserInterface/Views/FontVariationDetailsSectionRow.css
    M Source/WebInspectorUI/UserInterface/Views/InlineSwatch.css
    M Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css

  Log Message:
  -----------
  Web Inspector: REGRESSION(?): Elements: background of color swatch is not checkered
https://bugs.webkit.org/show_bug.cgi?id=259720

Reviewed by Tim Nguyen.

Ensure that CSS `background-size` with only a percentage width also have a height, as if it's not included then it's assumed to be `auto`.

* Source/WebInspectorUI/UserInterface/Views/InlineSwatch.css:
(.inline-swatch:is(.color, .gradient)):

* Source/WebInspectorUI/UserInterface/Views/DetailsSection.css:
(.details-section > .content > .group > .row.simple > .warning):
* Source/WebInspectorUI/UserInterface/Views/FontVariationDetailsSectionRow.css:
(.details-section > .content > .group > .row.font-variation > .warning):
* Source/WebInspectorUI/UserInterface/Views/SpreadsheetCSSStyleDeclarationEditor.css:
(.spreadsheet-style-declaration-editor .property.has-warning .warning):

Drive-by: these should be fine since they already have a defined `height`, but fix them the same just in case.
Canonical link: https://commits.webkit.org/266502@main




More information about the webkit-changes mailing list