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.
This commit is contained in:
Benjamin Otte
2016-02-05 19:01:48 +01:00
parent 982da040b2
commit 0c12601208
5 changed files with 35 additions and 16 deletions

View File

@ -0,0 +1,3 @@
radial-positions.css:2: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
radial-positions.css:5: error: GTK_CSS_PROVIDER_ERROR_SYNTAX
radial-positions.css:8: error: GTK_CSS_PROVIDER_ERROR_SYNTAX