Source code

Revision control

Copy as Markdown

Other Tools

# Ensure that preserve-3d items are correctly batched with transparent siblings.
---
root:
items:
-
type: stacking-context
transform-style: "preserve-3d"
items:
-
type: rect
bounds: [8, 8, 200, 200]
color: blue
-
type: stacking-context
transform-style: "preserve-3d"
items:
-
type: rect
bounds: [8, 208, 200, 200]
color: blue
- type: rect
color: [255, 0, 0, 0.5]
bounds: [8, 408, 200, 200]
-
type: stacking-context
transform-style: "preserve-3d"
items:
-
type: rect
bounds: [8, 408, 200, 200]
color: blue