gecko-dev/layout/reftests/first-letter/quote-1d.html
bzbarsky%mit.edu 5bc00870a9 Make first-letter frames use the content parent of the textnode as their
content.  Add some first-letter tests, and a few assertions.  Bug 367650, r+sr=roc
2007-02-28 22:32:00 +00:00

20 lines
427 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
div { color: black; }
div::first-letter { color: green; }
</style>
</head>
<body>
<div><span></span></div>
<script>
document.body.offsetWidth;
document.getElementsByTagName("span")[0].
appendChild(document.createTextNode('"'));
document.getElementsByTagName("span")[0].
appendChild(document.createTextNode('This is text"'));
</script>
</body>
</html>