fixed-position-clipping.yaml (1370B)
1 # This test ensures that children of fixed position stacking contexts are not 2 # clipped by parent clipping nodes. The contents of the fixed position stacking 3 # contexts below should not be clipped by their parent clipping nodes, but 4 # instead should be promoted to be children of the top-level reference frame. 5 --- 6 root: 7 items: 8 - 9 clip-rect: [15, 15, 30, 30] 10 type: scroll-frame 11 content-size: [60, 60] 12 bounds: [15, 15, 30, 30] 13 items: 14 - 15 bounds: [10, 10, 100, 100] 16 clip-rect: [10, 10, 100, 100] 17 type: stacking-context 18 items: 19 - 20 bounds: [0, 0, 100, 100] 21 clip-rect: [0, 0, 100, 100] 22 type: rect 23 color: 0 255 0 1.0 24 # The same test as above, except this time the stacking context also starts its 25 # own reference frame. 26 - 27 clip-rect: [115, 15, 30, 30] 28 type: scroll-frame 29 content-size: [60, 60] 30 bounds: [115, 15, 30, 30] 31 items: 32 - 33 bounds: [110, 10, 100, 100] 34 clip-rect: [110, 10, 100, 100] 35 id: 4 36 type: stacking-context 37 transform: [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1] 38 items: 39 - 40 bounds: [0, 0, 100, 100] 41 clip-rect: [0, 0, 100, 100] 42 type: rect 43 color: 0 255 0 1.0 44 id: [0, 1] 45 pipelines: []