[webkit-changes] [WebKit/WebKit] 99f516: Fix css/css-typed-om/the-stylepropertymap/properti...
Chris Dumez
noreply at github.com
Thu Dec 22 17:12:12 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 99f516e7d63b7adcf03c62b0147c0c4eb089e7df
https://github.com/WebKit/WebKit/commit/99f516e7d63b7adcf03c62b0147c0c4eb089e7df
Author: Chris Dumez <cdumez at apple.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/scroll-padding-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/scroll-padding.html
Log Message:
-----------
Fix css/css-typed-om/the-stylepropertymap/properties/scroll-padding.html WPT test
https://bugs.webkit.org/show_bug.cgi?id=249816
Reviewed by Simon Fraser.
Fix css/css-typed-om/the-stylepropertymap/properties/scroll-padding.html WPT
test to match the specification:
- https://w3c.github.io/csswg-drafts/css-scroll-snap/#padding-longhands-logical
- https://w3c.github.io/csswg-drafts/css-scroll-snap/#padding-longhands-physical
The test was expecting a -3.14% as computed value for one of the subtests.
However, the specification indicates that negative values are not allowed.
The computed value should thus be clamped to 0%.
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/scroll-padding-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/scroll-padding.html:
Canonical link: https://commits.webkit.org/258273@main
More information about the webkit-changes
mailing list