summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/aa/aa-dist-bug.yaml
blob: 19b747aabce4adf42a94b97995100ecbbab2556f (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
38
39
40
41
42
43
# Test that when the AA range is > 1, the AA is correctly applied to
# an ellipse clip. This is a regression test for issue #2576.
# The rectangles below mask out most of the box shadow and rounded
# corners, which are not relevant to what is being tested here.
---
root:
  items:
    - type: stacking-context
      transform: rotate-z(-45) rotate-x(-60)
      transform-origin: 300 300
      items:
        - type: box-shadow
          bounds: [0, 0, 150, 150]
          color: black
          offset: [150, 50]
          border-radius: 8

        - type: clip
          bounds: [90, 0, 150, 150]
          complex:
            - rect: [90, 0, 150, 150]
              radius: 8
          items:
          - type: rect
            color: red
            border-radius: 8
            bounds: [90, 0, 150, 150]

    - type: rect
      color: white
      bounds: [250, 100, 240, 84]

    - type: rect
      color: white
      bounds: [250, 204, 240, 70]

    - type: rect
      color: white
      bounds: [240, 100, 100, 150]

    - type: rect
      color: white
      bounds: [390, 100, 100, 150]