tor-browser

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

scroll-frame-order.yaml (800B)


      1 # Tests that scroll frames can be defined and used in any order.
      2 
      3 ---
      4 root:
      5  items:
      6    - type: scroll-frame
      7      bounds: [0, 0, 50, 50]
      8      content-size: [50, 50]
      9      clip-rect: [0, 0, 50, 50]
     10      id: 123
     11    - type: rect
     12      bounds: [0, 0, 50, 50]
     13      color: red
     14      spatial-id: 123
     15    - type: scroll-frame
     16      bounds: [50, 0, 50, 50]
     17      content-size: [50, 50]
     18      clip-rect: [50, 0, 50, 50]
     19      scroll-offset: [0, -25]
     20      id: 456
     21    - type: rect
     22      bounds: [50, 0, 50, 50]
     23      color: green
     24      spatial-id: 456
     25    - type: scroll-frame
     26      bounds: [100, 0, 50, 50]
     27      content-size: [50, 50]
     28      clip-rect: [100, 0, 50, 50]
     29      scroll-offset: [0, -15]
     30      id: 789
     31    - type: rect
     32      bounds: [100, 0, 50, 50]
     33      color: blue
     34      spatial-id: 789