dholbert%cs.stanford.edu 723ad12919 Bug 399384: Make first-letter frames use nearest ancestor blockFrame's content node, instead of direct parent's.
r=bzbarsky, r+a=roc


git-svn-id: svn://10.0.0.236/trunk@237923 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 17:41:29 +00:00

19 lines
550 B
HTML

<html class="reftest-wait">
<head>
<style type="text/css">
p:first-line { font-family: monospace }
p:first-letter { font-family: sans-serif }
</style>
<script>
function tweak() {
document.body.style.background = 'lightblue';
document.documentElement.className = "";
}
</script>
</head>
<body onload="tweak();">
<p style="width: 100px"><span>The first letter of this paragraph should be
in sans-serif while the first-line should be in monospace.</span></p>
</body>
</html>