gtk/testsuite/reftests/repeating-radial-gradient-at-beginning.css
Benjamin Otte 1b553478f6 cssimageradial: Handle "partial" gradients correctly
When the first/last color stop is not at 0%/100%, we need to start the
repeating at their offsets and not at 0%/100%.

Attached reftest demonstrates the problem.
2016-12-20 18:01:12 +01:00

12 lines
291 B
CSS

window {
background: repeating-radial-gradient(red 50%, blue, red);
}
#reference {
background-image: radial-gradient(red, blue, red), repeating-radial-gradient(red 50%, blue, red);
background-size: 50% 50%, 100% 100%;
background-repeat: no-repeat;
background-position: center;
}