tor-browser

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

clipped-occlusion.yaml (717B)


      1 # This is a regression test for https://bugzilla.mozilla.org/show_bug.cgi?id=1594567
      2 # The single clip node from the primitive inside the scroll frame will be promoted
      3 # to a 'shared clip' in the picture cache for the scroll frame. Ensure that this clip
      4 # (zero sized in this test) is included in the tile occlusion culling.
      5 ---
      6 root:
      7  items:
      8    -
      9      type: rect
     10      bounds: [0, 0, 500, 500]
     11      color: red
     12    -
     13      type: scroll-frame
     14      content-size: [1000, 10000]
     15      bounds: [0, -5000, 1000, 10000]
     16      items:
     17       - type: clip
     18         id: 2
     19         bounds: [0, 0, 0, 0]
     20       -
     21        bounds: [0, -5000, 1000, 10000]
     22        type: rect
     23        color: green
     24        clip-chain: [2]
     25