gtk2/testsuite/css/parser/radial-positions.css
Benjamin Otte 0c12601208 cssimageradial: Only allow at "<position>" after other props
Don't allow syntax like
  at top left circle
but follow the spec about requiring the at <position> right before the
comma.

This is porbably because
  circle at 10px 10px
could be interpreted as
  circle 10px at 10px
with the now disallowed syntax, too.

Test included.
2016-02-05 19:31:47 +01:00

10 lines
220 B
CSS

a {
background-image: radial-gradient(at left circle, red, blue);
}
b {
background-image: radial-gradient(10px at left circle, red, blue);
}
c {
background-image: radial-gradient(at 10px 10px circle, red, blue);
}