diff options
Diffstat (limited to 'htdocs/dev/tests')
-rw-r--r-- | htdocs/dev/tests/html5-error-explanation.html | 6 | ||||
-rw-r--r-- | htdocs/dev/tests/html5-ok.html | 9 | ||||
-rw-r--r-- | htdocs/dev/tests/html5-precise-error.html | 9 | ||||
-rw-r--r-- | htdocs/dev/tests/html5-range-error.html | 9 | ||||
-rw-r--r-- | htdocs/dev/tests/html5-warning.html | 9 | ||||
-rwxr-xr-x | htdocs/dev/tests/index.html | 44 |
6 files changed, 84 insertions, 2 deletions
diff --git a/htdocs/dev/tests/html5-error-explanation.html b/htdocs/dev/tests/html5-error-explanation.html new file mode 100644 index 0000000..31f93d4 --- /dev/null +++ b/htdocs/dev/tests/html5-error-explanation.html @@ -0,0 +1,6 @@ +<!DOCTYPE html> +<html><head><title>Error, with elaboration</title></head> +<body> +<a ref="foo"></a> +</body></html> + diff --git a/htdocs/dev/tests/html5-ok.html b/htdocs/dev/tests/html5-ok.html new file mode 100644 index 0000000..81cbd64 --- /dev/null +++ b/htdocs/dev/tests/html5-ok.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title>No message</title> +</head> +<body> +<p>No message</p> +</body> +</html>
\ No newline at end of file diff --git a/htdocs/dev/tests/html5-precise-error.html b/htdocs/dev/tests/html5-precise-error.html new file mode 100644 index 0000000..be97a02 --- /dev/null +++ b/htdocs/dev/tests/html5-precise-error.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title>Tokenizer error</title> +</head> +<body> +<p>&a</p> +</body> +</html>
\ No newline at end of file diff --git a/htdocs/dev/tests/html5-range-error.html b/htdocs/dev/tests/html5-range-error.html new file mode 100644 index 0000000..59041a4 --- /dev/null +++ b/htdocs/dev/tests/html5-range-error.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title>Tree builder error</title> +</head> +<body> +<p><span></p> +</body> +</html>
\ No newline at end of file diff --git a/htdocs/dev/tests/html5-warning.html b/htdocs/dev/tests/html5-warning.html new file mode 100644 index 0000000..02ba8df --- /dev/null +++ b/htdocs/dev/tests/html5-warning.html @@ -0,0 +1,9 @@ +<!DOCTYPE html> +<html> +<head> +<title>Warning</title> +</head> +<body> +<p class=foo<bar></p> +</body> +</html>
\ No newline at end of file diff --git a/htdocs/dev/tests/index.html b/htdocs/dev/tests/index.html index 234dd56..ad07c5b 100755 --- a/htdocs/dev/tests/index.html +++ b/htdocs/dev/tests/index.html @@ -1,6 +1,6 @@ -<!--#set var="revision" value="\$Id: index.html,v 1.106 2008-07-28 19:44:54 ot Exp $" ---><!--#set var="date" value="\$Date: 2008-07-28 19:44:54 $" +<!--#set var="revision" value="\$Id: index.html,v 1.107 2008-08-20 19:32:00 ot Exp $" +--><!--#set var="date" value="\$Date: 2008-08-20 19:32:00 $" --><!--#set var="title" value="The W3C Markup Validation Service: Tests" --><!--#set var="relroot" value="../../" --><!--#include virtual="../../header.html" --> @@ -151,6 +151,14 @@ (test for </p> + <h5>HTML5 support test</h5> + <p> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-ok.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-ok.html;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-ok.html">view</a>: + HTML5 sample document.</p> + + <h5>ISO-HTML Document Type support test</h5> <p> <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/iso-html.html;ss">validate</a> - @@ -516,6 +524,14 @@ sample HTML 4 document using the (valid, but problematic) shorttags features</p> + <h5>Test for warning output from HTML5 parser</h5> + <p> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-warning.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-warning.html;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-warning.html">view</a>: + sample HTML5 document using a construct that should pass checking, with a warning output.</p> + + <h4 id="appc">Valid XHTML 1.0 documents not conforming to HTML compatibility Guidelines</h4> <p></p> @@ -623,6 +639,30 @@ XHTML1, bogus attribute</p> + <h5>HTML5 document with tokenizer error (precise locator)</h5> + <p> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-precise-error.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-precise-error.html;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-precise-error.html">view</a>: + HTML5 document with tokenizer error (precise locator)</p> + + + <h5>HTML5 document with Tree builder (range locator)</h5> + <p> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-range-error.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-range-error.html;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-range-error.html">view</a>: + HTML5 document with Tree builder (range locator)</p> + + + <h5>HTML5 document with bogus attribute (should have an error explanation)</h5> + <p> + <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-error-explanation.html;ss">validate</a> - + <a href="http://validator.w3.org/check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-error-explanation.html;ss">with v.w.o</a> - + <a href="http://qa-dev.w3.org/wmvs/HEAD/dev/tests/html5-error-explanation.html">view</a>: + HTML5 document with bogus attribute (should have an error explanation)</p> + + <h5>XHTML1, bogus element (uppercase A element not in DTD), tends to cascade errors about each attribute</h5> <p> <a href="../../check?uri=http://qa-dev.w3.org/wmvs/HEAD/dev/tests/uppercase_element.xhtml;ss">validate</a> - |