blob: 4f54a482fe58c0b78fa35edf369927a9fd5e9bb8 [file] [log] [blame]
<html>
<body>
<p>Test for monospace width cache bug mentioned in <a href="http://bugs.webkit.org/show_bug.cgi?id=11197">bug 11197</a> <i>REGRESSION: Specifying a counter for a CODE tag's content style property on before or after causes a crash</i>.</p>
<p>The blue line and the black line should be the same length.</p>
<p><span id="q" style="font-family: monospace, 'Helvetica'; border-bottom: 1px solid blue;"> </span></p>
<script>
document.getElementById("q").firstChild.data = "\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500";
</script>
</body>
</html>