tor-browser

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

scale-offsets.yaml (506B)


      1 # Test that a scroll-frame nested within a scale
      2 # transform correctly calculates local offsets.
      3 root:
      4  items:
      5    - type: stacking-context
      6      transform: scale(0.5)
      7      items:
      8        - type: scroll-frame
      9          id: 2
     10          bounds: [100, 100, 100, 100]
     11          content-size: [260, 260]
     12          scroll-offset: [0, 60]
     13          clip-to-frame: true
     14          items:
     15            - type: rect
     16              color: green
     17              bounds: [100, 100, 260, 260]
     18              clip-chain: [2]