Using CSS3 background-size within the background
shorthand property results in syntax error
#1116
Labels
Milestone
background
shorthand property results in syntax error
#1116
CSS3’s new
background-size
property can be included in thebackground
shorthand declaration by separating it from thebackground-position
specification with a forward slash, like this:The result is a syntax error, though, with the parser obviously choking on the
/ contain
part—removing it also makes the error disappear.Of course it is possible to work around this issue by escaping the entire value of the
background
property with~"…"
, but it would be really nice to be able to use the default syntax without restrictions.The text was updated successfully, but these errors were encountered: