WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
249151
perspective calc() values aren't clipped to 0
https://bugs.webkit.org/show_bug.cgi?id=249151
Summary
perspective calc() values aren't clipped to 0
Antoine Quint
Reported
2022-12-12 09:13:49 PST
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
Comment 1
2022-12-12 09:17:29 PST
Pull request:
https://github.com/WebKit/WebKit/pull/7493
EWS
Comment 2
2022-12-12 23:47:13 PST
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
Comment 3
2022-12-12 23:48:15 PST
<
rdar://problem/103287973
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug