зеркало из https://github.com/mozilla/pjs.git
46 строки
4.1 KiB
HTML
46 строки
4.1 KiB
HTML
<html>
|
|
<head>
|
|
<title>
|
|
Invalid <dd> indentation
|
|
</title>
|
|
<style type="text/css">
|
|
.filler {color: #CCCCCC}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1>Invalid <dd> for Indentation</h1>
|
|
<h2>Set 1 - <dd> 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 <dd> 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 <dd> 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 <dd> 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 <dd> 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 <dd>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 <p> 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: <dd><p>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> |