blob: 350a517906898d98c290ced5fb5bc18ac033c206 [file] [log] [blame]
<div id="testQuoted1" style="background-image: url(file:///unquoted)"></div>
<div id="testQuoted2" style="background-image: url('file:///quoted')"></div>
<div id="testQuoted3" style="background-image: url('file:///should(Quote)')"></div>
<script>
function test(id, reason) {
alert(document.getElementById(id).style.getPropertyValue("background-image") + " (" + reason + ")");
}
if (window.testRunner)
testRunner.dumpAsText();
test("testQuoted1", "URL should be quoted");
test("testQuoted2", "URL should be quoted");
test("testQuoted3", "URL should be quoted");
</script>