RE: [css-syntax] Error-correcting unclosed empty url()

> That is, the following two examples are equivalent per spec, assuming the
> file ends after the last character:
>     foo { background-image: url(foo
>     foo { background-image: url(foo)}
> This behavior is inconsistent across browsers - Firefox agrees with the spec
> and treats these as equivalent, but Chrome refuses to recognize a url() as
> valid until it sees the close parenthesis.

FWIW: IE renders the same as well

Received on Tuesday, 7 October 2014 22:03:17 UTC