clamp rendering of perspective above 0
https://bugs.webkit.org/show_bug.cgi?id=202504
Summary clamp rendering of perspective above 0
Dean Jackson
Reported 2019-10-02 17:01:02 PDT
https://github.com/w3c/csswg-drafts/issues/413 Resolved to still support perspective(0), but to clamp the value at rendering time to a value just above 0 (to avoid crazy).
Attachments
rendering in Safari, firefox, chrome (232.36 KB, image/png)
2023-06-08 18:25 PDT, Karl Dubost
no flags
Radar WebKit Bug Importer
Comment 1 2019-10-02 17:01:21 PDT
L. David Baron
Comment 2 2022-07-02 12:09:07 PDT
I should add that Chromium has successfully shipped this set of spec changes. For more details see: https://bugs.chromium.org/p/chromium/issues/detail?id=1205161 https://chromium.googlesource.com/chromium/src/+/50b1cc46560ac75003b6c64db76fc14d23508735 https://groups.google.com/a/chromium.org/g/blink-dev/c/Up0ruPbddro/m/7J-f9pqiAQAJ I think most of the sites reported as broken have been fixed (in many cases the reports were from the site developers): https://bugs.chromium.org/p/chromium/issues/list?q=label%3Aperspective-zero-regression&can=1 Also see the Gecko bug at: https://bugzilla.mozilla.org/show_bug.cgi?id=1630441
Ahmad Saleem
Comment 3 2023-06-08 06:22:58 PDT
Seems that we are passing all tests: https://wpt.fyi/results/css/css-transforms?label=master&label=experimental&aligned=&q=css-transforms%2Fperspective- Except one: perspective-split-by-zero-w.html Do we need to track this in this or create separate new bug for failing test case?
Karl Dubost
Comment 4 2023-06-08 18:25:59 PDT
Created attachment 466647 [details] rendering in Safari, firefox, chrome Interesting, at first load it doesn't work in Chrome. In Chrome it will appear if I resize the window.
Note You need to log in before you can comment on or make changes to this bug.