<div id="testUnquoted" style="background-image: url(file:///unquoted)"></div>
<div id="testQuoted" style="background-image: url('file:///quoted')"></div>
<div id="testShouldQuote" 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("testUnquoted", "URL should be quoted");
test("testQuoted", "URL should be quoted");
test("testShouldQuote", "URL should be quoted");
</script>
