| Summary: | font-style: oblique with calc() should allow out-of-range angles, and clamp them for computed style | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | CSS | Assignee: | Darin Adler <darin> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | darin, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | All | ||
| OS: | All | ||
| Bug Depends on: | |||
| Bug Blocks: | 246579 | ||
|
Description
Tim Nguyen (:ntim)
2022-10-22 20:32:02 PDT
This test has incorrect expectations. Either the other browsers need to change or the specification does. The specification says that clamping does not have an effect on specified values, but this test requires that calc(91deg) change into 90deg in a specified value.
imported/w3c/web-platform-tests/css/css-fonts/variations/at-font-face-descriptors.html
{ value: "oblique calc(91deg)", isValid: true, expectedValue: "oblique 90deg", description: "'oblique' followed by calc with out of range value (should be clamped)" },
{ value: "oblique calc(-91deg)", isValid: true, expectedValue: "oblique -90deg", description: "'oblique' followed by calc with out of range value (should be clamped)" },
Tim, maybe you can help me figure out what to do.
Pull request: https://github.com/WebKit/WebKit/pull/5695 Committed 255925@main (0effe5fb60bb): <https://commits.webkit.org/255925@main> Reviewed commits have been landed. Closing PR #5695 and removing active labels. |