Bug 249816

Summary: Fix css/css-typed-om/the-stylepropertymap/properties/scroll-padding.html WPT test
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: 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
Reported 2022-12-22 15:08:42 PST
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
Chris Dumez
Comment 1 2022-12-22 15:10:17 PST
EWS
Comment 2 2022-12-22 17:12:03 PST
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
Comment 3 2022-12-22 17:13:16 PST
Note You need to log in before you can comment on or make changes to this bug.