gtk/testsuite/gsk/nodeparser/radial-gradient-start-end.node
Benjamin Otte 68d73dcce5 nodeparser: Handle disallowed values for radial gradients
Make sure the radii are strictly positive.

Also handle the case where start >= end.
We can't really underline that error, because we don't track the
locations of the start/end properties until we know that there's an
error.
So just underline the whole radial gradient declaration.

Test included
2024-08-11 19:07:40 +02:00

18 lines
159 B
Plaintext

radial-gradient {
start: 1;
end: 0;
}
radial-gradient {
start: 0.5;
end: 0.5;
}
radial-gradient {
hradius: 0;
}
radial-gradient {
vradius: 0;
}