tor-browser

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

scroll_subpic_1.yaml (879B)


      1 # This is intended to be a really simple imitation of what Gecko's
      2 # display-list around the content scrolling viewport.  In addition to the
      3 # scroll-frame's clip (added by clip-to-frame) it also adds equivalent clips
      4 # to everything inside, including inside the stacking context.  The stacking
      5 # context with partial opacity acts as a regression test for bug 1836063.
      6 
      7 root:
      8  items:
      9    - type: clip
     10      id: 2
     11      bounds: [0, 0, 50, 50]
     12    - type: clip-chain
     13      id: 3
     14      clips: [2]
     15 
     16    - type: scroll-frame
     17      bounds: [0, 0, 50, 50]
     18      scroll-offset: [0, 0]
     19      clip-to-frame: true
     20      items:
     21        - type: stacking-context
     22          bounds: [0, 0, 100, 500]
     23          filters: [opacity(0.9)]
     24          clip-chain: 3
     25          items:
     26            - type: rect
     27              bounds: [0, 0, 100, 500]
     28              color: green
     29              clip-chain: 3