nilref / ie7-js

Automatically exported from code.google.com/p/ie7-js
2 stars 0 forks source link

content: url does not support quotes in IE #352

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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