duckfly-tw/ie7-js

content: url does not support quotes in IE

Opened this issue · 0 comments

What steps will reproduce the problem?
1. Create a div element with id "testdiv"
2. Create a stylesheet with #testdiv:before{content: url("path-to-image");}

What is the expected output? What do you see instead?
Should see image, but don't see image.

What version of the product are you using? On what operating system?
Using IE9.js on an IE8 browser.

Please provide any additional information below.
Works in Firefox, but in IE the use of quotes stops image from being displayed. 
Obviously quotes can just be omitted, but the CSS spec calls for their optional 
inclusion.

Original issue reported on code.google.com by p.d.rich...@gmail.com on 16 Nov 2011 at 11:39