summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/blend/raster-roots-1.yaml
blob: fabb7c54718cdeb1731c037f207f094d80b4006c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Verify that when a picture cache is both a raster root and also a blend container,
# the readback correctly maps to local raster-space, not final device-space.
---
root:
  items:
    - type: iframe
      id: [1, 2]
      bounds: [0, 100, 1000, 1000]

pipelines:
  - id: [1, 2]
    items:
      - type: stacking-context
        blend-container: true
        items:
          - type: scroll-frame
            bounds: [0, 0, 1000, 1000]
            content-size: [1000, 10000]
            items:
              - type: gradient
                bounds: [0, 0, 100, 100]
                start: [0, 0]
                end: [100, 0]
                stops: [0.0, [255, 0, 0, 1], 1.0, [0, 255, 0, 1]]
              - type: stacking-context
                mix-blend-mode: difference
                items:
                  - type: gradient
                    bounds: [0, 0, 100, 100]
                    start: [0, 0]
                    end: [100, 0]
                    stops: [0.0, [255, 0, 0, 1], 1.0, [0, 255, 0, 1]]