Bug 249803
| Summary: | Fix css/css-typed-om/the-stylepropertymap/properties/stroke-width.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/37654 | ||
| Bug Depends on: | |||
| Bug Blocks: | 175733 | ||
Chris Dumez
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Chris Dumez
Pull request: https://github.com/WebKit/WebKit/pull/8018
EWS
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
<rdar://problem/103655492>