tor-browser

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

rounded-corners-4.yaml (634B)


      1 # Ensure that shared (compositor applied) clip correctly handles transform from
      2 # (axis-aligned) local coordinate system to device coordinate system
      3 ---
      4 root:
      5  items:
      6    - type: stacking-context
      7      transform: scale(0.5)
      8      items:
      9        - type: clip
     10          id: 2
     11          complex:
     12            - rect: [50, 50, 200, 200]
     13              radius: 100
     14 
     15        - type: clip
     16          id: 3
     17          bounds: [300, 50, 0, 0]
     18 
     19        - type: rect
     20          bounds: 50 50 200 200
     21          color: red
     22          clip-chain: [2]
     23 
     24        - type: rect
     25          bounds: 300 50 200 200
     26          color: red
     27          clip-chain: [2]