tor-browser

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

scroll-generation-3.yaml (599B)


      1 # Test that an scroll frame having an invalid scroll generation on the
      2 # main-thread. The least scroll generation offset should be used, in this case
      3 # it's 10th generation.
      4 root:
      5  items:
      6    - type: scroll-frame
      7      bounds: [0, 0, 100, 100]
      8      content-size: [100, 1000]
      9      scroll-offsets:
     10        - offset: [0, -10]
     11          generation: 10
     12        - offset: [0, -100]
     13          generation: 11
     14      external-scroll-offset: [0, 50]
     15      scroll-generation: 0
     16      has-scroll-linked-effect: true
     17      items:
     18        - type: rect
     19          color: green
     20          bounds: [0, 50, 100, 100]