validator/htdocs/dev/tests html5-error-explanation.html,NONE,1.1 html5-ok.html,NONE,1.1 html5-precise-error.html,NONE,1.1 html5-range-error.html,NONE,1.1 html5-warning.html,NONE,1.1 index.html,1.106,1.107

Update of /sources/public/validator/htdocs/dev/tests
In directory hutz:/tmp/cvs-serv10902/htdocs/dev/tests

Modified Files:
	index.html 
Added Files:
	html5-error-explanation.html html5-ok.html 
	html5-precise-error.html html5-range-error.html 
	html5-warning.html 
Log Message:
adding html5 test cases

Index: index.html
===================================================================
RCS file: /sources/public/validator/htdocs/dev/tests/index.html,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -d -r1.106 -r1.107
--- index.html	28 Jul 2008 19:44:54 -0000	1.106
+++ index.html	20 Aug 2008 19:32:00 -0000	1.107
@@ -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> -

--- NEW FILE: html5-error-explanation.html ---
<!DOCTYPE html>
<html><head><title>Error, with elaboration</title></head>
<body>
<a ref="foo"></a>
</body></html>


--- NEW FILE: html5-precise-error.html ---
<!DOCTYPE html>
<html>
<head>
<title>Tokenizer error</title>
</head>
<body>
<p>&a</p>
</body>
</html>
--- NEW FILE: html5-ok.html ---
<!DOCTYPE html>
<html>
<head>
<title>No message</title>
</head>
<body>
<p>No message</p>
</body>
</html>
--- NEW FILE: html5-range-error.html ---
<!DOCTYPE html>
<html>
<head>
<title>Tree builder error</title>
</head>
<body>
<p><span></p>
</body>
</html>
--- NEW FILE: html5-warning.html ---
<!DOCTYPE html>
<html>
<head>
<title>Warning</title>
</head>
<body>
<p class=foo<bar></p>
</body>
</html>

Received on Wednesday, 20 August 2008 19:32:37 UTC