Update html5lib test data to latest version
authorabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Dec 2011 22:49:58 +0000 (22:49 +0000)
committerabarth@webkit.org <abarth@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Dec 2011 22:49:58 +0000 (22:49 +0000)
https://bugs.webkit.org/show_bug.cgi?id=74343

Reviewed by Eric Seidel.

This patch imports the latest version of the "dat" files from
http://code.google.com/p/html5lib/

* html5lib/resources/pending-spec-changes.dat:
* html5lib/resources/plain-text-unsafe.dat:
* html5lib/resources/tables01.dat:
* html5lib/resources/tests16.dat:
* html5lib/resources/tests19.dat:
* html5lib/resources/tests26.dat:
* html5lib/resources/tests_innerHTML_1.dat:
* html5lib/resources/webkit01.dat:
* html5lib/runner-expected.txt:
* html5lib/webkit-resumer-expected.txt:
* platform/chromium/html5lib/runner-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@102626 268f45cc-cd09-0410-ab3c-d52691b4dbfc

12 files changed:
LayoutTests/ChangeLog
LayoutTests/html5lib/resources/pending-spec-changes.dat
LayoutTests/html5lib/resources/plain-text-unsafe.dat
LayoutTests/html5lib/resources/tables01.dat
LayoutTests/html5lib/resources/tests16.dat
LayoutTests/html5lib/resources/tests19.dat
LayoutTests/html5lib/resources/tests26.dat
LayoutTests/html5lib/resources/tests_innerHTML_1.dat
LayoutTests/html5lib/resources/webkit01.dat
LayoutTests/html5lib/runner-expected.txt
LayoutTests/html5lib/webkit-resumer-expected.txt
LayoutTests/platform/chromium/html5lib/runner-expected.txt

index 5bdd7bb..0cebbf0 100644 (file)
@@ -1,3 +1,25 @@
+2011-12-12  Adam Barth  <abarth@webkit.org>
+
+        Update html5lib test data to latest version
+        https://bugs.webkit.org/show_bug.cgi?id=74343
+
+        Reviewed by Eric Seidel.
+
+        This patch imports the latest version of the "dat" files from
+        http://code.google.com/p/html5lib/
+
+        * html5lib/resources/pending-spec-changes.dat:
+        * html5lib/resources/plain-text-unsafe.dat:
+        * html5lib/resources/tables01.dat:
+        * html5lib/resources/tests16.dat:
+        * html5lib/resources/tests19.dat:
+        * html5lib/resources/tests26.dat:
+        * html5lib/resources/tests_innerHTML_1.dat:
+        * html5lib/resources/webkit01.dat:
+        * html5lib/runner-expected.txt:
+        * html5lib/webkit-resumer-expected.txt:
+        * platform/chromium/html5lib/runner-expected.txt:
+
 2011-12-12  Filip Pizlo  <fpizlo@apple.com>
 
         DFG GetByVal CSE incorrectly assumes that a non-matching PutByVal cannot clobber
index e00ee85..5a92084 100644 (file)
 |         <svg svg>
 |           "foo"
 |     "bar"
+
+#data
+<table><tr><td><svg><desc><td></desc><circle>
+#errors
+7: Start tag seen without seeing a doctype first. Expected “<!DOCTYPE html>”.
+30: A table cell was implicitly closed, but there were open elements.
+26: Unclosed element “desc”.
+20: Unclosed element “svg”.
+37: Stray end tag “desc”.
+45: End of file seen and there were open elements.
+45: Unclosed element “circle”.
+7: Unclosed element “table”.
+#document
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <tbody>
+|         <tr>
+|           <td>
+|             <svg svg>
+|               <svg desc>
+|           <td>
+|             <circle>
index 2f40e83..04cc11f 100644 (file)
Binary files a/LayoutTests/html5lib/resources/plain-text-unsafe.dat and b/LayoutTests/html5lib/resources/plain-text-unsafe.dat differ
index 88ef1fe..c4b47e4 100644 (file)
 |           <td>
 |             <button>
 |           <td>
+
+#data
+<table><tr><td><svg><desc><td>
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <tbody>
+|         <tr>
+|           <td>
+|             <svg svg>
+|               <svg desc>
+|           <td>
index 937dba9..c8ef66f 100644 (file)
@@ -1076,6 +1076,28 @@ Line: 1 Col: 64 Unexpected end tag (textarea).
 |       "</textarea>"
 
 #data
+<!doctype html><textarea>&lt;</textarea>
+#errors
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <textarea>
+|       "<"
+
+#data
+<!doctype html><textarea>a&lt;b</textarea>
+#errors
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <textarea>
+|       "a<b"
+
+#data
 <!doctype html><iframe><!--<iframe></iframe>--></iframe>
 #errors
 Line: 1 Col: 56 Unexpected end tag (iframe).
index 06222f5..0d62f5a 100644 (file)
 |     <ruby>
 |       <div>
 |         <span>
-|       <rp>
+|           <rp>
 
 #data
 <!doctype html><ruby><div><p><rp>
 |     <ruby>
 |       <div>
 |         <p>
-|       <rp>
+|         <rp>
 
 #data
 <!doctype html><ruby><p><rt>
 |     <ruby>
 |       <div>
 |         <span>
-|       <rt>
+|           <rt>
 
 #data
 <!doctype html><ruby><div><p><rt>
 |     <ruby>
 |       <div>
 |         <p>
-|       <rt>
+|         <rt>
 
 #data
 <!doctype html><math/><foo>
 |     <plaintext>
 |       <a>
 |         "b"
