CSS property backface-visibilty doesn’t properly deal with CSS property perspective
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
People
(Reporter: mail, Unassigned)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression)
Attachments
(3 files, 1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
I wrote a document that displays a cube using CSS, which rotates when hovered over, and which uses backface-visibility to hide faces that shouldn’t be visible, and perspective to create a 3D effect.
→ cube.html
Actual results:
The back faces of individual elements was still visible, they merely disappeared once the element would’ve had its back facing the camera had the perspective modifier not been there.
→ firefox-backface-visibility.mkv
Expected results:
The back faces should not appear (or the elements should disappear once their backs face the camera)
→ chromium-backface-visibility.mkv
Reporter | ||
Comment 1•3 years ago
|
||
The HTML file I used
Reporter | ||
Comment 2•3 years ago
|
||
A video recording of the problem in Firefox
Reporter | ||
Comment 3•3 years ago
|
||
A recording of the expected behavior in Chromium
Comment 4•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::WebRTC: Audio/Video' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Reporter | ||
Comment 5•3 years ago
|
||
The actual HTML I used
Reporter | ||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
I can reproduce the issue on Windows10.
If disabled WebRender then the problem is gone.
Updated•3 years ago
|
Comment 7•3 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=251ef3905140484b28314e2dd07b37bc813bab32&tochange=aec4b19308a9b4eb59e2b988840af1d8996825c8
Suspect Bug1525641
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
I can confirm the issue it started with version 91.x
Up to Version 90 the 3D Transformation with Firefox was correct!
I made a image to show the difference
https://www.gmeiner-verlag.de/images/3D-Problem.png
Example Website:
https://www.gmeiner-verlag.de/buecher/titel/lieblingsplaetze-rhoen.html
Reporter | ||
Updated•3 years ago
|
Reporter | ||
Comment 10•3 years ago
|
||
Reporter | ||
Comment 11•3 years ago
|
||
This bug also occurs on Firefox Nightly on Android (93.0a1 (Build #2015828041))
Updated•3 years ago
|
Reporter | ||
Comment 12•3 years ago
|
||
This bug has been fixed for me on NixOS 22.05.20220321.1ec61dd (Quokka).
Comment 13•3 years ago
|
||
The bug assignee is inactive on Bugzilla, so the assignee is being reset.
Comment 14•2 years ago
|
||
This appears to be fixed by
2022-08-10T10:01:57.932000: DEBUG : Found commit message:
Bug 1695318 - Check if the parent node is perspective when considering back faces r=gw
Differential Revision: https://phabricator.services.mozilla.com/D136163
2022-08-10T10:01:57.932000: DEBUG : Did not find a branch, checking all integration branches
2022-08-10T10:01:57.934000: INFO : The bisection is done.
2022-08-10T10:01:57.934000: INFO : Stopped
Comment 15•2 years ago
|
||
The original issue reported was fixed. However, a new regression has appeared that will be tracked by bug 1783993
Description
•