Bug 249816
Summary: | Fix css/css-typed-om/the-stylepropertymap/properties/scroll-padding.html WPT test | ||
---|---|---|---|
Product: | WebKit | Reporter: | Chris Dumez <cdumez> |
Component: | CSS | Assignee: | Chris Dumez <cdumez> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
See Also: | https://github.com/web-platform-tests/wpt/pull/37660 | ||
Bug Depends on: | |||
Bug Blocks: | 175733 |
Chris Dumez
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%.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/8027
EWS
Committed 258273@main (99f516e7d63b): <https://commits.webkit.org/258273@main>
Reviewed commits have been landed. Closing PR #8027 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/103655472>