tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

raster-root-huge-scale.yaml (1054B)


      1 # Tests that raster roots with very large scaling factors do not cause device rects to overflow.
      2 # See bug 1642440
      3 ---
      4 root:
      5  items:
      6    - type: stacking-context
      7      bounds: 0 0 0 0
      8      transform: scale(99999999)
      9      transform-style: preserve-3d
     10      filters: invert(1)
     11      items:
     12        - type: stacking-context
     13          bounds: 0 0 0 0
     14          transform: scale(0.0000001)
     15          transform-style: preserve-3d
     16          items:
     17            - type: clip
     18              clip-rect: [0, 0, 60000, 60000]
     19              id: 2
     20              complex:
     21                - rect: [0, 0, 100, 100]
     22                  radius: [20, 20]
     23                  "clip-mode": clip
     24            - type: stacking-context
     25              bounds: 0 0 0 0
     26              items:
     27                - rect: 0 0 100 100
     28                  color: red
     29                  clip-chain: [2]
     30            - type: box-shadow
     31              bounds: 0 0 100 100
     32              color: blue
     33              offset: 10 20
     34              blur-radius: 10
     35              border-radius: [ 20, 20, 20, 20 ]