clip-3d-transform.yaml (1028B)
1 # This tests that clipping works well inside of a transformation with a 3d component that 2 # is still axis-aligned and lacking a perspective component. These two spaces should exist 3 # within a compatible coordinate system for local clipping (no masking). 4 --- 5 root: 6 items: 7 - 8 bounds: [0, 0, 0, 0] 9 "clip-rect": [0, 0, 0, 0] 10 "backface-visible": true 11 type: "stacking-context" 12 "scroll-policy": scrollable 13 transform: [0.5, 0, -0.8660254, 0, 0, 1, 0, 0, 0.8660254, 0, 0.5, 0, 0, 0, 0, 1] 14 "transform-style": flat 15 filters: [] 16 items: 17 - 18 bounds: [0, 0, 800, 400] 19 "clip-rect": [0, 0, 800, 400] 20 "backface-visible": true 21 type: clip 22 id: 2 23 "content-size": [800, 400] 24 - type: clip-chain 25 id: 3 26 clips: [2] 27 - 28 bounds: [0, 0, 400, 200] 29 "clip-rect": [0, 0, 400, 200] 30 "backface-visible": true 31 type: rect 32 clip-chain: 3 33 color: green