RESOLVED FIXED 232619
perspective() <= 1px should be clamped to 1px
https://bugs.webkit.org/show_bug.cgi?id=232619
Summary perspective() <= 1px should be clamped to 1px
Attachments
Patch (32.66 KB, patch)
2021-12-02 09:45 PST, Martin Robinson
no flags
Patch (34.97 KB, patch)
2021-12-03 07:20 PST, Martin Robinson
no flags
Patch (23.33 KB, patch)
2021-12-06 05:11 PST, Martin Robinson
no flags
Patch (23.32 KB, patch)
2021-12-06 23:36 PST, Martin Robinson
no flags
Radar WebKit Bug Importer
Comment 1 2021-11-09 04:10:20 PST
Martin Robinson
Comment 2 2021-12-02 09:45:56 PST
Simon Fraser (smfr)
Comment 3 2021-12-02 10:42:17 PST
Comment on attachment 445729 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=445729&action=review > Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.h:68 > + return m_interoperabilityState == TransformInteropabilityEnabled ? std::max(1.0f, returnValue) : returnValue; Not sure if it's worth plumbing ScriptExecutionContext all the way through just to check the setting here. I bet we could do this without undue compat risk.
Martin Robinson
Comment 4 2021-12-03 07:20:30 PST
Martin Robinson
Comment 5 2021-12-06 05:11:07 PST
Martin Robinson
Comment 6 2021-12-06 05:30:43 PST
(In reply to Simon Fraser (smfr) from comment #3) > Comment on attachment 445729 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=445729&action=review > > > Source/WebCore/platform/graphics/transforms/PerspectiveTransformOperation.h:68 > > + return m_interoperabilityState == TransformInteropabilityEnabled ? std::max(1.0f, returnValue) : returnValue; > > Not sure if it's worth plumbing ScriptExecutionContext all the way through > just to check the setting here. I bet we could do this without undue compat > risk. Thanks for the review. I've updated the patch to remove the plumbing and also updated the WebKit-specific tests that were failing.
Martin Robinson
Comment 7 2021-12-06 23:36:02 PST
EWS
Comment 8 2021-12-07 00:27:19 PST
Committed r286591 (?): <https://commits.webkit.org/r286591> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446131 [details].
Note You need to log in before you can comment on or make changes to this bug.