Bug 249803

Summary: Fix css/css-typed-om/the-stylepropertymap/properties/stroke-width.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/37654
Bug Depends on:    
Bug Blocks: 175733    

Chris Dumez
Reported 2022-12-22 13:20:31 PST
Per the specification, `stroke-width`'s computed value should be positive: - https://svgwg.org/svg2-draft/painting.html#StrokeWidth However, the test was setting `stroke-width` to "calc(-3.14%)" and expecting "-3.14s" as computed value. With clamping, the computed value should be "0%" in this case.
Attachments
Chris Dumez
Comment 1 2022-12-22 13:22:03 PST
EWS
Comment 2 2022-12-22 17:13:52 PST
Committed 258274@main (18173dd49a5f): <https://commits.webkit.org/258274@main> Reviewed commits have been landed. Closing PR #8018 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2022-12-22 17:14:18 PST
Note You need to log in before you can comment on or make changes to this bug.