tor-browser

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

mix-blend.yaml (636B)


      1 # Verify that we don't promote compositor surfaces within a root level blend container,
      2 # as that can prevent correct blending with the compositor surface.
      3 ---
      4 root:
      5  items:
      6    - type: stacking-context
      7      blend-container: true
      8      items:
      9        - type: rect
     10          bounds: [50, 50, 362, 362]
     11          color: green
     12        - image: transparent-checkerboard(2,16,16)
     13          bounds: [100, 100, 262, 262]
     14          prefer-compositor-surface: true
     15        - type: stacking-context
     16          mix-blend-mode: multiply
     17          items:
     18            - type: rect
     19              bounds: [150, 150, 162, 162]
     20              color: red