summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/clip/stacking-context-clip-ref.yaml
blob: 412309ccdafb79fb917cdfa7c6c37a5cb07c8d0d (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
33
34
35
36
37
---
root:
  items:
  - type: clip
    id: 2
    complex:
      - rect: [0, 0, 100, 100]
        radius: {
          top-left: 50,
          top-right: 50,
          bottom-left: 50,
          bottom-right: 50,
        }
  - type: clip-chain
    id: 12
    clips: [2]
  - type: stacking-context
    bounds: [0, 0, 100, 100]
    items:
      - type: rect
        bounds: [ 0, 0, 100, 100 ]
        color: [0, 255, 0]
        clip-chain: 12
  - type: clip
    id: 3
    bounds: [120, 0, 50, 50]
  - type: clip-chain
    id: 13
    clips: [3]
  - type: stacking-context
    bounds: [100, 0, 100, 100]
    filters: hue-rotate(90)
    items:
      - type: rect
        bounds: [ 0, 0, 100, 100 ]
        color: [0, 255, 0]
        clip-chain: 13