tor-browser

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

mix-blend-clip.yaml (880B)


      1 # Test that a backdrop which has both a shared clip (on the tile cache) and is also scrolled
      2 # correctly calculates the available backdrop rect for a mix-blend on a child.
      3 ---
      4 root:
      5  items:
      6    -
      7      bounds: [0, 0, 128, 128]
      8      type: clip
      9      id: 2
     10    - type: clip-chain
     11      id: 12
     12      clips: [2]
     13    - type: stacking-context
     14      blend-container: true
     15      items:
     16        - type: scroll-frame
     17          bounds: 0 0 128 512
     18          scroll-offset: [0, 128]
     19          id: 3
     20          items:
     21            - type: rect
     22              bounds: [0, 0, 128, 512]
     23              color: magenta
     24              spatial-id: 3
     25              clip-chain: 12
     26            - type: stacking-context
     27              mix-blend-mode: lighten
     28              clip-chain: 12
     29              items:
     30                - image: checkerboard(0, 16, 16, 8, 16)
     31                  bounds: [0, 0, 128, 256]