[webkit-changes] [WebKit/WebKit] da4821: [CSS-Typed-OM] flex-basis / flex-grow / flex-shrin...

Chris Dumez noreply at github.com
Tue Jan 3 14:04:04 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: da48215a5f58b6125a7423b14f79cd37d8156a50
      https://github.com/WebKit/WebKit/commit/da48215a5f58b6125a7423b14f79cd37d8156a50
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2023-01-03 (Tue, 03 Jan 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-basis-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-basis.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-grow-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-grow.html
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-shrink-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-shrink.html

  Log Message:
  -----------
  [CSS-Typed-OM] flex-basis / flex-grow / flex-shrink computed values should be clamped
https://bugs.webkit.org/show_bug.cgi?id=250036

Reviewed by Tim Nguyen.

flex-basis / flex-grow / flex-shrink computed values should be clamped, since
the specification indicates the values cannot be negative:
- https://w3c.github.io/csswg-drafts/css-flexbox/#flex-basis-property
- https://w3c.github.io/csswg-drafts/css-sizing-3/#propdef-width
- https://w3c.github.io/csswg-drafts/css-flexbox/#flex-shrink-property
- https://w3c.github.io/csswg-drafts/css-flexbox/#flex-grow-property

Update the Web-Platform-Tests accordingly.

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-basis-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-basis.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-grow-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-grow.html:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-shrink-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/flex-shrink.html:

Canonical link: https://commits.webkit.org/258403@main




More information about the webkit-changes mailing list