tor-browser

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

ext-scroll-offset-rounded-clip.yaml (508B)


      1 # Test that items with an external scroll offset correctly
      2 # apply that offset to rounded rect clips
      3 root:
      4  items:
      5    - type: scroll-frame
      6      bounds: [0, 0, 100, 100]
      7      content-size: [100, 1000]
      8      scroll-offset: [0, 0]
      9      external-scroll-offset: [0, 50]
     10      items:
     11        - type: clip
     12          id: 3
     13          complex:
     14            - rect: [0, 50, 100, 100]
     15              radius: 32
     16        - type: rect
     17          color: green
     18          bounds: [0, 50, 100, 100]
     19          clip-chain: [3]