gecko/layout/reftests/text/justification-1.html

18 lines
618 B
HTML

<!DOCTYPE HTML>
<html>
<body style="line-height:1.5em; width:6em; text-align:justify; border:1px solid black;">
<!-- Test which white-space values are allowed to take justification -->
<p style="white-space:normal;">I am the
very model of a modern major-general.</p>
<p style="white-space:nowrap;">I am the
very model of a modern major-general.</p>
<p style="white-space:pre;">I am the
very model of a modern major-general.</p>
<p style="white-space:pre-wrap;">I am the
very model of a modern major-general.</p>
<p style="white-space:pre-line;">I am the
very model of a modern major-general.</p>
</body></html>