diff options
Diffstat (limited to 'gfx/wr/wrench/invalidation/scroll_subpic_1.yaml')
-rw-r--r-- | gfx/wr/wrench/invalidation/scroll_subpic_1.yaml | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gfx/wr/wrench/invalidation/scroll_subpic_1.yaml b/gfx/wr/wrench/invalidation/scroll_subpic_1.yaml new file mode 100644 index 0000000000..f677f984b1 --- /dev/null +++ b/gfx/wr/wrench/invalidation/scroll_subpic_1.yaml @@ -0,0 +1,29 @@ +# This is intended to be a really simple imitation of what Gecko's +# display-list around the content scrolling viewport. In addition to the +# scroll-frame's clip (added by clip-to-frame) it also adds equivalent clips +# to everything inside, including inside the stacking context. The stacking +# context with partial opacity acts as a regression test for bug 1836063. + +root: + items: + - type: clip + id: 2 + bounds: [0, 0, 50, 50] + - type: clip-chain + id: 3 + clips: [2] + + - type: scroll-frame + bounds: [0, 0, 50, 50] + scroll-offset: [0, 0] + clip-to-frame: true + items: + - type: stacking-context + bounds: [0, 0, 100, 500] + filters: [opacity(0.9)] + clip-chain: 3 + items: + - type: rect + bounds: [0, 0, 100, 500] + color: green + clip-chain: 3 |