Files
servo/components/layout
Simon Wülker 98c63925b6 layout: Create a webrender stacking context for fragments with transform-style: preserve-3d (#42755)
Such elements already establish stacking contexts, but we don't tell
webrender about them.

Two new failures appear, which I believe incorrectly passed before. We
fail because we don't support the concept of a [3D rendering
context](https://drafts.csswg.org/css-transforms-2/#3d-rendering-context).

If I understand correctly then we act as if a 3D rendering context was
the same as a stacking context, but elements in the same stacking
context may use different 3D coordinate systems, see
1903a5a804/css/css-transforms/transform3d-sorting-004.html (L9-L14)
for example.

Fixes https://github.com/servo/servo/issues/30474
Testing: New tests start to pass.

---------

Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
2026-02-22 22:31:24 +00:00
..