+
+#data
+<!DOCTYPE html><div>a<a></div>b<p>c</p>d
+#errors
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       "a"
+|       <a>
+|     <a>
+|       "b"
+|       <p>
+|         "c"
+|       "d"
index da128e7..fae11ff 100644 (file)
 |     <i>
 |       <nobr>
 |         "2"
+
+#data
+<p><code x</code></p>
+
+#errors
+#document
+| <html>
+|   <head>
+|   <body>
+|     <p>
+|       <code>
+|         code=""
+|         x<=""
+|     <code>
+|       code=""
+|       x<=""
+|       "
+"
+
+#data
+<!DOCTYPE html><svg><foreignObject><p><i></p>a
+#errors
+45: End tag “p” seen, but there were open elements.
+41: Unclosed element “i”.
+46: End of file seen and there were open elements.
+35: Unclosed element “foreignObject”.
+20: Unclosed element “svg”.
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <svg svg>
+|       <svg foreignObject>
+|         <p>
+|           <i>
+|         <i>
+|           "a"
+
+#data
+<!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a
+#errors
+56: End tag “p” seen, but there were open elements.
+52: Unclosed element “i”.
+57: End of file seen and there were open elements.
+46: Unclosed element “foreignObject”.
+31: Unclosed element “svg”.
+22: Unclosed element “table”.
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <tbody>
+|         <tr>
+|           <td>
+|             <svg svg>
+|               <svg foreignObject>
+|                 <p>
+|                   <i>
+|                 <i>
+|                   "a"
+
+#data
+<!DOCTYPE html><math><mtext><p><i></p>a
+#errors
+38: End tag “p” seen, but there were open elements.
+34: Unclosed element “i”.
+39: End of file in a foreign namespace context.
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <math math>
+|       <math mtext>
+|         <p>
+|           <i>
+|         <i>
+|           "a"
+
+#data
+<!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a
+#errors
+53: End tag “p” seen, but there were open elements.
+49: Unclosed element “i”.
+54: End of file in a foreign namespace context.
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <table>
+|       <tbody>
+|         <tr>
+|           <td>
+|             <math math>
+|               <math mtext>
+|                 <p>
+|                   <i>
+|                 <i>
+|                   "a"
+
+#data
+<!DOCTYPE html><body><div><!/div>a
+#errors
+29: Bogus comment.
+34: End of file seen and there were open elements.
+26: Unclosed element “div”.
+#document
+| <!DOCTYPE html>
+| <html>
+|   <head>
+|   <body>
+|     <div>
+|       <!-- /div -->
+|       "a"
index 052fac7..6c78661 100644 (file)
@@ -731,3 +731,11 @@ html
 frameset
 #document
 | <frame>
+
+#data
+#errors
+#document-fragment
+html
+#document
+| <head>
+| <body>
index 4101b21..1a4570a 100644 (file)
@@ -289,8 +289,8 @@ console.log("FOO<span>BAR</span>BAZ");
 |   <body>
 |     <ruby>
 |       <div>
-|       <rp>
-|         "xx"
+|         <rp>
+|           "xx"
 
 #data
 <html><body><ruby><div><rt>xx</rt></div></ruby></body></html>
@@ -301,8 +301,8 @@ console.log("FOO<span>BAR</span>BAZ");
 |   <body>
 |     <ruby>
 |       <div>
-|       <rt>
-|         "xx"
+|         <rt>
+|           "xx"
 
 #data
 <html><frameset><!--1--><noframes>A</noframes><!--2--></frameset><!--3--><noframes>B</noframes><!--4--></html><!--5--><noframes>C</noframes><!--6-->
index d1ad566..a0a259c 100644 (file)
Binary files a/LayoutTests/html5lib/runner-expected.txt and b/LayoutTests/html5lib/runner-expected.txt differ
index 9a35fe9..8db2a4c 100644 (file)
@@ -156,4 +156,124 @@ CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
 CONSOLE MESSAGE: line 2: FOO<span>BAR</span>BAZ
-resources/webkit01.dat: PASS
+resources/webkit01.dat:
+818.1
+819.2
+820.3
+821.4
+822.5
+823.6
+824.7
+825.8
+826.9
+827.10
+828.11
+829.12
+830.13
+831.14
+832.15
+833.16
+834.17
+835.18
+836.19
+837.20
+838.21
+839.22
+840.23
+841.24
+842.25
+843.26
+844.27
+845.28
+846.29
+847.30
+848.31
+849.32
+850.33
+851.34
+852.35
+853.36
+854.37
+855.38
+856.39
+857.40
+858.41
+859.42
+860.43
+861.44
+862.45
+863.46
+864.47
+865.48
+866.49
+867.50
+868.51
+869.52
+870.53
+871.54
+872.55
+873.56
+874.57
+875.58
+876.59
+877.60
+878.1
+879.2
+880.3
+881.4
+882.5
+883.6
+884.7
+885.8
+886.9
+887.10
+888.11
+889.12
+890.13
+891.14
+892.15
+893.16
+894.17
+895.18
+896.19
+897.20
+898.21
+899.22
+900.23
+901.24
+902.25
+903.26
+904.27
+905.28
+906.29
+907.30
+908.31
+909.32
+910.33
+911.34
+912.35
+913.36
+914.37
+915.38
+916.39
+917.40
+918.41
+919.42
+920.43
+921.44
+922.45
+923.46
+924.47
+925.48
+926.49
+927.50
+928.51
+929.52
+930.53
+931.54
+932.55
+933.56
+934.57
+935.58
+936.59
+937.60
index 9aa2355..72d180c 100644 (file)
Binary files a/LayoutTests/platform/chromium/html5lib/runner-expected.txt and b/LayoutTests/platform/chromium/html5lib/runner-expected.txt differ