You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A value of "flat" for transform-style establishes a stacking context, and establishes a 3D rendering context.
Chrome, Edge, Firefox and Safari support flat and preserve-3d, but not auto; they have initial value flat. I suspect they do not establish a stacking context and 3D rendering context whenever transform-style is flat.
The text was updated successfully, but these errors were encountered:
But Safari didn't do that, they had some additional special rules that caused descendants to stay in the 3d rendering context unless you said "flat". There was no indication of how that was achieved, but the only way we could figure out how to explain it was with a third "auto" value, which the spec now reflects.
I've been forever confused about this whole topic, and would welcome light shed on it from someone who understands the implementations.
There is a discrepancy between spec and implementations.
https://drafts.csswg.org/css-transforms-2/#transform-style-property
Chrome, Edge, Firefox and Safari support
flat
andpreserve-3d
, but notauto
; they have initial valueflat
. I suspect they do not establish a stacking context and 3D rendering context whenevertransform-style
isflat
.The text was updated successfully, but these errors were encountered: