summaryrefslogtreecommitdiffstats
path: root/gfx/wr/wrench/reftests/transforms/raster-root-huge-scale.yaml
blob: acdcc61d56a2db670fc34fcd4374c64c49cabc6d (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
# Tests that raster roots with very large scaling factors do not cause device rects to overflow.
# See bug 1642440
---
root:
  items:
    - type: stacking-context
      bounds: 0 0 0 0
      transform: scale(99999999)
      transform-style: preserve-3d
      filters: invert(1)
      items:
        - type: stacking-context
          bounds: 0 0 0 0
          transform: scale(0.0000001)
          transform-style: preserve-3d
          items:
            - type: clip
              clip-rect: [0, 0, 60000, 60000]
              id: 2
              complex:
                - rect: [0, 0, 100, 100]
                  radius: [20, 20]
                  "clip-mode": clip
            - type: stacking-context
              bounds: 0 0 0 0
              items:
                - rect: 0 0 100 100
                  color: red
                  clip-chain: [2]
            - type: box-shadow
              bounds: 0 0 100 100
              color: blue
              offset: 10 20
              blur-radius: 10
              border-radius: [ 20, 20, 20, 20 ]