gecko/layout/html/tests/block/bugs/5119.html

46 lines
4.1 KiB
HTML

<html>
<head>
<title>
Invalid &lt;dd&gt; indentation
</title>
<style type="text/css">
.filler {color: #CCCCCC}
</style>
</head>
<body>
<h1>Invalid &lt;dd&gt; for Indentation</h1>
<h2>Set 1 - &lt;dd&gt; indentation tests</h2>
<p>Misplaced end tags appear after the test number, before the description.</p>
<hr width=50%>
<dd>Test 1</dd> with misplaced end tag. <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span><br>
<dd>Test 2</dd> with misplaced end tag and preceding break. <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span><br>
<dd></dd>
<dd>Test 3</dd> with misplaced end tag and after empty &lt;dd&gt; with preceding break and end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd></dd>
<dd>Test 4</dd> with misplaced end tag and after empty &lt;dd&gt; with no preceding break and with end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd>Test 5</dd> with misplaced end tag and no preceding break. <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span><br>
<dd>Test 6 with preceding break and no end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd>Test 7 with no preceding break and no end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span><br>
<dd>
<dd>Test 8 with no end tag and after empty &lt;dd&gt; with preceding break and no end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd>
<dd>Test 9 with no end tag and after empty &lt;dd&gt; with no preceding break and no end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd>
<dd>
<dd>
<dd>Test 10 with no end tag and after three empty &lt;dd&gt;s with no preceding break and no end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<p>
<dd>Test 11 with no end tag and after empty &lt;p&gt; without end tag <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd>Dummy Test with no end tag and no preceding break <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dd><p>Test 12 (paragraph) structure: &lt;dd&gt;&lt;p&gt;Test <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<hr>
<h2>Set 2 - Valid List
<hr width=50%>
<dl>
<dt>term
<dd>Definition <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
<dt>term
<dd>Definition <span class="filler">(filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text filler text)</span>
</dl>