tor-browser

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

raster-roots-tiled-mask.yaml (598B)


      1 # Verify that tiled image clip masks are correctly positioned when the
      2 # underlying surface has established a raster root
      3 ---
      4 root:
      5  items:
      6    - type: scroll-frame
      7      bounds: [0, 0, 8, 1024]
      8      content-size: [8, 2048]
      9      scroll-offset: [0, 1024]
     10      items:
     11        - type: clip
     12          id: 2
     13          image-mask:
     14            image: solid-color(128,0,0,0,8,1024)
     15            rect: [0, 0, 8, 2048]
     16            repeat: false
     17        - type: stacking-context
     18          clip-chain: [2]
     19          items:
     20          - type: rect
     21            bounds: [0, 1024, 8, 128]
     22            color: red