I would like to know why webkit-backface-visibility is similar to this universal aspirin, which solves or worsens all heterogeneous problems, mainly related to artifacts and flicker.
I read and understood what really the backface-visibility intended for: it controls that 3D-rotated objects are visible when they are not facing the screen. There is a good demo here
But I'm curious why every time I get strange glitches in the CSS world, they are completely unrelated to 3D rotations and their hidden images , applying backface-visibility to a problem layer or to one of its ancestors usually helps make things worse, but rarely doing nothing. I'm talking about things like
- Animation flickering
- Fixed problems with Z-level indicators.
- Display: no <> visible flicker and artifacts
- Flicker scroll
Interesting and always in my humble experience, backface-visibility:hidden tends to solve problems with fixed positioning, and backface-visibility:visible is the βbestβ for flickering. Itβs also interesting that the side effects are different in Chrome and Safari, but there is a boy!
I am working on a creator of Visual HTML, so the situations were flickering / artifacts were rather complicated (i.e. animation over several layers, scrolling div for fixed elements, absolute for fixed with z-index ....)
Can anyone enlighten me?
source share