haikuwebkit/LayoutTests/fast/text/monospace-width-cache.html

11 lines
611 B
HTML

<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>