gecko-dev/layout/reftests/first-letter/parent-style-1-ref.html
bzbarsky@mit.edu 3ea8e23bb9 Adding test
2007-11-08 21:41:59 -08:00

12 lines
367 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
div { float: left; overflow: scroll; font-size: 50px; width: 3em; line-height: 10px }
div::first-letter { float: left; }
</style>
<body>
<div>T<span style="font-size: 10px">his is text in a div. Text in a div. Text in a div. Text in a div. Text in a div. Text in a div. Text in a div. Text in a div.</div>
</body>
</html>