Bug 249151
Summary: | perspective calc() values aren't clipped to 0 | ||
---|---|---|---|
Product: | WebKit | Reporter: | Antoine Quint <graouts> |
Component: | CSS | Assignee: | Antoine Quint <graouts> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | koivisto, webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar, WebExposed, WPTImpact |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Antoine Quint
The "perspective" property is specified to only allow non-negative values: https://www.w3.org/TR/css-transforms-2/#perspective-property. However, we don't clip values that would be computed to less than 0, for instance using a calc() expression, and instead deem them invalid internally and thus consider as if "none" was provided, which has implications when blending as blending with "none" means a discrete behavior should be used.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/7493
EWS
Committed 257779@main (c1c0e7fbede0): <https://commits.webkit.org/257779@main>
Reviewed commits have been landed. Closing PR #7493 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/103287973>