perspective-surface-scale.yaml (508B)
1 # Verify that we select a reasonable scale factor for perspective surfaces that don't 2 # have a requested scale factor supplied by the caller (based on projected screen rect) 3 root: 4 items: 5 - type: "stacking-context" 6 perspective: 1000 7 transform-style: preserve-3d 8 items: 9 - type: "stacking-context" 10 transform-origin: 175 175 11 transform: rotate-x(-20) rotate-y(20) 12 items: 13 - image: checkerboard(2, 22, 16) 14 bounds: [0, 0, 350, 350]