norm-radial-degenerate.yaml (520B)
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: radial-gradient 10 bounds: 50 50 300 300 11 center: 150 150 12 radius: 150 150 13 stops: [0.5, blue, 0.5, red] 14 repeat: true