snapshot-huge.yaml (836B)
1 # This test case contains a very large (32k) snapshot which WebRender has 2 # to render somehow (by down-scaling it presumably). The sizes and offsets 3 # use multiples of 64px to avoid fuzziness from down-scaling by a factor of 4 # up to 64. 5 --- 6 root: 7 items: 8 - type: stacking-context 9 bounds: [0, 0, 100, 100] 10 items: 11 - type: stacking-context 12 bounds: [100000, 0, 40000, 40000] 13 snapshot: 14 name: "snap0" 15 area: [-64, -64, 32896, 32896] 16 items: 17 - type: rect 18 bounds: [0, 0, 32768, 32768] 19 color: [0, 150, 0] 20 - type: rect 21 bounds: [256, 256, 1024, 1024] 22 color: [150, 0, 0] 23 24 - type: rect 25 bounds: [0, 0, 514, 514] 26 color: [100, 0, 0] 27 - image: snapshot(snap0) 28 bounds: [0, 0, 514, 514]