pjs/layout/html/tests/block/base/pre.html

46 строки
1.0 KiB
HTML

<html>
<head>
<title>Test case for PRE formatted text</title>
<style>
</style>
</head>
<body>
These next three sections should be spaced identical: there should be
a blank line before the preformatted text and a blank line after the
pre-formatted text, but no other blank lines.<br><br>
Before<pre>Preformatted text, no newlines inside</pre>After<br>
Before<pre>
Preformatted text, one newline after open-pre tag</pre>After<br>
Before<pre>
Preformatted text, one newline after open-pre tag and before close tag</pre>
After<br>
<hr>
<pre>
Make sure newlines are preserved: one
Make sure newlines are preserved: two
Make sure newlines are preserved: three
End of this section
</pre>
These next set of lines should be lined up neatly
<pre>
x x x x x x x x x end
X X X X X X X X X end
X x X x x X X x x end
</pre>
Make sure whitespace is preserved:
<pre> Five blanks<br> Four blanks<br> Three blanks<br> Two blanks<br> Blank<br>None!</pre>
</body>
</html>