summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/blend/isolated.yaml
blob: 456adba4b94f8c709af16f9128b171e3c25c5f16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
root:
  items:
        - type: rect
          bounds: [0, 0, 100, 100]
          color: [255, 0, 0]
        # this stacking context should create an isolated group for its children
        # causing the yellow rect to not blend with the green backdrop
        - type: stacking-context
          bounds: [0, 0, 100, 100]
          items:
            - type: stacking-context
              bounds: [0, 0, 100, 100]
              mix-blend-mode: difference
              items:
                - type: rect
                  bounds: [0, 0, 100, 100]
                  color: [255, 255, 0]