tor-browser

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

radial-border-radius-large.yaml (547B)


      1 # This test contains a radial gradient with rounded corners.
      2 # The primitive is large enough to exercise the quad nine-patch
      3 # code path.
      4 # In addition the primitive contains a large solid color portion
      5 # causing the gradient optimization to split it into two primitives. 
      6 ---
      7 root:
      8  items:
      9    - type: clip
     10      id: 5
     11      complex:
     12        - rect: [10, 10, 750, 500]
     13          radius: 32
     14    - type: radial-gradient
     15      bounds: 10 10 750 500
     16      center: 0 0
     17      radius: 400 350
     18      stops: [0.0, red, 1.0, blue]
     19      clip-chain: [5]