Bug 314203
| Summary: | Fix mismatching numeric range for 'flow-tolerance' <length-percentage> term | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | CSS | Assignee: | Sam Weinig <sam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
We currently parse the `<length-percentage>` term in 'flow-tolerance' as unbounded, but then treat it as a `<length-percentage [0,∞]>` for computed style by making the Style::FlowTolerance type use `LengthPercentage<CSS::NonnegativeUnzoomed>`.
Per @fantasai, it should be `<length-percentage [0,∞]>` everywhere.
A PR to fix the spec is up at https://github.com/w3c/csswg-drafts/pull/13891.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/176981324>
Sam Weinig
Pull request: https://github.com/WebKit/WebKit/pull/65643
EWS
Committed 313883@main (4e31289bd77e): <https://commits.webkit.org/313883@main>
Reviewed commits have been landed. Closing PR #65643 and removing active labels.