71 |
if (document.getElementById ('html5').checked) { |
if (document.getElementById ('html5').checked) { |
72 |
uri += 'html/'; |
uri += 'html/'; |
73 |
uri += document.getElementById ('element').value + '/'; |
uri += document.getElementById ('element').value + '/'; |
74 |
|
} else if (document.getElementById ('h2h').checked) { |
75 |
|
uri += 'h2h/'; |
76 |
|
uri += document.getElementById ('element').value + '/'; |
77 |
} else { |
} else { |
78 |
uri += 'xhtml/'; |
uri += 'xhtml/'; |
79 |
uri += '/'; |
uri += '/'; |
98 |
<fieldset> |
<fieldset> |
99 |
<p><label title="Show any HTML5 parse errors if checked"><input type="radio" name="input-format" id="html5" onchange="element.disabled = false" checked> HTML5</label></p> |
<p><label title="Show any HTML5 parse errors if checked"><input type="radio" name="input-format" id="html5" onchange="element.disabled = false" checked> HTML5</label></p> |
100 |
<p><label title="Show any XML 1.0/1.1 parse errors if checked (using a non-validating parser)"><input type="radio" name="input-format" onchange="element.disabled = true" id="xhtml5"> XHTML5</label></p> |
<p><label title="Show any XML 1.0/1.1 parse errors if checked (using a non-validating parser)"><input type="radio" name="input-format" onchange="element.disabled = true" id="xhtml5"> XHTML5</label></p> |
101 |
|
<p><label title="Parse as H2H document if checked"><input type="radio" name="input-format" id="h2h" onchange="element.disabled = true"> H2H</label></p> |
102 |
<p><input type="text" name="element" id="element" value="" title="If specified, the input is parsed by the fragment parsing (innerHTML) algorithm."></p> |
<p><input type="text" name="element" id="element" value="" title="If specified, the input is parsed by the fragment parsing (innerHTML) algorithm."></p> |
103 |
<p><label title="Show any conformance error of the parsed DOM tree if checked"><input type="checkbox" name="dom5"> DOM5 HTML</label></p> |
<p><label title="Show any conformance error of the parsed DOM tree if checked"><input type="checkbox" name="dom5"> DOM5 HTML</label></p> |
104 |
</fieldset> |
</fieldset> |