tor-browser

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

norm-linear-degenerate.yaml (507B)


      1 # see: https://www.w3.org/TR/2012/CR-css3-images-20120417/#repeating-gradients
      2 # the spec says that repeating gradients with color stops in the same offset
      3 # must render as a solid rect with color equal to the average color of the
      4 # gradient. Gecko and Blink seem to draw it with color equal to the last stop
      5 # so that is the behavior tested here
      6 ---
      7 root:
      8  items:
      9    - type: gradient
     10      bounds: 50 50 300 300
     11      start: 0 150
     12      end: 300 150
     13      stops: [0.5, blue, 0.5, red]
     14      repeat: true