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
> 
> Do you mean it treats them the same, like Firefox?
> 
> ~TJ

Yes, here is a screenshot: http://imgur.com/CiVRgnW


Here is the fiddle: http://jsfiddle.net/3pu104rb/


Greg

Received on Wednesday, 8 October 2014 01:11:05 UTC