tor-browser

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

snapshot-dependency-ref.yaml (1311B)


      1 # This test contains a snapshotted stacking context which is defined
      2 # in a less "nested" part of the document than the image that displays
      3 # it (using a stack of filters to nest the image in multiple render
      4 # passes).
      5 # Without special care to render the snapshot before the image,
      6 # WebRender's render task graph would schedule the most nested part
      7 # first, causing the snapshot to be drawn too late.
      8 ---
      9 root:
     10  items:
     11    - type: stacking-context
     12      bounds: [0, 0, 1000, 1000]
     13      items:
     14      - type: stacking-context
     15        bounds: [0, 0, 128, 128]
     16        snapshot:
     17          name: "snap0"
     18        items:
     19          - type: rect
     20            bounds: [0, 0, 128, 128]
     21            color: [100, 100, 100]
     22 
     23      - type: stacking-context
     24        bounds: [0, 0, 2048, 2048]
     25        filter: grayscale(1)
     26        items:
     27        - type: stacking-context
     28          bounds: [0, 0, 2048, 2048]
     29          filter: grayscale(1)
     30          items:
     31          - type: stacking-context
     32            bounds: [0, 0, 2048, 2048]
     33            filter: grayscale(1)
     34            items:
     35            - type: stacking-context
     36              bounds: [0, 0, 2048, 2048]
     37              filter: grayscale(1)
     38              items:
     39              - type: rect
     40                bounds: [130, 0, 128, 128]
     41                color: [100, 100, 100]