80 |
} |
} |
81 |
if (document.getElementById ('format-test').checked) { |
if (document.getElementById ('format-test').checked) { |
82 |
this.action = uri + 'test'; |
this.action = uri + 'test'; |
83 |
|
} else if (document.getElementById ('format-xml').checked) { |
84 |
|
this.action = uri + 'xml'; |
85 |
} else { |
} else { |
86 |
this.action = uri + 'html'; |
this.action = uri + 'html'; |
87 |
} |
} |
106 |
</fieldset> |
</fieldset> |
107 |
<fieldset> |
<fieldset> |
108 |
<legend>Output format</legend> |
<legend>Output format</legend> |
109 |
<p><label title="Show the value of |document.innerHTML| if checked"><input type="radio" name="format" value="html" checked id="format-html"> |
<p><label title="Show the value of |document.innerHTML| (in HTML) if checked"><input type="radio" name="format" value="html" checked id="format-html"> |
110 |
<code>innerHTML</code></label></p> |
<code>innerHTML</code> (HTML)</label></p> |
111 |
|
<p><label title="Show the value of |document.innerHTML| (in XML) if checked"><input type="radio" name="format" value="xml" id="format-xml"> |
112 |
|
<code>innerHTML</code> (XML)</label></p> |
113 |
<p><label title="Show the parsed DOM in the format used in html5lib tests"><input type="radio" name="format" value="test" id="format-test"> |
<p><label title="Show the parsed DOM in the format used in html5lib tests"><input type="radio" name="format" value="test" id="format-test"> |
114 |
parser test</label></p> |
parser test</label></p> |
115 |
</fieldset> |
</fieldset> |