mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 15:01:23 +00:00
1b553478f6
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.
12 lines
291 B
CSS
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;
|
|
}
|
|
|