tor-browser

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

fractional-sticky.yaml (780B)


      1 # Verify that fractional scroll offsets are correctly snapped before
      2 # being included in nested sticky frames.
      3 root:
      4  items:
      5    - type: scroll-frame
      6      id: 2
      7      bounds: [0, 0, 1000, 1000]
      8      content-size: [1000, 8000]
      9      scroll-offset: [0, 1000.7]
     10      items:
     11        - type: rect
     12          bounds: [0, 0, 200, 800.6667]
     13          color: blue
     14        - type: rect
     15          bounds: [0, 800.6667, 400, 600]
     16          color: black
     17        - type: sticky-frame
     18          bounds: [0, 818.1667, 20, 20]
     19          margin-top: 399
     20          vertical-offset-bounds: [0, 561.5]
     21          items:
     22            - type: rect
     23              bounds: [0, 819.1667, 20, 20]
     24              color: green
     25        - type: rect
     26          bounds: [0, 1400.6667, 20, 20]
     27          color: red