tor-browser

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

aa-dist-bug.yaml (1142B)


      1 # Test that when the AA range is > 1, the AA is correctly applied to
      2 # an ellipse clip. This is a regression test for issue #2576.
      3 # The rectangles below mask out most of the box shadow and rounded
      4 # corners, which are not relevant to what is being tested here.
      5 ---
      6 root:
      7  items:
      8    - type: stacking-context
      9      transform: rotate-z(-45) rotate-x(-60)
     10      transform-origin: 300 300
     11      items:
     12        - type: box-shadow
     13          bounds: [0, 0, 150, 150]
     14          color: black
     15          offset: [150, 50]
     16          border-radius: 8
     17 
     18        - type: clip
     19          id: 2
     20          complex:
     21            - rect: [90, 0, 150, 150]
     22              radius: 8
     23 
     24        - type: clip-chain
     25          id: 10
     26          clips: [2]
     27 
     28        - type: rect
     29          color: red
     30          border-radius: 8
     31          bounds: [90, 0, 150, 150]
     32          clip-chain: 10
     33 
     34    - type: rect
     35      color: white
     36      bounds: [250, 100, 240, 84]
     37 
     38    - type: rect
     39      color: white
     40      bounds: [250, 204, 240, 70]
     41 
     42    - type: rect
     43      color: white
     44      bounds: [240, 100, 100, 150]
     45 
     46    - type: rect
     47      color: white
     48      bounds: [390, 100, 100, 150]