From 7e6e90b9ea8824b29cbeee76d03ef838c9187418 Mon Sep 17 00:00:00 2001 From: Kunpei Sakai Date: Thu, 7 Nov 2019 01:29:15 +0900 Subject: [PATCH] html: port html5lib test data from html5lib/html5lib-tests 1. git clone git@github.com:html5lib/html5lib-tests.git && git checkout 88b8ee967f9f6f42fcd84c65af774860a70ecf3c 2. cp -Rv html5lib-tests/tree-construction/ into testdata/webkit 3. Drop unpassed following changes: testdata/webkit/foreign-fragment.dat testdata/webkit/isindex.dat testdata/webkit/main-element.dat testdata/webkit/menuitem-element.dat testdata/webkit/tests11.dat testdata/webkit/tests16.dat testdata/webkit/tests19.dat testdata/webkit/tests25.dat testdata/webkit/tests5.dat testdata/webkit/webkit02.dat Change-Id: Ie60b6e24751a1efb83caf326b7e42f0517ec6b96 Reviewed-on: https://go-review.googlesource.com/c/net/+/205617 Run-TryBot: Kunpei Sakai TryBot-Result: Gobot Gobot Reviewed-by: Nigel Tao --- html/testdata/webkit/adoption01.dat | 143 +++ html/testdata/webkit/adoption02.dat | 8 + html/testdata/webkit/comments01.dat | 43 + html/testdata/webkit/doctype01.dat | 54 + html/testdata/webkit/domjs-unsafe.dat | Bin 0 -> 9884 bytes html/testdata/webkit/entities01.dat | 189 ++++ html/testdata/webkit/entities02.dat | 44 + html/testdata/webkit/html5test-com.dat | 45 + html/testdata/webkit/inbody01.dat | 11 + html/testdata/webkit/math.dat | 81 ++ .../testdata/webkit/namespace-sensitivity.dat | 16 + ...pending-spec-changes-plain-text-unsafe.dat | Bin 115 -> 816 bytes html/testdata/webkit/pending-spec-changes.dat | 24 +- html/testdata/webkit/plain-text-unsafe.dat | Bin 4166 -> 7925 bytes html/testdata/webkit/scriptdata01.dat | 57 + html/testdata/webkit/scripted/ark.dat | 26 + html/testdata/webkit/tables01.dat | 74 ++ html/testdata/webkit/template.dat | 278 +++++ html/testdata/webkit/tests1.dat | 1007 +++++++++-------- html/testdata/webkit/tests10.dat | 186 +-- html/testdata/webkit/tests11.dat | 52 +- html/testdata/webkit/tests14.dat | 5 +- html/testdata/webkit/tests15.dat | 62 +- html/testdata/webkit/tests17.dat | 26 + html/testdata/webkit/tests18.dat | 81 +- html/testdata/webkit/tests19.dat | 59 + html/testdata/webkit/tests2.dat | 218 ++-- html/testdata/webkit/tests20.dat | 61 + html/testdata/webkit/tests21.dat | 84 ++ html/testdata/webkit/tests22.dat | 39 +- html/testdata/webkit/tests23.dat | 19 +- html/testdata/webkit/tests26.dat | 115 +- html/testdata/webkit/tests3.dat | 44 +- html/testdata/webkit/tests4.dat | 1 - html/testdata/webkit/tests6.dat | 314 +++-- html/testdata/webkit/tests7.dat | 85 +- html/testdata/webkit/tests8.dat | 69 +- html/testdata/webkit/tests9.dat | 149 +-- html/testdata/webkit/tests_innerHTML_1.dat | 150 +++ html/testdata/webkit/tricky01.dat | 75 ++ html/testdata/webkit/webkit01.dat | 113 +- html/testdata/webkit/webkit02.dat | 36 + 42 files changed, 3034 insertions(+), 1109 deletions(-) create mode 100644 html/testdata/webkit/domjs-unsafe.dat create mode 100644 html/testdata/webkit/math.dat create mode 100644 html/testdata/webkit/namespace-sensitivity.dat create mode 100644 html/testdata/webkit/scripted/ark.dat diff --git a/html/testdata/webkit/adoption01.dat b/html/testdata/webkit/adoption01.dat index 787e1b01..2e1127e5 100644 --- a/html/testdata/webkit/adoption01.dat +++ b/html/testdata/webkit/adoption01.dat @@ -1,6 +1,8 @@ #data
2
123
+#errors +(1,5): expected-doctype-but-got-start-tag +(1,32): adoption-agency-1.3 +(1,32): expected-closing-tag-but-got-eof +#document +| +| +| +| +| +| +| +| +| +| +| +| +| +| + +#data +xy +#errors +(1,3): expected-doctype-but-got-start-tag +#document +| +| +| +| +| +| +| +| "x" +| "y" + +#data +x +#errors +(1,3): expected-doctype-but-got-start-tag +(1,18): unexpected-end-tag +(1,19): expected-closing-tag-but-got-eof +#document +| +| +| +| +| +| +| +| +| +| +| +| +| "x" diff --git a/html/testdata/webkit/adoption02.dat b/html/testdata/webkit/adoption02.dat index d18151b4..e54d8033 100644 --- a/html/testdata/webkit/adoption02.dat +++ b/html/testdata/webkit/adoption02.dat @@ -1,6 +1,9 @@ #data 1234 #errors +(1,3): expected-doctype-but-got-start-tag +(1,16): adoption-agency-1.3 +(1,17): expected-closing-tag-but-got-eof #document | | @@ -18,6 +21,11 @@ #data #errors +(1,3): expected-doctype-but-got-start-tag +(1,35): unexpected-start-tag-implies-end-tag +(1,35): adoption-agency-1.3 +(1,35): adoption-agency-1.3 +(1,35): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/comments01.dat b/html/testdata/webkit/comments01.dat index 44f18768..35ec6cce 100644 --- a/html/testdata/webkit/comments01.dat +++ b/html/testdata/webkit/comments01.dat @@ -1,6 +1,7 @@ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -12,6 +13,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-bang-after-double-dash-in-comment #document | | @@ -23,6 +26,9 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment #document | | @@ -44,6 +53,10 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment +(1,31): unexpected-bang-after-double-dash-in-comment #document | | @@ -55,6 +68,11 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -76,6 +95,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,9): incorrect-comment #document | | @@ -87,6 +108,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,8): incorrect-comment #document | | @@ -98,6 +121,8 @@ FOOBAZ #data Hi #errors +(1,1): expected-tag-name-but-got-question-mark +(1,22): expected-doctype-but-got-chars #document | | @@ -108,6 +133,8 @@ FOOBAZ #data #errors +(1,1): expected-tag-name-but-got-question-mark +(1,20): expected-doctype-but-got-eof #document | | @@ -117,6 +144,8 @@ FOOBAZ #data | @@ -126,6 +155,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,10): unexpected-dash-after-double-dash-in-comment #document | | @@ -133,3 +164,15 @@ FOOBAZ | "FOO" | | "BAZ" + +#data +Comment before head +#errors +(1,6): expected-doctype-but-got-start-tag +#document +| +| +| +| +| "Comment before head" +| diff --git a/html/testdata/webkit/doctype01.dat b/html/testdata/webkit/doctype01.dat index ae457328..cec66389 100644 --- a/html/testdata/webkit/doctype01.dat +++ b/html/testdata/webkit/doctype01.dat @@ -21,6 +21,7 @@ #data Hello #errors +(1,9): need-space-after-doctype #document | | @@ -31,6 +32,9 @@ #data Hello #errors +(1,9): need-space-after-doctype +(1,10): expected-doctype-name-but-got-right-bracket +(1,10): unknown-doctype #document | | @@ -41,6 +45,8 @@ #data Hello #errors +(1,11): expected-doctype-name-but-got-right-bracket +(1,11): unknown-doctype #document | | @@ -51,6 +57,7 @@ #data Hello #errors +(1,17): unknown-doctype #document | | @@ -61,6 +68,7 @@ #data Hello #errors +(1,18): unknown-doctype #document | | @@ -71,6 +79,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,22): unknown-doctype #document | | @@ -81,6 +91,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,27): unknown-doctype #document | | @@ -91,6 +103,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,24): unknown-doctype #document | | @@ -101,6 +115,8 @@ #data Hello #errors +(1,28): unexpected-char-in-doctype +(1,28): unknown-doctype #document | | @@ -111,6 +127,8 @@ #data Hello #errors +(1,34): unexpected-char-in-doctype +(1,37): unknown-doctype #document | | @@ -121,6 +139,8 @@ #data Hello #errors +(1,25): unexpected-char-in-doctype +(1,31): unknown-doctype #document | | @@ -131,6 +151,7 @@ #data Hello #errors +(1,32): unknown-doctype #document | | @@ -141,6 +162,7 @@ #data Hello #errors +(1,31): unknown-doctype #document | | @@ -151,6 +173,7 @@ #data Hello #errors +(1,33): unknown-doctype #document | | @@ -161,6 +184,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,34): unknown-doctype #document | | @@ -171,6 +196,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,35): unknown-doctype #document | | @@ -181,6 +208,8 @@ #data Hello #errors +(1,24): unexpected-end-of-doctype +(1,24): unknown-doctype #document | | @@ -191,6 +220,8 @@ #data Hello #errors +(1,25): unexpected-end-of-doctype +(1,25): unknown-doctype #document | | @@ -201,6 +232,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,28): unknown-doctype #document | | @@ -211,6 +244,8 @@ #data Hello #errors +(1,25): unexpected-char-in-doctype +(1,29): unknown-doctype #document | | @@ -221,6 +256,7 @@ #data Hello #errors +(1,32): unknown-doctype #document | | @@ -231,6 +267,8 @@ #data Hello #errors +(1,29): unexpected-char-in-doctype +(1,32): unknown-doctype #document | | @@ -241,6 +279,7 @@ #data Hello #errors +(1,38): unknown-doctype #document | | @@ -251,6 +290,8 @@ #data Hello #errors +(1,38): unexpected-char-in-doctype +(1,48): unknown-doctype #document | | @@ -272,6 +313,7 @@ #data Hello #errors +(1,14): unknown-doctype #document | | @@ -283,6 +325,7 @@ #errors +(2,58): unknown-doctype #document | | @@ -293,6 +336,7 @@ #errors +(2,54): unknown-doctype #document | | @@ -304,6 +348,8 @@ ]> #errors +(1,23): expected-space-or-right-bracket-in-doctype +(2,30): unknown-doctype #document | | @@ -316,6 +362,7 @@ "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> #errors +(3,53): unknown-doctype #document | | @@ -325,6 +372,7 @@ #data Mine! #errors +(1,63): unknown-doctype #document | | @@ -336,6 +384,7 @@ #data #errors +(1,50): unexpected-char-in-doctype #document | | @@ -345,6 +394,7 @@ #data #errors +(1,50): unexpected-char-in-doctype #document | | @@ -354,6 +404,8 @@ #data #errors +(1,21): unexpected-char-in-doctype +(1,49): unexpected-char-in-doctype #document | | @@ -363,6 +415,8 @@ #data #errors +(1,21): unexpected-char-in-doctype +(1,49): unexpected-char-in-doctype #document | | diff --git a/html/testdata/webkit/domjs-unsafe.dat b/html/testdata/webkit/domjs-unsafe.dat new file mode 100644 index 0000000000000000000000000000000000000000..34b4e62716e4b668be95cbd017ba8d54cdc826ab GIT binary patch literal 9884 zcmds7&5qMB5at|-cQDz*g0xm>yZp+ngcc5*KeEb!;4;oXf1U(KJkLd5 z1P=!%PaeG_{M(XGOP}PA{)ZIu|7^$~Z4+8P9`$mv29X*S3I%xErV z!4cfz`if^|@RP7F<<(*W2LujzoK%OGBKfWk;XEKDh*FM%fh4S8h5_7bBZ>R}1&O=q zifNuM%Sk*wzIV)`LjAJU^xW3SEovH^42Cc?&A!HqG@(Q*DSeH%?SZ&twe)cU}^JC&Wg+ax+a z`|$StMXk_ktM?sv)rA0CP7X+vfW`@YRT&rt=DHp>j0Z zL#EK2AsHIHKD4dGXzt_7`*e@IF-aQ0Uc~!kzK?=cdt8>T9jQ}uy*co4`fjE%r7L(o zo~@7WIU zDL@UFw(HvC8(|^bhy7%`l||~Sp$b3CVF$7gWMzE0;Lz=@>poJaZL6WHnrb(_C2J7` zI!xHM?t)GAtXYLYYp~!8Sb?%}L0l1W^)zc{3Fi zaeHBb9ahv-CNhe*rMVDomTcN`yGdZ!EA7V**!VzI%|uc1oG#-WmMU=_bNVIDV^{;t zX_~>JCd3U~9Np-*r>2e!e#0EQb|_fN>E< z{8_EWTefomHpC3MD`55X;c2=Nn$DV18*5hSrnL>$I=R zRc-HRR5x-rh2`b88$2Mkqfq@!SW8}JPluMH#5ofgOq8hl@Ub$lcUPR08*tCAx9!N;eaabu8dl-?+M3biTj=)uf56FE=k8En|dO5Egw zIkKT<&s^5r3B;6>G=E7kJhjpnZf(Lb1nM)9k8_^%VSwgaWg7!DUZi$o0L3x{nwxBZ ah8P!dR&=&OpEFE5k3hWz_(B9227dv>NdEf( literal 0 HcmV?d00001 diff --git a/html/testdata/webkit/entities01.dat b/html/testdata/webkit/entities01.dat index c8073b78..b271f822 100644 --- a/html/testdata/webkit/entities01.dat +++ b/html/testdata/webkit/entities01.dat @@ -1,6 +1,7 @@ #data FOO>BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -10,6 +11,8 @@ FOO>BAR #data FOO>BAR #errors +(1,3): expected-doctype-but-got-chars +(1,6): named-entity-without-semicolon #document | | @@ -19,6 +22,8 @@ FOO>BAR #data FOO> BAR #errors +(1,3): expected-doctype-but-got-chars +(1,6): named-entity-without-semicolon #document | | @@ -28,6 +33,7 @@ FOO> BAR #data FOO>;;BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -37,6 +43,8 @@ FOO>;;BAR #data I'm ¬it; I tell you #errors +(1,4): expected-doctype-but-got-chars +(1,9): named-entity-without-semicolon #document | | @@ -46,6 +54,7 @@ I'm ¬it; I tell you #data I'm ∉ I tell you #errors +(1,4): expected-doctype-but-got-chars #document | | @@ -55,6 +64,7 @@ I'm ∉ I tell you #data FOO& BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -64,6 +74,8 @@ FOO& BAR #data FOO& #errors +(1,3): expected-doctype-but-got-chars +(1,9): expected-closing-tag-but-got-eof #document | | @@ -74,6 +86,7 @@ FOO& #data FOO&&&>BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -83,6 +96,7 @@ FOO&&&>BAR #data FOO)BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -92,6 +106,7 @@ FOO)BAR #data FOOABAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -101,6 +116,7 @@ FOOABAR #data FOOABAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -110,6 +126,8 @@ FOOABAR #data FOOBAR #errors +(1,3): expected-doctype-but-got-chars +(1,5): expected-numeric-entity #document | | @@ -119,6 +137,8 @@ FOOBAR #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,5): expected-numeric-entity #document | | @@ -128,6 +148,8 @@ FOOZOO #data FOOºR #errors +(1,3): expected-doctype-but-got-chars +(1,7): expected-numeric-entity #document | | @@ -137,6 +159,8 @@ FOOºR #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,6): expected-numeric-entity #document | | @@ -146,6 +170,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,6): expected-numeric-entity #document | | @@ -155,6 +181,8 @@ FOOZOO #data FOO)BAR #errors +(1,3): expected-doctype-but-got-chars +(1,7): numeric-entity-without-semicolon #document | | @@ -164,6 +192,8 @@ FOO)BAR #data FOO䆺R #errors +(1,3): expected-doctype-but-got-chars +(1,10): numeric-entity-without-semicolon #document | | @@ -173,6 +203,8 @@ FOO䆺R #data FOOAZOO #errors +(1,3): expected-doctype-but-got-chars +(1,8): numeric-entity-without-semicolon #document | | @@ -182,6 +214,8 @@ FOOAZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -191,6 +225,7 @@ FOOZOO #data FOOxZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -200,6 +235,7 @@ FOOxZOO #data FOOyZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -209,6 +245,8 @@ FOOyZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -218,6 +256,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -227,6 +267,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -236,6 +278,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -245,6 +289,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -254,6 +300,8 @@ FOOZOO #data FOO ZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -263,6 +311,8 @@ FOO ZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -272,6 +322,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -281,6 +333,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -290,6 +344,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -299,6 +355,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -308,6 +366,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -317,6 +377,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -326,6 +388,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -335,6 +399,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -344,6 +410,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -353,6 +421,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -362,6 +432,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -371,6 +443,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -380,6 +454,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -389,6 +465,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -398,6 +476,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -407,6 +487,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -416,6 +498,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -425,6 +509,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -434,6 +520,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -443,6 +531,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -452,6 +542,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -461,6 +553,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -470,6 +564,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -479,6 +575,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -488,6 +586,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -497,6 +597,7 @@ FOOZOO #data FOO ZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -506,6 +607,7 @@ FOO ZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -515,6 +617,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -524,6 +628,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -533,6 +639,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -542,6 +650,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -551,6 +661,7 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -560,6 +671,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -569,6 +682,7 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -578,6 +692,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -587,6 +703,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -596,6 +714,77 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | diff --git a/html/testdata/webkit/entities02.dat b/html/testdata/webkit/entities02.dat index e2fb42a0..22365c98 100644 --- a/html/testdata/webkit/entities02.dat +++ b/html/testdata/webkit/entities02.dat @@ -1,6 +1,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -11,6 +12,7 @@ #data #errors +(1,15): expected-doctype-but-got-start-tag #document | | @@ -21,6 +23,7 @@ #data #errors +(1,15): expected-doctype-but-got-start-tag #document | | @@ -31,6 +34,7 @@ #data #errors +(1,13): expected-doctype-but-got-start-tag #document | | @@ -41,6 +45,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,20): expected-doctype-but-got-start-tag #document | | @@ -51,6 +57,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -61,6 +68,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -71,6 +79,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -81,6 +90,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -91,6 +101,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,20): expected-doctype-but-got-start-tag #document | | @@ -101,6 +113,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,17): expected-doctype-but-got-start-tag #document | | @@ -111,6 +125,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,17): expected-doctype-but-got-start-tag #document | | @@ -121,6 +137,8 @@ #data #errors +(1,14): named-entity-without-semicolon +(1,15): expected-doctype-but-got-start-tag #document | | @@ -131,6 +149,8 @@ #data #errors +(1,18): named-entity-without-semicolon +(1,26): expected-doctype-but-got-start-tag #document | | @@ -141,6 +161,7 @@ #data #errors +(1,25): expected-doctype-but-got-start-tag #document | | @@ -151,6 +172,7 @@ #data #errors +(1,27): expected-doctype-but-got-start-tag #document | | @@ -161,6 +183,7 @@ #data #errors +(1,26): expected-doctype-but-got-start-tag #document | | @@ -171,6 +194,8 @@ #data #errors +(1,18): named-entity-without-semicolon +(1,23): expected-doctype-but-got-start-tag #document | | @@ -181,6 +206,7 @@ #data #errors +(1,22): expected-doctype-but-got-start-tag #document | | @@ -191,6 +217,8 @@ #data ZZ£_id=23 #errors +(1,5): expected-doctype-but-got-start-tag +(1,13): named-entity-without-semicolon #document | | @@ -201,6 +229,7 @@ #data ZZ&prod_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -211,6 +240,7 @@ #data ZZ£_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -221,6 +251,7 @@ #data ZZ∏_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -231,6 +262,8 @@ #data ZZ£=23 #errors +(1,5): expected-doctype-but-got-start-tag +(1,13): named-entity-without-semicolon #document | | @@ -241,9 +274,20 @@ #data ZZ&prod=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | | | | "ZZ&prod=23" + +#data +ZZÆ= +#errors +#document +| +| +| +| +| "ZZÆ=" diff --git a/html/testdata/webkit/html5test-com.dat b/html/testdata/webkit/html5test-com.dat index d7cb71db..8c6ec40c 100644 --- a/html/testdata/webkit/html5test-com.dat +++ b/html/testdata/webkit/html5test-com.dat @@ -1,6 +1,8 @@ #data #errors +(1,9): expected-doctype-but-got-start-tag +(1,9): expected-closing-tag-but-got-eof #document | | @@ -10,6 +12,9 @@ #data #errors +(1,9): invalid-character-in-attribute-name +(1,16): expected-doctype-but-got-start-tag +(1,16): expected-closing-tag-but-got-eof #document | | @@ -20,6 +25,10 @@ #data #errors +(1,10): equals-in-unquoted-attribute-value +(1,14): unexpected-character-in-unquoted-attribute-value +(1,15): expected-doctype-but-got-start-tag +(1,15): expected-closing-tag-but-got-eof #document | | @@ -30,6 +39,9 @@ #data #errors +(1,7): invalid-character-in-attribute-name +(1,14): expected-doctype-but-got-start-tag +(1,14): expected-closing-tag-but-got-eof #document | | @@ -40,6 +52,7 @@ #data #errors +(1,16): expected-doctype-but-got-start-tag #document | | @@ -59,6 +72,7 @@ #data 〈〉 #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -68,6 +82,7 @@ #data ' #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -77,6 +92,7 @@ #data ⅈ #errors +(1,12): expected-doctype-but-got-chars #document | | @@ -86,6 +102,7 @@ #data 𝕂 #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -95,6 +112,7 @@ #data ∉ #errors +(1,9): expected-doctype-but-got-chars #document | | @@ -104,6 +122,8 @@ #data #errors +(1,1): expected-tag-name-but-got-question-mark +(1,47): expected-doctype-but-got-eof #document | | @@ -113,6 +133,8 @@ #data #errors +(1,10): unexpected-char-in-comment +(1,15): expected-doctype-but-got-eof #document | | @@ -122,6 +144,8 @@ #data #errors +(1,2): expected-dashes-or-doctype +(1,13): expected-doctype-but-got-eof #document | | @@ -131,6 +155,8 @@ #data #errors +(1,10): expected-doctype-but-got-start-tag +(1,39): unexpected-end-tag #document | | @@ -142,6 +168,7 @@ #data #errors +(1,10): expected-doctype-but-got-start-tag #document | | @@ -153,6 +180,8 @@ #data --> #errors +(1,7): expected-doctype-but-got-start-tag +(1,30): unexpected-end-tag #document | | @@ -164,6 +193,7 @@ #data --> #errors +(1,7): expected-doctype-but-got-start-tag #document | | @@ -175,6 +205,7 @@ #data A B #errors +(1,4): expected-doctype-but-got-start-tag #document | | @@ -189,6 +220,14 @@ #data #errors +(1,7): expected-doctype-but-got-start-tag +(1,13): unexpected-form-in-table +(1,32): unexpected-hidden-input-in-table +(1,39): unexpected-start-tag-implies-table-voodoo +(1,46): unexpected-end-tag-implies-table-voodoo +(1,46): unexpected-end-tag +(1,51): unexpected-start-tag-implies-table-voodoo +(1,57): unexpected-end-tag-implies-table-voodoo #document | | @@ -203,6 +242,9 @@ #data ABCD #errors +(1,3): expected-doctype-but-got-start-tag +(1,15): adoption-agency-1.3 +(1,20): adoption-agency-1.3 #document | | @@ -221,6 +263,7 @@ #data #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -230,6 +273,7 @@ #data #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -239,6 +283,7 @@ #data #errors +(1,6): expected-doctype-but-got-start-tag #document | | diff --git a/html/testdata/webkit/inbody01.dat b/html/testdata/webkit/inbody01.dat index 3f2bd374..10f6520f 100644 --- a/html/testdata/webkit/inbody01.dat +++ b/html/testdata/webkit/inbody01.dat @@ -1,6 +1,9 @@ #data 1 #errors +(1,8): expected-doctype-but-got-start-tag +(1,15): unexpected-end-tag +(1,15): expected-closing-tag-but-got-eof #document | | @@ -11,6 +14,9 @@ #data 12 #errors +(1,5): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(1,16): expected-closing-tag-but-got-eof #document | | @@ -23,6 +29,8 @@ #data 1 #errors +(1,4): expected-doctype-but-got-start-tag +(1,11): unexpected-end-tag #document | | @@ -33,6 +41,9 @@ #data 12 #errors +(1,5): expected-doctype-but-got-start-tag +(1,17): unexpected-end-tag +(1,17): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/math.dat b/html/testdata/webkit/math.dat new file mode 100644 index 00000000..ae9cd7c6 --- /dev/null +++ b/html/testdata/webkit/math.dat @@ -0,0 +1,81 @@ +#data + +#errors +#document-fragment +td +#document +| +| +| +| + +#data + +#errors +#document-fragment +tr +#document +| +| +| +| + +#data + +#errors +#document-fragment +thead +#document +| +| +| + +#data + +#errors +#document-fragment +tfoot +#document +| +| +| + +#data + +#errors +#document-fragment +tbody +#document +| +| +| + +#data +
+| +| +| +| +| + +#data +xy +#errors +(1,3): expected-doctype-but-got-start-tag +#document +| +| +| +| +| +| +| +| "x" +| "y" + +#data +x +#errors +(1,3): expected-doctype-but-got-start-tag +(1,18): unexpected-end-tag +(1,19): expected-closing-tag-but-got-eof +#document +| +| +| +| +| +| +| +| +| +| +| +| +| "x" diff --git a/html/testdata/webkit/adoption02.dat b/html/testdata/webkit/adoption02.dat index d18151b4..e54d8033 100644 --- a/html/testdata/webkit/adoption02.dat +++ b/html/testdata/webkit/adoption02.dat @@ -1,6 +1,9 @@ #data 1234 #errors +(1,3): expected-doctype-but-got-start-tag +(1,16): adoption-agency-1.3 +(1,17): expected-closing-tag-but-got-eof #document | | @@ -18,6 +21,11 @@ #data #errors +(1,3): expected-doctype-but-got-start-tag +(1,35): unexpected-start-tag-implies-end-tag +(1,35): adoption-agency-1.3 +(1,35): adoption-agency-1.3 +(1,35): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/comments01.dat b/html/testdata/webkit/comments01.dat index 44f18768..35ec6cce 100644 --- a/html/testdata/webkit/comments01.dat +++ b/html/testdata/webkit/comments01.dat @@ -1,6 +1,7 @@ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -12,6 +13,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-bang-after-double-dash-in-comment #document | | @@ -23,6 +26,9 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment #document | | @@ -44,6 +53,10 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment +(1,31): unexpected-bang-after-double-dash-in-comment #document | | @@ -55,6 +68,11 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -76,6 +95,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,9): incorrect-comment #document | | @@ -87,6 +108,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,8): incorrect-comment #document | | @@ -98,6 +121,8 @@ FOOBAZ #data Hi #errors +(1,1): expected-tag-name-but-got-question-mark +(1,22): expected-doctype-but-got-chars #document | | @@ -108,6 +133,8 @@ FOOBAZ #data #errors +(1,1): expected-tag-name-but-got-question-mark +(1,20): expected-doctype-but-got-eof #document | | @@ -117,6 +144,8 @@ FOOBAZ #data | @@ -126,6 +155,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,10): unexpected-dash-after-double-dash-in-comment #document | | @@ -133,3 +164,15 @@ FOOBAZ | "FOO" | | "BAZ" + +#data +Comment before head +#errors +(1,6): expected-doctype-but-got-start-tag +#document +| +| +| +| +| "Comment before head" +| diff --git a/html/testdata/webkit/doctype01.dat b/html/testdata/webkit/doctype01.dat index ae457328..cec66389 100644 --- a/html/testdata/webkit/doctype01.dat +++ b/html/testdata/webkit/doctype01.dat @@ -21,6 +21,7 @@ #data Hello #errors +(1,9): need-space-after-doctype #document | | @@ -31,6 +32,9 @@ #data Hello #errors +(1,9): need-space-after-doctype +(1,10): expected-doctype-name-but-got-right-bracket +(1,10): unknown-doctype #document | | @@ -41,6 +45,8 @@ #data Hello #errors +(1,11): expected-doctype-name-but-got-right-bracket +(1,11): unknown-doctype #document | | @@ -51,6 +57,7 @@ #data Hello #errors +(1,17): unknown-doctype #document | | @@ -61,6 +68,7 @@ #data Hello #errors +(1,18): unknown-doctype #document | | @@ -71,6 +79,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,22): unknown-doctype #document | | @@ -81,6 +91,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,27): unknown-doctype #document | | @@ -91,6 +103,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,24): unknown-doctype #document | | @@ -101,6 +115,8 @@ #data Hello #errors +(1,28): unexpected-char-in-doctype +(1,28): unknown-doctype #document | | @@ -111,6 +127,8 @@ #data Hello #errors +(1,34): unexpected-char-in-doctype +(1,37): unknown-doctype #document | | @@ -121,6 +139,8 @@ #data Hello #errors +(1,25): unexpected-char-in-doctype +(1,31): unknown-doctype #document | | @@ -131,6 +151,7 @@ #data Hello #errors +(1,32): unknown-doctype #document | | @@ -141,6 +162,7 @@ #data Hello #errors +(1,31): unknown-doctype #document | | @@ -151,6 +173,7 @@ #data Hello #errors +(1,33): unknown-doctype #document | | @@ -161,6 +184,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,34): unknown-doctype #document | | @@ -171,6 +196,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,35): unknown-doctype #document | | @@ -181,6 +208,8 @@ #data Hello #errors +(1,24): unexpected-end-of-doctype +(1,24): unknown-doctype #document | | @@ -191,6 +220,8 @@ #data Hello #errors +(1,25): unexpected-end-of-doctype +(1,25): unknown-doctype #document | | @@ -201,6 +232,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,28): unknown-doctype #document | | @@ -211,6 +244,8 @@ #data Hello #errors +(1,25): unexpected-char-in-doctype +(1,29): unknown-doctype #document | | @@ -221,6 +256,7 @@ #data Hello #errors +(1,32): unknown-doctype #document | | @@ -231,6 +267,8 @@ #data Hello #errors +(1,29): unexpected-char-in-doctype +(1,32): unknown-doctype #document | | @@ -241,6 +279,7 @@ #data Hello #errors +(1,38): unknown-doctype #document | | @@ -251,6 +290,8 @@ #data Hello #errors +(1,38): unexpected-char-in-doctype +(1,48): unknown-doctype #document | | @@ -272,6 +313,7 @@ #data Hello #errors +(1,14): unknown-doctype #document | | @@ -283,6 +325,7 @@ #errors +(2,58): unknown-doctype #document | | @@ -293,6 +336,7 @@ #errors +(2,54): unknown-doctype #document | | @@ -304,6 +348,8 @@ ]> #errors +(1,23): expected-space-or-right-bracket-in-doctype +(2,30): unknown-doctype #document | | @@ -316,6 +362,7 @@ "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> #errors +(3,53): unknown-doctype #document | | @@ -325,6 +372,7 @@ #data Mine! #errors +(1,63): unknown-doctype #document | | @@ -336,6 +384,7 @@ #data #errors +(1,50): unexpected-char-in-doctype #document | | @@ -345,6 +394,7 @@ #data #errors +(1,50): unexpected-char-in-doctype #document | | @@ -354,6 +404,8 @@ #data #errors +(1,21): unexpected-char-in-doctype +(1,49): unexpected-char-in-doctype #document | | @@ -363,6 +415,8 @@ #data #errors +(1,21): unexpected-char-in-doctype +(1,49): unexpected-char-in-doctype #document | | diff --git a/html/testdata/webkit/domjs-unsafe.dat b/html/testdata/webkit/domjs-unsafe.dat new file mode 100644 index 0000000000000000000000000000000000000000..34b4e62716e4b668be95cbd017ba8d54cdc826ab GIT binary patch literal 9884 zcmds7&5qMB5at|-cQDz*g0xm>yZp+ngcc5*KeEb!;4;oXf1U(KJkLd5 z1P=!%PaeG_{M(XGOP}PA{)ZIu|7^$~Z4+8P9`$mv29X*S3I%xErV z!4cfz`if^|@RP7F<<(*W2LujzoK%OGBKfWk;XEKDh*FM%fh4S8h5_7bBZ>R}1&O=q zifNuM%Sk*wzIV)`LjAJU^xW3SEovH^42Cc?&A!HqG@(Q*DSeH%?SZ&twe)cU}^JC&Wg+ax+a z`|$StMXk_ktM?sv)rA0CP7X+vfW`@YRT&rt=DHp>j0Z zL#EK2AsHIHKD4dGXzt_7`*e@IF-aQ0Uc~!kzK?=cdt8>T9jQ}uy*co4`fjE%r7L(o zo~@7WIU zDL@UFw(HvC8(|^bhy7%`l||~Sp$b3CVF$7gWMzE0;Lz=@>poJaZL6WHnrb(_C2J7` zI!xHM?t)GAtXYLYYp~!8Sb?%}L0l1W^)zc{3Fi zaeHBb9ahv-CNhe*rMVDomTcN`yGdZ!EA7V**!VzI%|uc1oG#-WmMU=_bNVIDV^{;t zX_~>JCd3U~9Np-*r>2e!e#0EQb|_fN>E< z{8_EWTefomHpC3MD`55X;c2=Nn$DV18*5hSrnL>$I=R zRc-HRR5x-rh2`b88$2Mkqfq@!SW8}JPluMH#5ofgOq8hl@Ub$lcUPR08*tCAx9!N;eaabu8dl-?+M3biTj=)uf56FE=k8En|dO5Egw zIkKT<&s^5r3B;6>G=E7kJhjpnZf(Lb1nM)9k8_^%VSwgaWg7!DUZi$o0L3x{nwxBZ ah8P!dR&=&OpEFE5k3hWz_(B9227dv>NdEf( literal 0 HcmV?d00001 diff --git a/html/testdata/webkit/entities01.dat b/html/testdata/webkit/entities01.dat index c8073b78..b271f822 100644 --- a/html/testdata/webkit/entities01.dat +++ b/html/testdata/webkit/entities01.dat @@ -1,6 +1,7 @@ #data FOO>BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -10,6 +11,8 @@ FOO>BAR #data FOO>BAR #errors +(1,3): expected-doctype-but-got-chars +(1,6): named-entity-without-semicolon #document | | @@ -19,6 +22,8 @@ FOO>BAR #data FOO> BAR #errors +(1,3): expected-doctype-but-got-chars +(1,6): named-entity-without-semicolon #document | | @@ -28,6 +33,7 @@ FOO> BAR #data FOO>;;BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -37,6 +43,8 @@ FOO>;;BAR #data I'm ¬it; I tell you #errors +(1,4): expected-doctype-but-got-chars +(1,9): named-entity-without-semicolon #document | | @@ -46,6 +54,7 @@ I'm ¬it; I tell you #data I'm ∉ I tell you #errors +(1,4): expected-doctype-but-got-chars #document | | @@ -55,6 +64,7 @@ I'm ∉ I tell you #data FOO& BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -64,6 +74,8 @@ FOO& BAR #data FOO& #errors +(1,3): expected-doctype-but-got-chars +(1,9): expected-closing-tag-but-got-eof #document | | @@ -74,6 +86,7 @@ FOO& #data FOO&&&>BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -83,6 +96,7 @@ FOO&&&>BAR #data FOO)BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -92,6 +106,7 @@ FOO)BAR #data FOOABAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -101,6 +116,7 @@ FOOABAR #data FOOABAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -110,6 +126,8 @@ FOOABAR #data FOOBAR #errors +(1,3): expected-doctype-but-got-chars +(1,5): expected-numeric-entity #document | | @@ -119,6 +137,8 @@ FOOBAR #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,5): expected-numeric-entity #document | | @@ -128,6 +148,8 @@ FOOZOO #data FOOºR #errors +(1,3): expected-doctype-but-got-chars +(1,7): expected-numeric-entity #document | | @@ -137,6 +159,8 @@ FOOºR #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,6): expected-numeric-entity #document | | @@ -146,6 +170,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,6): expected-numeric-entity #document | | @@ -155,6 +181,8 @@ FOOZOO #data FOO)BAR #errors +(1,3): expected-doctype-but-got-chars +(1,7): numeric-entity-without-semicolon #document | | @@ -164,6 +192,8 @@ FOO)BAR #data FOO䆺R #errors +(1,3): expected-doctype-but-got-chars +(1,10): numeric-entity-without-semicolon #document | | @@ -173,6 +203,8 @@ FOO䆺R #data FOOAZOO #errors +(1,3): expected-doctype-but-got-chars +(1,8): numeric-entity-without-semicolon #document | | @@ -182,6 +214,8 @@ FOOAZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -191,6 +225,7 @@ FOOZOO #data FOOxZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -200,6 +235,7 @@ FOOxZOO #data FOOyZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -209,6 +245,8 @@ FOOyZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -218,6 +256,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -227,6 +267,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -236,6 +278,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -245,6 +289,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -254,6 +300,8 @@ FOOZOO #data FOO ZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -263,6 +311,8 @@ FOO ZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -272,6 +322,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -281,6 +333,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -290,6 +344,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -299,6 +355,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -308,6 +366,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -317,6 +377,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -326,6 +388,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -335,6 +399,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -344,6 +410,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -353,6 +421,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -362,6 +432,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -371,6 +443,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -380,6 +454,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -389,6 +465,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -398,6 +476,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -407,6 +487,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -416,6 +498,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -425,6 +509,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -434,6 +520,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -443,6 +531,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -452,6 +542,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -461,6 +553,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -470,6 +564,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -479,6 +575,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -488,6 +586,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -497,6 +597,7 @@ FOOZOO #data FOO ZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -506,6 +607,7 @@ FOO ZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -515,6 +617,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -524,6 +628,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -533,6 +639,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -542,6 +650,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -551,6 +661,7 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -560,6 +671,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -569,6 +682,7 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -578,6 +692,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -587,6 +703,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -596,6 +714,77 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | diff --git a/html/testdata/webkit/entities02.dat b/html/testdata/webkit/entities02.dat index e2fb42a0..22365c98 100644 --- a/html/testdata/webkit/entities02.dat +++ b/html/testdata/webkit/entities02.dat @@ -1,6 +1,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -11,6 +12,7 @@ #data #errors +(1,15): expected-doctype-but-got-start-tag #document | | @@ -21,6 +23,7 @@ #data #errors +(1,15): expected-doctype-but-got-start-tag #document | | @@ -31,6 +34,7 @@ #data #errors +(1,13): expected-doctype-but-got-start-tag #document | | @@ -41,6 +45,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,20): expected-doctype-but-got-start-tag #document | | @@ -51,6 +57,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -61,6 +68,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -71,6 +79,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -81,6 +90,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -91,6 +101,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,20): expected-doctype-but-got-start-tag #document | | @@ -101,6 +113,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,17): expected-doctype-but-got-start-tag #document | | @@ -111,6 +125,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,17): expected-doctype-but-got-start-tag #document | | @@ -121,6 +137,8 @@ #data #errors +(1,14): named-entity-without-semicolon +(1,15): expected-doctype-but-got-start-tag #document | | @@ -131,6 +149,8 @@ #data #errors +(1,18): named-entity-without-semicolon +(1,26): expected-doctype-but-got-start-tag #document | | @@ -141,6 +161,7 @@ #data #errors +(1,25): expected-doctype-but-got-start-tag #document | | @@ -151,6 +172,7 @@ #data #errors +(1,27): expected-doctype-but-got-start-tag #document | | @@ -161,6 +183,7 @@ #data #errors +(1,26): expected-doctype-but-got-start-tag #document | | @@ -171,6 +194,8 @@ #data #errors +(1,18): named-entity-without-semicolon +(1,23): expected-doctype-but-got-start-tag #document | | @@ -181,6 +206,7 @@ #data #errors +(1,22): expected-doctype-but-got-start-tag #document | | @@ -191,6 +217,8 @@ #data ZZ£_id=23 #errors +(1,5): expected-doctype-but-got-start-tag +(1,13): named-entity-without-semicolon #document | | @@ -201,6 +229,7 @@ #data ZZ&prod_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -211,6 +240,7 @@ #data ZZ£_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -221,6 +251,7 @@ #data ZZ∏_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -231,6 +262,8 @@ #data ZZ£=23 #errors +(1,5): expected-doctype-but-got-start-tag +(1,13): named-entity-without-semicolon #document | | @@ -241,9 +274,20 @@ #data ZZ&prod=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | | | | "ZZ&prod=23" + +#data +ZZÆ= +#errors +#document +| +| +| +| +| "ZZÆ=" diff --git a/html/testdata/webkit/html5test-com.dat b/html/testdata/webkit/html5test-com.dat index d7cb71db..8c6ec40c 100644 --- a/html/testdata/webkit/html5test-com.dat +++ b/html/testdata/webkit/html5test-com.dat @@ -1,6 +1,8 @@ #data #errors +(1,9): expected-doctype-but-got-start-tag +(1,9): expected-closing-tag-but-got-eof #document | | @@ -10,6 +12,9 @@ #data #errors +(1,9): invalid-character-in-attribute-name +(1,16): expected-doctype-but-got-start-tag +(1,16): expected-closing-tag-but-got-eof #document | | @@ -20,6 +25,10 @@ #data #errors +(1,10): equals-in-unquoted-attribute-value +(1,14): unexpected-character-in-unquoted-attribute-value +(1,15): expected-doctype-but-got-start-tag +(1,15): expected-closing-tag-but-got-eof #document | | @@ -30,6 +39,9 @@ #data #errors +(1,7): invalid-character-in-attribute-name +(1,14): expected-doctype-but-got-start-tag +(1,14): expected-closing-tag-but-got-eof #document | | @@ -40,6 +52,7 @@ #data #errors +(1,16): expected-doctype-but-got-start-tag #document | | @@ -59,6 +72,7 @@ #data 〈〉 #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -68,6 +82,7 @@ #data ' #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -77,6 +92,7 @@ #data ⅈ #errors +(1,12): expected-doctype-but-got-chars #document | | @@ -86,6 +102,7 @@ #data 𝕂 #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -95,6 +112,7 @@ #data ∉ #errors +(1,9): expected-doctype-but-got-chars #document | | @@ -104,6 +122,8 @@ #data #errors +(1,1): expected-tag-name-but-got-question-mark +(1,47): expected-doctype-but-got-eof #document | | @@ -113,6 +133,8 @@ #data #errors +(1,10): unexpected-char-in-comment +(1,15): expected-doctype-but-got-eof #document | | @@ -122,6 +144,8 @@ #data #errors +(1,2): expected-dashes-or-doctype +(1,13): expected-doctype-but-got-eof #document | | @@ -131,6 +155,8 @@ #data #errors +(1,10): expected-doctype-but-got-start-tag +(1,39): unexpected-end-tag #document | | @@ -142,6 +168,7 @@ #data #errors +(1,10): expected-doctype-but-got-start-tag #document | | @@ -153,6 +180,8 @@ #data --> #errors +(1,7): expected-doctype-but-got-start-tag +(1,30): unexpected-end-tag #document | | @@ -164,6 +193,7 @@ #data --> #errors +(1,7): expected-doctype-but-got-start-tag #document | | @@ -175,6 +205,7 @@ #data A B #errors +(1,4): expected-doctype-but-got-start-tag #document | | @@ -189,6 +220,14 @@ #data #errors +(1,7): expected-doctype-but-got-start-tag +(1,13): unexpected-form-in-table +(1,32): unexpected-hidden-input-in-table +(1,39): unexpected-start-tag-implies-table-voodoo +(1,46): unexpected-end-tag-implies-table-voodoo +(1,46): unexpected-end-tag +(1,51): unexpected-start-tag-implies-table-voodoo +(1,57): unexpected-end-tag-implies-table-voodoo #document | | @@ -203,6 +242,9 @@ #data ABCD #errors +(1,3): expected-doctype-but-got-start-tag +(1,15): adoption-agency-1.3 +(1,20): adoption-agency-1.3 #document | | @@ -221,6 +263,7 @@ #data #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -230,6 +273,7 @@ #data #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -239,6 +283,7 @@ #data #errors +(1,6): expected-doctype-but-got-start-tag #document | | diff --git a/html/testdata/webkit/inbody01.dat b/html/testdata/webkit/inbody01.dat index 3f2bd374..10f6520f 100644 --- a/html/testdata/webkit/inbody01.dat +++ b/html/testdata/webkit/inbody01.dat @@ -1,6 +1,9 @@ #data 1 #errors +(1,8): expected-doctype-but-got-start-tag +(1,15): unexpected-end-tag +(1,15): expected-closing-tag-but-got-eof #document | | @@ -11,6 +14,9 @@ #data 12 #errors +(1,5): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(1,16): expected-closing-tag-but-got-eof #document | | @@ -23,6 +29,8 @@ #data 1 #errors +(1,4): expected-doctype-but-got-start-tag +(1,11): unexpected-end-tag #document | | @@ -33,6 +41,9 @@ #data 12 #errors +(1,5): expected-doctype-but-got-start-tag +(1,17): unexpected-end-tag +(1,17): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/math.dat b/html/testdata/webkit/math.dat new file mode 100644 index 00000000..ae9cd7c6 --- /dev/null +++ b/html/testdata/webkit/math.dat @@ -0,0 +1,81 @@ +#data + +#errors +#document-fragment +td +#document +| +| +| +| + +#data + +#errors +#document-fragment +tr +#document +| +| +| +| + +#data + +#errors +#document-fragment +thead +#document +| +| +| + +#data + +#errors +#document-fragment +tfoot +#document +| +| +| + +#data + +#errors +#document-fragment +tbody +#document +| +| +| + +#data +
+| +| + +#data +xy +#errors +(1,3): expected-doctype-but-got-start-tag +#document +| +| +| +| +| +| +| +| "x" +| "y" + +#data +x +#errors +(1,3): expected-doctype-but-got-start-tag +(1,18): unexpected-end-tag +(1,19): expected-closing-tag-but-got-eof +#document +| +| +| +| +| +| +| +| +| +| +| +| +| "x" diff --git a/html/testdata/webkit/adoption02.dat b/html/testdata/webkit/adoption02.dat index d18151b4..e54d8033 100644 --- a/html/testdata/webkit/adoption02.dat +++ b/html/testdata/webkit/adoption02.dat @@ -1,6 +1,9 @@ #data 1234 #errors +(1,3): expected-doctype-but-got-start-tag +(1,16): adoption-agency-1.3 +(1,17): expected-closing-tag-but-got-eof #document | | @@ -18,6 +21,11 @@ #data #errors +(1,3): expected-doctype-but-got-start-tag +(1,35): unexpected-start-tag-implies-end-tag +(1,35): adoption-agency-1.3 +(1,35): adoption-agency-1.3 +(1,35): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/comments01.dat b/html/testdata/webkit/comments01.dat index 44f18768..35ec6cce 100644 --- a/html/testdata/webkit/comments01.dat +++ b/html/testdata/webkit/comments01.dat @@ -1,6 +1,7 @@ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -12,6 +13,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-bang-after-double-dash-in-comment #document | | @@ -23,6 +26,9 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment #document | | @@ -44,6 +53,10 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,15): unexpected-char-in-comment +(1,24): unexpected-char-in-comment +(1,31): unexpected-bang-after-double-dash-in-comment #document | | @@ -55,6 +68,11 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -76,6 +95,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,9): incorrect-comment #document | | @@ -87,6 +108,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,8): incorrect-comment #document | | @@ -98,6 +121,8 @@ FOOBAZ #data Hi #errors +(1,1): expected-tag-name-but-got-question-mark +(1,22): expected-doctype-but-got-chars #document | | @@ -108,6 +133,8 @@ FOOBAZ #data #errors +(1,1): expected-tag-name-but-got-question-mark +(1,20): expected-doctype-but-got-eof #document | | @@ -117,6 +144,8 @@ FOOBAZ #data | @@ -126,6 +155,8 @@ FOOBAZ #data FOOBAZ #errors +(1,3): expected-doctype-but-got-chars +(1,10): unexpected-dash-after-double-dash-in-comment #document | | @@ -133,3 +164,15 @@ FOOBAZ | "FOO" | | "BAZ" + +#data +Comment before head +#errors +(1,6): expected-doctype-but-got-start-tag +#document +| +| +| +| +| "Comment before head" +| diff --git a/html/testdata/webkit/doctype01.dat b/html/testdata/webkit/doctype01.dat index ae457328..cec66389 100644 --- a/html/testdata/webkit/doctype01.dat +++ b/html/testdata/webkit/doctype01.dat @@ -21,6 +21,7 @@ #data Hello #errors +(1,9): need-space-after-doctype #document | | @@ -31,6 +32,9 @@ #data Hello #errors +(1,9): need-space-after-doctype +(1,10): expected-doctype-name-but-got-right-bracket +(1,10): unknown-doctype #document | | @@ -41,6 +45,8 @@ #data Hello #errors +(1,11): expected-doctype-name-but-got-right-bracket +(1,11): unknown-doctype #document | | @@ -51,6 +57,7 @@ #data Hello #errors +(1,17): unknown-doctype #document | | @@ -61,6 +68,7 @@ #data Hello #errors +(1,18): unknown-doctype #document | | @@ -71,6 +79,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,22): unknown-doctype #document | | @@ -81,6 +91,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,27): unknown-doctype #document | | @@ -91,6 +103,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,24): unknown-doctype #document | | @@ -101,6 +115,8 @@ #data Hello #errors +(1,28): unexpected-char-in-doctype +(1,28): unknown-doctype #document | | @@ -111,6 +127,8 @@ #data Hello #errors +(1,34): unexpected-char-in-doctype +(1,37): unknown-doctype #document | | @@ -121,6 +139,8 @@ #data Hello #errors +(1,25): unexpected-char-in-doctype +(1,31): unknown-doctype #document | | @@ -131,6 +151,7 @@ #data Hello #errors +(1,32): unknown-doctype #document | | @@ -141,6 +162,7 @@ #data Hello #errors +(1,31): unknown-doctype #document | | @@ -151,6 +173,7 @@ #data Hello #errors +(1,33): unknown-doctype #document | | @@ -161,6 +184,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,34): unknown-doctype #document | | @@ -171,6 +196,8 @@ #data Hello #errors +(1,17): expected-space-or-right-bracket-in-doctype +(1,35): unknown-doctype #document | | @@ -181,6 +208,8 @@ #data Hello #errors +(1,24): unexpected-end-of-doctype +(1,24): unknown-doctype #document | | @@ -191,6 +220,8 @@ #data Hello #errors +(1,25): unexpected-end-of-doctype +(1,25): unknown-doctype #document | | @@ -201,6 +232,8 @@ #data Hello #errors +(1,24): unexpected-char-in-doctype +(1,28): unknown-doctype #document | | @@ -211,6 +244,8 @@ #data Hello #errors +(1,25): unexpected-char-in-doctype +(1,29): unknown-doctype #document | | @@ -221,6 +256,7 @@ #data Hello #errors +(1,32): unknown-doctype #document | | @@ -231,6 +267,8 @@ #data Hello #errors +(1,29): unexpected-char-in-doctype +(1,32): unknown-doctype #document | | @@ -241,6 +279,7 @@ #data Hello #errors +(1,38): unknown-doctype #document | | @@ -251,6 +290,8 @@ #data Hello #errors +(1,38): unexpected-char-in-doctype +(1,48): unknown-doctype #document | | @@ -272,6 +313,7 @@ #data Hello #errors +(1,14): unknown-doctype #document | | @@ -283,6 +325,7 @@ #errors +(2,58): unknown-doctype #document | | @@ -293,6 +336,7 @@ #errors +(2,54): unknown-doctype #document | | @@ -304,6 +348,8 @@ ]> #errors +(1,23): expected-space-or-right-bracket-in-doctype +(2,30): unknown-doctype #document | | @@ -316,6 +362,7 @@ "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> #errors +(3,53): unknown-doctype #document | | @@ -325,6 +372,7 @@ #data Mine! #errors +(1,63): unknown-doctype #document | | @@ -336,6 +384,7 @@ #data #errors +(1,50): unexpected-char-in-doctype #document | | @@ -345,6 +394,7 @@ #data #errors +(1,50): unexpected-char-in-doctype #document | | @@ -354,6 +404,8 @@ #data #errors +(1,21): unexpected-char-in-doctype +(1,49): unexpected-char-in-doctype #document | | @@ -363,6 +415,8 @@ #data #errors +(1,21): unexpected-char-in-doctype +(1,49): unexpected-char-in-doctype #document | | diff --git a/html/testdata/webkit/domjs-unsafe.dat b/html/testdata/webkit/domjs-unsafe.dat new file mode 100644 index 0000000000000000000000000000000000000000..34b4e62716e4b668be95cbd017ba8d54cdc826ab GIT binary patch literal 9884 zcmds7&5qMB5at|-cQDz*g0xm>yZp+ngcc5*KeEb!;4;oXf1U(KJkLd5 z1P=!%PaeG_{M(XGOP}PA{)ZIu|7^$~Z4+8P9`$mv29X*S3I%xErV z!4cfz`if^|@RP7F<<(*W2LujzoK%OGBKfWk;XEKDh*FM%fh4S8h5_7bBZ>R}1&O=q zifNuM%Sk*wzIV)`LjAJU^xW3SEovH^42Cc?&A!HqG@(Q*DSeH%?SZ&twe)cU}^JC&Wg+ax+a z`|$StMXk_ktM?sv)rA0CP7X+vfW`@YRT&rt=DHp>j0Z zL#EK2AsHIHKD4dGXzt_7`*e@IF-aQ0Uc~!kzK?=cdt8>T9jQ}uy*co4`fjE%r7L(o zo~@7WIU zDL@UFw(HvC8(|^bhy7%`l||~Sp$b3CVF$7gWMzE0;Lz=@>poJaZL6WHnrb(_C2J7` zI!xHM?t)GAtXYLYYp~!8Sb?%}L0l1W^)zc{3Fi zaeHBb9ahv-CNhe*rMVDomTcN`yGdZ!EA7V**!VzI%|uc1oG#-WmMU=_bNVIDV^{;t zX_~>JCd3U~9Np-*r>2e!e#0EQb|_fN>E< z{8_EWTefomHpC3MD`55X;c2=Nn$DV18*5hSrnL>$I=R zRc-HRR5x-rh2`b88$2Mkqfq@!SW8}JPluMH#5ofgOq8hl@Ub$lcUPR08*tCAx9!N;eaabu8dl-?+M3biTj=)uf56FE=k8En|dO5Egw zIkKT<&s^5r3B;6>G=E7kJhjpnZf(Lb1nM)9k8_^%VSwgaWg7!DUZi$o0L3x{nwxBZ ah8P!dR&=&OpEFE5k3hWz_(B9227dv>NdEf( literal 0 HcmV?d00001 diff --git a/html/testdata/webkit/entities01.dat b/html/testdata/webkit/entities01.dat index c8073b78..b271f822 100644 --- a/html/testdata/webkit/entities01.dat +++ b/html/testdata/webkit/entities01.dat @@ -1,6 +1,7 @@ #data FOO>BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -10,6 +11,8 @@ FOO>BAR #data FOO>BAR #errors +(1,3): expected-doctype-but-got-chars +(1,6): named-entity-without-semicolon #document | | @@ -19,6 +22,8 @@ FOO>BAR #data FOO> BAR #errors +(1,3): expected-doctype-but-got-chars +(1,6): named-entity-without-semicolon #document | | @@ -28,6 +33,7 @@ FOO> BAR #data FOO>;;BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -37,6 +43,8 @@ FOO>;;BAR #data I'm ¬it; I tell you #errors +(1,4): expected-doctype-but-got-chars +(1,9): named-entity-without-semicolon #document | | @@ -46,6 +54,7 @@ I'm ¬it; I tell you #data I'm ∉ I tell you #errors +(1,4): expected-doctype-but-got-chars #document | | @@ -55,6 +64,7 @@ I'm ∉ I tell you #data FOO& BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -64,6 +74,8 @@ FOO& BAR #data FOO& #errors +(1,3): expected-doctype-but-got-chars +(1,9): expected-closing-tag-but-got-eof #document | | @@ -74,6 +86,7 @@ FOO& #data FOO&&&>BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -83,6 +96,7 @@ FOO&&&>BAR #data FOO)BAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -92,6 +106,7 @@ FOO)BAR #data FOOABAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -101,6 +116,7 @@ FOOABAR #data FOOABAR #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -110,6 +126,8 @@ FOOABAR #data FOOBAR #errors +(1,3): expected-doctype-but-got-chars +(1,5): expected-numeric-entity #document | | @@ -119,6 +137,8 @@ FOOBAR #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,5): expected-numeric-entity #document | | @@ -128,6 +148,8 @@ FOOZOO #data FOOºR #errors +(1,3): expected-doctype-but-got-chars +(1,7): expected-numeric-entity #document | | @@ -137,6 +159,8 @@ FOOºR #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,6): expected-numeric-entity #document | | @@ -146,6 +170,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,6): expected-numeric-entity #document | | @@ -155,6 +181,8 @@ FOOZOO #data FOO)BAR #errors +(1,3): expected-doctype-but-got-chars +(1,7): numeric-entity-without-semicolon #document | | @@ -164,6 +192,8 @@ FOO)BAR #data FOO䆺R #errors +(1,3): expected-doctype-but-got-chars +(1,10): numeric-entity-without-semicolon #document | | @@ -173,6 +203,8 @@ FOO䆺R #data FOOAZOO #errors +(1,3): expected-doctype-but-got-chars +(1,8): numeric-entity-without-semicolon #document | | @@ -182,6 +214,8 @@ FOOAZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -191,6 +225,7 @@ FOOZOO #data FOOxZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -200,6 +235,7 @@ FOOxZOO #data FOOyZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -209,6 +245,8 @@ FOOyZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -218,6 +256,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -227,6 +267,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -236,6 +278,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -245,6 +289,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -254,6 +300,8 @@ FOOZOO #data FOO ZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -263,6 +311,8 @@ FOO ZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -272,6 +322,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -281,6 +333,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -290,6 +344,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -299,6 +355,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -308,6 +366,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -317,6 +377,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -326,6 +388,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -335,6 +399,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -344,6 +410,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -353,6 +421,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -362,6 +432,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -371,6 +443,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -380,6 +454,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -389,6 +465,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -398,6 +476,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -407,6 +487,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -416,6 +498,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -425,6 +509,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -434,6 +520,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -443,6 +531,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -452,6 +542,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -461,6 +553,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -470,6 +564,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -479,6 +575,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -488,6 +586,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -497,6 +597,7 @@ FOOZOO #data FOO ZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -506,6 +607,7 @@ FOO ZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -515,6 +617,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -524,6 +628,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -533,6 +639,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -542,6 +650,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,11): illegal-codepoint-for-numeric-entity #document | | @@ -551,6 +661,7 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -560,6 +671,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -569,6 +682,7 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars #document | | @@ -578,6 +692,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -587,6 +703,8 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | @@ -596,6 +714,77 @@ FOOZOO #data FOOZOO #errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +(1,13): eof-in-numeric-entity +#document +| +| +| +| "FOO�" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity +#document +| +| +| +| "FOO�ZOO" + +#data +FOOZOO +#errors +(1,3): expected-doctype-but-got-chars +(1,13): illegal-codepoint-for-numeric-entity #document | | diff --git a/html/testdata/webkit/entities02.dat b/html/testdata/webkit/entities02.dat index e2fb42a0..22365c98 100644 --- a/html/testdata/webkit/entities02.dat +++ b/html/testdata/webkit/entities02.dat @@ -1,6 +1,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -11,6 +12,7 @@ #data #errors +(1,15): expected-doctype-but-got-start-tag #document | | @@ -21,6 +23,7 @@ #data #errors +(1,15): expected-doctype-but-got-start-tag #document | | @@ -31,6 +34,7 @@ #data #errors +(1,13): expected-doctype-but-got-start-tag #document | | @@ -41,6 +45,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,20): expected-doctype-but-got-start-tag #document | | @@ -51,6 +57,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -61,6 +68,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -71,6 +79,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -81,6 +90,7 @@ #data #errors +(1,20): expected-doctype-but-got-start-tag #document | | @@ -91,6 +101,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,20): expected-doctype-but-got-start-tag #document | | @@ -101,6 +113,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,17): expected-doctype-but-got-start-tag #document | | @@ -111,6 +125,8 @@ #data #errors +(1,15): named-entity-without-semicolon +(1,17): expected-doctype-but-got-start-tag #document | | @@ -121,6 +137,8 @@ #data #errors +(1,14): named-entity-without-semicolon +(1,15): expected-doctype-but-got-start-tag #document | | @@ -131,6 +149,8 @@ #data #errors +(1,18): named-entity-without-semicolon +(1,26): expected-doctype-but-got-start-tag #document | | @@ -141,6 +161,7 @@ #data #errors +(1,25): expected-doctype-but-got-start-tag #document | | @@ -151,6 +172,7 @@ #data #errors +(1,27): expected-doctype-but-got-start-tag #document | | @@ -161,6 +183,7 @@ #data #errors +(1,26): expected-doctype-but-got-start-tag #document | | @@ -171,6 +194,8 @@ #data #errors +(1,18): named-entity-without-semicolon +(1,23): expected-doctype-but-got-start-tag #document | | @@ -181,6 +206,7 @@ #data #errors +(1,22): expected-doctype-but-got-start-tag #document | | @@ -191,6 +217,8 @@ #data ZZ£_id=23 #errors +(1,5): expected-doctype-but-got-start-tag +(1,13): named-entity-without-semicolon #document | | @@ -201,6 +229,7 @@ #data ZZ&prod_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -211,6 +240,7 @@ #data ZZ£_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -221,6 +251,7 @@ #data ZZ∏_id=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -231,6 +262,8 @@ #data ZZ£=23 #errors +(1,5): expected-doctype-but-got-start-tag +(1,13): named-entity-without-semicolon #document | | @@ -241,9 +274,20 @@ #data ZZ&prod=23 #errors +(1,5): expected-doctype-but-got-start-tag #document | | | | | "ZZ&prod=23" + +#data +ZZÆ= +#errors +#document +| +| +| +| +| "ZZÆ=" diff --git a/html/testdata/webkit/html5test-com.dat b/html/testdata/webkit/html5test-com.dat index d7cb71db..8c6ec40c 100644 --- a/html/testdata/webkit/html5test-com.dat +++ b/html/testdata/webkit/html5test-com.dat @@ -1,6 +1,8 @@ #data #errors +(1,9): expected-doctype-but-got-start-tag +(1,9): expected-closing-tag-but-got-eof #document | | @@ -10,6 +12,9 @@ #data #errors +(1,9): invalid-character-in-attribute-name +(1,16): expected-doctype-but-got-start-tag +(1,16): expected-closing-tag-but-got-eof #document | | @@ -20,6 +25,10 @@ #data #errors +(1,10): equals-in-unquoted-attribute-value +(1,14): unexpected-character-in-unquoted-attribute-value +(1,15): expected-doctype-but-got-start-tag +(1,15): expected-closing-tag-but-got-eof #document | | @@ -30,6 +39,9 @@ #data #errors +(1,7): invalid-character-in-attribute-name +(1,14): expected-doctype-but-got-start-tag +(1,14): expected-closing-tag-but-got-eof #document | | @@ -40,6 +52,7 @@ #data #errors +(1,16): expected-doctype-but-got-start-tag #document | | @@ -59,6 +72,7 @@ #data 〈〉 #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -68,6 +82,7 @@ #data ' #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -77,6 +92,7 @@ #data ⅈ #errors +(1,12): expected-doctype-but-got-chars #document | | @@ -86,6 +102,7 @@ #data 𝕂 #errors +(1,6): expected-doctype-but-got-chars #document | | @@ -95,6 +112,7 @@ #data ∉ #errors +(1,9): expected-doctype-but-got-chars #document | | @@ -104,6 +122,8 @@ #data #errors +(1,1): expected-tag-name-but-got-question-mark +(1,47): expected-doctype-but-got-eof #document | | @@ -113,6 +133,8 @@ #data #errors +(1,10): unexpected-char-in-comment +(1,15): expected-doctype-but-got-eof #document | | @@ -122,6 +144,8 @@ #data #errors +(1,2): expected-dashes-or-doctype +(1,13): expected-doctype-but-got-eof #document | | @@ -131,6 +155,8 @@ #data #errors +(1,10): expected-doctype-but-got-start-tag +(1,39): unexpected-end-tag #document | | @@ -142,6 +168,7 @@ #data #errors +(1,10): expected-doctype-but-got-start-tag #document | | @@ -153,6 +180,8 @@ #data --> #errors +(1,7): expected-doctype-but-got-start-tag +(1,30): unexpected-end-tag #document | | @@ -164,6 +193,7 @@ #data --> #errors +(1,7): expected-doctype-but-got-start-tag #document | | @@ -175,6 +205,7 @@ #data A B #errors +(1,4): expected-doctype-but-got-start-tag #document | | @@ -189,6 +220,14 @@ #data #errors +(1,7): expected-doctype-but-got-start-tag +(1,13): unexpected-form-in-table +(1,32): unexpected-hidden-input-in-table +(1,39): unexpected-start-tag-implies-table-voodoo +(1,46): unexpected-end-tag-implies-table-voodoo +(1,46): unexpected-end-tag +(1,51): unexpected-start-tag-implies-table-voodoo +(1,57): unexpected-end-tag-implies-table-voodoo #document | | @@ -203,6 +242,9 @@ #data ABCD #errors +(1,3): expected-doctype-but-got-start-tag +(1,15): adoption-agency-1.3 +(1,20): adoption-agency-1.3 #document | | @@ -221,6 +263,7 @@ #data #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -230,6 +273,7 @@ #data #errors +(1,5): expected-doctype-but-got-start-tag #document | | @@ -239,6 +283,7 @@ #data #errors +(1,6): expected-doctype-but-got-start-tag #document | | diff --git a/html/testdata/webkit/inbody01.dat b/html/testdata/webkit/inbody01.dat index 3f2bd374..10f6520f 100644 --- a/html/testdata/webkit/inbody01.dat +++ b/html/testdata/webkit/inbody01.dat @@ -1,6 +1,9 @@ #data 1 #errors +(1,8): expected-doctype-but-got-start-tag +(1,15): unexpected-end-tag +(1,15): expected-closing-tag-but-got-eof #document | | @@ -11,6 +14,9 @@ #data 12 #errors +(1,5): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(1,16): expected-closing-tag-but-got-eof #document | | @@ -23,6 +29,8 @@ #data 1 #errors +(1,4): expected-doctype-but-got-start-tag +(1,11): unexpected-end-tag #document | | @@ -33,6 +41,9 @@ #data 12 #errors +(1,5): expected-doctype-but-got-start-tag +(1,17): unexpected-end-tag +(1,17): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/math.dat b/html/testdata/webkit/math.dat new file mode 100644 index 00000000..ae9cd7c6 --- /dev/null +++ b/html/testdata/webkit/math.dat @@ -0,0 +1,81 @@ +#data + +#errors +#document-fragment +td +#document +| +| +| +| + +#data + +#errors +#document-fragment +tr +#document +| +| +| +| + +#data + +#errors +#document-fragment +thead +#document +| +| +| + +#data + +#errors +#document-fragment +tfoot +#document +| +| +| + +#data + +#errors +#document-fragment +tbody +#document +| +| +| + +#data +
x +#errors +(1,3): expected-doctype-but-got-start-tag +(1,18): unexpected-end-tag +(1,19): expected-closing-tag-but-got-eof +#document +| +|
+| +| +| +| +|
+| +| +| +| "x" diff --git a/html/testdata/webkit/adoption02.dat b/html/testdata/webkit/adoption02.dat index d18151b4..e54d8033 100644 --- a/html/testdata/webkit/adoption02.dat +++ b/html/testdata/webkit/adoption02.dat @@ -1,6 +1,9 @@ #data 12
34 #errors +(1,3): expected-doctype-but-got-start-tag +(1,16): adoption-agency-1.3 +(1,17): expected-closing-tag-but-got-eof #document | |
CD #errors +(1,3): expected-doctype-but-got-start-tag +(1,15): adoption-agency-1.3 +(1,20): adoption-agency-1.3 #document | |
X +#errors +#document +| +| +| +| +| +| size="4" +| +| size="4" +| +| size="5" +|
X +#errors +#document +| +|
+| +| size="4" +| +| size="4" +| +| size="5" +|
#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 28 Unexpected end tag (div). Ignored. +(1,8): expected-doctype-but-got-start-tag +(1,28): unexpected-end-tag #document | |
#errors -Line: 1 Col: 6 Unexpected start tag (body). Expected DOCTYPE. -Line: 1 Col: 12 Unexpected start tag (body). -Line: 1 Col: 54 Unexpected start tag (body). -Line: 1 Col: 64 Unexpected end tag (p). Missing end tag (body). +(1,6): expected-doctype-but-got-start-tag +(1,12): unexpected-start-tag +(1,54): unexpected-start-tag #document | |
#errors -Line: 1 Col: 3 Unexpected start tag (a). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected start tag (a) in table context caused voodoo mode. -Line: 1 Col: 13 Unexpected start tag (a) implies end tag (a). -Line: 1 Col: 13 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 21 Unexpected end tag (table). Expected end tag (a). -Line: 1 Col: 27 Unexpected start tag (a) implies end tag (a). -Line: 1 Col: 27 End tag (a) violates step 1, paragraph 2 of the adoption agency algorithm. -Line: 1 Col: 32 Unexpected end tag (p). Ignored. -Line: 1 Col: 35 Unexpected start tag (a) implies end tag (a). -Line: 1 Col: 35 End tag (a) violates step 1, paragraph 2 of the adoption agency algorithm. -Line: 1 Col: 35 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,13): unexpected-start-tag-implies-table-voodoo +(1,13): unexpected-start-tag-implies-end-tag +(1,13): adoption-agency-1.3 +(1,27): unexpected-start-tag-implies-end-tag +(1,27): adoption-agency-1.2 +(1,32): unexpected-end-tag +(1,35): unexpected-start-tag-implies-end-tag +(1,35): adoption-agency-1.2 +(1,35): expected-closing-tag-but-got-eof #document | | @@ -1379,8 +1383,8 @@ Line: 1 Col: 35 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -Line: 1 Col: 10 Unexpected end tag (p). Ignored. +(1,6): expected-doctype-but-got-start-tag +(1,10): unexpected-end-tag #document | | @@ -1391,8 +1395,8 @@ Line: 1 Col: 10 Unexpected end tag (p). Ignored. #data #errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -Line: 1 Col: 19 Unexpected start tag (meta). +(1,6): expected-doctype-but-got-start-tag +(1,19): expected-eof-but-got-start-tag #document | | @@ -1403,10 +1407,10 @@ Line: 1 Col: 19 Unexpected start tag (meta). #data #errors -Line: 1 Col: 3 Unexpected start tag (b). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected table cell start tag (td) in the table body phase. -Line: 1 Col: 25 Got table cell end tag (td) while required end tags are missing. -Line: 1 Col: 25 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,14): unexpected-cell-in-table-body +(1,25): unexpected-cell-end-tag +(1,25): expected-closing-tag-but-got-eof #document | | @@ -1421,11 +1425,11 @@ Line: 1 Col: 25 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 3 Unexpected start tag (b). Expected DOCTYPE. -Line: 1 Col: 14 Unexpected table cell start tag (td) in the table body phase. -Line: 1 Col: 18 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 29 Got table cell end tag (td) while required end tags are missing. -Line: 1 Col: 29 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,14): unexpected-cell-in-table-body +(1,18): unexpected-end-tag +(1,29): unexpected-cell-end-tag +(1,29): expected-closing-tag-but-got-eof #document | | @@ -1440,9 +1444,9 @@ Line: 1 Col: 29 Expected closing tag. Unexpected end of file. #data #errors -4: Start tag seen without seeing a doctype first. Expected “”. -8: Heading cannot be a child of another heading. -8: End of file seen and there were open elements. +(1,4): expected-doctype-but-got-start-tag +(1,8): unexpected-start-tag +(1,8): expected-closing-tag-but-got-eof #document | | @@ -1453,10 +1457,10 @@ Line: 1 Col: 29 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 3 Unexpected start tag (a). Expected DOCTYPE. -Line: 1 Col: 9 Unexpected start tag (a) implies end tag (a). -Line: 1 Col: 9 End tag (a) violates step 1, paragraph 3 of the adoption agency algorithm. -Line: 1 Col: 21 End tag (a) violates step 1, paragraph 1 of the adoption agency algorithm. +(1,3): expected-doctype-but-got-start-tag +(1,9): unexpected-start-tag-implies-end-tag +(1,9): adoption-agency-1.3 +(1,21): unexpected-end-tag #document | | @@ -1469,8 +1473,9 @@ Line: 1 Col: 21 End tag (a) violates step 1, paragraph 1 of the adoption agency #data #errors -Line: 1 Col: 3 Unexpected start tag (b). Expected DOCTYPE. -Line: 1 Col: 15 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm. +(1,3): expected-doctype-but-got-start-tag +(1,15): adoption-agency-1.3 +(1,28): unexpected-end-tag #document | | @@ -1482,12 +1487,12 @@ Line: 1 Col: 15 End tag (b) violates step 1, paragraph 1 of the adoption agency #data #errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end tag (p). Ignored. -Line: 1 Col: 24 Unexpected end tag (p). Ignored. -Line: 1 Col: 28 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 34 End tag (div) seen too early. Expected other end tag. -Line: 1 Col: 34 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,11): unexpected-end-tag +(1,24): unexpected-end-tag +(1,28): unexpected-end-tag +(1,34): end-tag-too-early +(1,34): expected-closing-tag-but-got-eof #document | | @@ -1502,8 +1507,8 @@ Line: 1 Col: 34 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 23 Unexpected end tag (div). Ignored. +(1,8): expected-doctype-but-got-start-tag +(1,23): unexpected-end-tag #document | | @@ -1516,8 +1521,8 @@ Line: 1 Col: 23 Unexpected end tag (div). Ignored. #data
#errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -Line: 1 Col: 10 Unexpected end tag (p). Ignored. +(1,6): expected-doctype-but-got-start-tag +(1,10): unexpected-end-tag #document | |
#errors -Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE. -Line: 1 Col: 19 Unexpected start tag (meta). +(1,6): expected-doctype-but-got-start-tag +(1,19): expected-eof-but-got-start-tag #document | |
#errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 11 Unexpected end tag (p). Ignored. -Line: 1 Col: 24 Unexpected end tag (p). Ignored. -Line: 1 Col: 28 End tag (b) violates step 1, paragraph 1 of the adoption agency algorithm. -Line: 1 Col: 34 End tag (div) seen too early. Expected other end tag. -Line: 1 Col: 34 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,11): unexpected-end-tag +(1,24): unexpected-end-tag +(1,28): unexpected-end-tag +(1,34): end-tag-too-early +(1,34): expected-closing-tag-but-got-eof #document | | @@ -1502,8 +1507,8 @@ Line: 1 Col: 34 Expected closing tag. Unexpected end of file. #data
#errors -Line: 1 Col: 8 Unexpected start tag (script). Expected DOCTYPE. -Line: 1 Col: 23 Unexpected end tag (div). Ignored. +(1,8): expected-doctype-but-got-start-tag +(1,23): unexpected-end-tag #document | |
baz
quux #errors -70: HTML start tag “p” in a foreign namespace context. -81: “table” closed but “caption” was still open. +(1,65) unexpected-html-element-in-foreign-content #document | | @@ -225,8 +212,8 @@ #data
quux #errors -78: “table” closed but “caption” was still open. -78: Unclosed elements on stack. +(1,73) unexpected-end-tag +(1,73) expected-one-end-tag-but-got-another #document | | @@ -246,11 +233,12 @@ #data
quux #errors -44: Start tag “svg” seen in “table”. -56: Stray end tag “g”. -68: Stray end tag “g”. -71: HTML start tag “p” in a foreign namespace context. -71: Start tag “p” seen in “table”. +(1,43) foster-parenting-start-tag svg +(1,66) unexpected HTML-like start tag token in foreign content +(1,66) foster-parenting-start-tag +(1,67) foster-parenting-character +(1,68) foster-parenting-character +(1,69) foster-parenting-character #document | | @@ -271,13 +259,13 @@ #data
quux #errors -50: Stray “svg” start tag. -54: Stray “g” start tag. -62: Stray end tag “g” -66: Stray “g” start tag. -74: Stray end tag “g” -77: Stray “p” start tag. -88: “table” end tag with “select” open. +(1,49) unexpected-start-tag-in-select +(1,52) unexpected-start-tag-in-select +(1,59) unexpected-end-tag-in-select +(1,62) unexpected-start-tag-in-select +(1,69) unexpected-end-tag-in-select +(1,72) unexpected-start-tag-in-select +(1,83) unexpected-table-element-end-tag-in-select-in-table #document | | @@ -295,14 +283,14 @@ #data
quux #errors -36: Start tag “select” seen in “table”. -42: Stray “svg” start tag. -46: Stray “g” start tag. -54: Stray end tag “g” -58: Stray “g” start tag. -66: Stray end tag “g” -69: Stray “p” start tag. -80: “table” end tag with “select” open. +(1,36) unexpected-start-tag-implies-table-voodoo +(1,41) unexpected-start-tag-in-select +(1,44) unexpected-start-tag-in-select +(1,51) unexpected-end-tag-in-select +(1,54) unexpected-start-tag-in-select +(1,61) unexpected-end-tag-in-select +(1,64) unexpected-start-tag-in-select +(1,75) unexpected-table-element-end-tag-in-select-in-table #document | | @@ -317,8 +305,8 @@ #data
baz #errors -41: Stray “svg” start tag. -68: HTML start tag “p” in a foreign namespace context. +(1,40) expected-eof-but-got-start-tag +(1,63) unexpected-html-element-in-foreign-content #document | | @@ -335,8 +323,8 @@ #data
baz #errors -34: Stray “svg” start tag. -61: HTML start tag “p” in a foreign namespace context. +(1,33) unexpected-start-tag-after-body +(1,56) unexpected-html-element-in-foreign-content #document | | @@ -353,14 +341,14 @@ #data
#errors -31: Stray “svg” start tag. -35: Stray “g” start tag. -40: Stray end tag “g” -44: Stray “g” start tag. -49: Stray end tag “g” -52: Stray “p” start tag. -58: Stray “span” start tag. -58: End of file seen and there were open elements. +(1,30) unexpected-start-tag-in-frameset +(1,33) unexpected-start-tag-in-frameset +(1,37) unexpected-end-tag-in-frameset +(1,40) unexpected-start-tag-in-frameset +(1,44) unexpected-end-tag-in-frameset +(1,47) unexpected-start-tag-in-frameset +(1,53) unexpected-start-tag-in-frameset +(1,53) eof-in-frameset #document | | @@ -370,13 +358,13 @@ #data #errors -42: Stray “svg” start tag. -46: Stray “g” start tag. -51: Stray end tag “g” -55: Stray “g” start tag. -60: Stray end tag “g” -63: Stray “p” start tag. -69: Stray “span” start tag. +(1,41) unexpected-start-tag-after-frameset +(1,44) unexpected-start-tag-after-frameset +(1,48) unexpected-end-tag-after-frameset +(1,51) unexpected-start-tag-after-frameset +(1,55) unexpected-end-tag-after-frameset +(1,58) unexpected-start-tag-after-frameset +(1,64) unexpected-start-tag-after-frameset #document | | @@ -444,6 +432,10 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,12) unexpected-end-tag +(1,12) unexpected-end-tag +(1,12) expected-closing-tag-but-got-eof #document | | @@ -453,6 +445,9 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,16) unexpected-end-tag +(1,16) end-tag-too-early #document | | @@ -464,6 +459,9 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,22) unexpected-end-tag +(1,22) end-tag-too-early #document | | @@ -476,6 +474,9 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,22) unexpected-end-tag +(1,28) expected-closing-tag-but-got-eof #document | | @@ -488,6 +489,10 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,43) unexpected-end-tag +(1,43) end-tag-too-early +(1,44) expected-closing-tag-but-got-eof #document | | @@ -502,6 +507,9 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,40) end-tag-too-early +(1,41) expected-closing-tag-but-got-eof #document | | @@ -516,8 +524,8 @@ #data a #errors -40: HTML start tag “ul” in a foreign namespace context. -41: End of file in a foreign namespace context. +(1,40) unexpected-html-element-in-foreign-content +(1,41) expected-closing-tag-but-got-eof #document | | @@ -533,8 +541,8 @@ #data a #errors -35: HTML start tag “ul” in a foreign namespace context. -36: End of file in a foreign namespace context. +(1,35) unexpected-html-element-in-foreign-content +(1,36) expected-closing-tag-but-got-eof #document | | @@ -549,6 +557,7 @@ #data #errors +(1,32) expected-closing-tag-but-got-eof #document | | @@ -562,6 +571,7 @@ #data #errors +(1,33) expected-closing-tag-but-got-eof #document | | @@ -575,6 +585,9 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,50) unexpected-end-tag +(1,53) expected-closing-tag-but-got-eof #document | | @@ -589,6 +602,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,71) expected-closing-tag-but-got-eof #document | | @@ -604,6 +619,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,83) expected-closing-tag-but-got-eof #document | | @@ -619,6 +636,8 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,28) expected-closing-tag-but-got-eof #document | | @@ -630,6 +649,9 @@ #data #errors +(1,7) expected-doctype-but-got-start-tag +(1,12) unexpected-start-tag-implies-table-voodoo +(1,22) eof-in-table #document | | @@ -642,6 +664,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -653,6 +677,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -664,6 +690,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -675,6 +703,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -686,6 +716,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -697,6 +729,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -708,6 +742,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -719,6 +755,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -730,6 +768,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,21) expected-closing-tag-but-got-eof #document | | @@ -741,6 +781,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,25) expected-closing-tag-but-got-eof #document | | @@ -752,6 +794,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,54) expected-closing-tag-but-got-eof #document | | @@ -764,6 +808,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,144) expected-closing-tag-but-got-eof #document | | @@ -782,6 +828,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,153) expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests11.dat b/html/testdata/webkit/tests11.dat index 638cde47..faaf97b4 100644 --- a/html/testdata/webkit/tests11.dat +++ b/html/testdata/webkit/tests11.dat @@ -1,5 +1,5 @@ #data - + #errors #document | @@ -13,12 +13,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -65,13 +61,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -85,12 +80,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -137,13 +128,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -157,12 +147,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -209,13 +195,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -229,12 +214,8 @@ | baseprofile="" | calcmode="" | clippathunits="" -| contentscripttype="" -| contentstyletype="" | diffuseconstant="" | edgemode="" -| externalresourcesrequired="" -| filterres="" | filterunits="" | glyphref="" | gradienttransform="" @@ -281,13 +262,12 @@ | targety="" | textlength="" | viewbox="" -| viewtarget="" | xchannelselector="" | ychannelselector="" | zoomandpan="" #data - + #errors #document | @@ -295,9 +275,6 @@ | | | -| -| -| | | | @@ -327,13 +304,12 @@ | | | -| | | | #data - + #errors #document | @@ -341,9 +317,6 @@ | | | -| -| -| | | | @@ -373,13 +346,12 @@ | | | -| | | | #data - + #errors #document | @@ -387,9 +359,6 @@ | | | -| -| -| | | | @@ -419,13 +388,12 @@ | | | -| | | | #data - + #errors #document | @@ -433,9 +401,6 @@ | | | -| -| -| | | | @@ -465,7 +430,6 @@ | | | -| | | | diff --git a/html/testdata/webkit/tests14.dat b/html/testdata/webkit/tests14.dat index b8713f88..a08b7649 100644 --- a/html/testdata/webkit/tests14.dat +++ b/html/testdata/webkit/tests14.dat @@ -22,7 +22,7 @@ #data #errors -15: Unexpected start tag html +(1,38): non-html-root #document | | @@ -34,7 +34,7 @@ #data #errors -15: Unexpected start tag html +(1,53): non-html-root #document | | @@ -55,6 +55,7 @@ #data #errors +(1,43): non-html-root #document | | diff --git a/html/testdata/webkit/tests15.dat b/html/testdata/webkit/tests15.dat index 6ce1c0d1..93d06a87 100644 --- a/html/testdata/webkit/tests15.dat +++ b/html/testdata/webkit/tests15.dat @@ -1,8 +1,8 @@ #data X #errors -Line: 1 Col: 31 Unexpected end tag (p). Ignored. -Line: 1 Col: 36 Expected closing tag. Unexpected end of file. +(1,31): unexpected-end-tag +(1,36): expected-closing-tag-but-got-eof #document | | @@ -23,9 +23,9 @@ Line: 1 Col: 36 Expected closing tag. Unexpected end of file. X #errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end tag (p). Ignored. -Line: 2 Col: 4 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(2,4): expected-closing-tag-but-got-eof #document | | @@ -45,7 +45,8 @@ Line: 2 Col: 4 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. +(1,29): expected-eof-but-got-start-tag +(1,29): unexpected-start-tag-ignored #document | | @@ -56,7 +57,7 @@ Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. #data #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,28): unexpected-start-tag-after-body #document | | @@ -67,8 +68,7 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data #errors -Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. +(1,6): expected-doctype-but-got-start-tag #document | | @@ -78,7 +78,7 @@ Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. #data X #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,29): unexpected-start-tag-after-body #document | | @@ -90,8 +90,9 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data X #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. -Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,30): foster-parenting-start-character #document | | @@ -104,7 +105,8 @@ Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. #data x #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character #document | | @@ -116,7 +118,9 @@ Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,25): foster-parenting-character #document | | @@ -128,7 +132,8 @@ Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode. +(1,27): foster-parenting-character +(1,28): foster-parenting-character #document | | @@ -142,7 +147,7 @@ Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo m #data X #errors -Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character #document | | @@ -157,8 +162,11 @@ Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo m #data foo bar #errors -Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode. -Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. +(1,30): foster-parenting-start-tag +(1,31): foster-parenting-character +(1,32): foster-parenting-character +(1,33): foster-parenting-character +(1,37): foster-parenting-end-tag #document | | @@ -178,14 +186,13 @@ Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. #data #errors -6: Start tag seen without seeing a doctype first. Expected “”. -13: Stray start tag “frame”. -21: Stray end tag “frame”. -29: Stray end tag “frame”. -39: “frameset” start tag after “body” already open. -105: End of file seen inside an [R]CDATA element. -105: End of file seen and there were open elements. -XXX: These errors are wrong, please fix me! +(1,7): expected-doctype-but-got-start-tag +(1,7): unexpected-start-tag-ignored +(1,15): unexpected-end-tag +(1,23): unexpected-end-tag +(1,33): unexpected-start-tag +(1,99): expected-named-closing-tag-but-got-eof +(1,99): eof-in-frameset #document | | @@ -199,7 +206,8 @@ XXX: These errors are wrong, please fix me! #data #errors -1: Expected closing tag. Unexpected end of file +(1,30): expected-body-in-scope +(1,30): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests17.dat b/html/testdata/webkit/tests17.dat index 7b555f88..e49bcf03 100644 --- a/html/testdata/webkit/tests17.dat +++ b/html/testdata/webkit/tests17.dat @@ -1,6 +1,9 @@ #data #errors +(1,37): unexpected-start-tag-implies-table-voodoo +(1,41): unexpected-table-element-start-tag-in-select-in-table +(1,41): eof-in-table #document | | @@ -14,6 +17,9 @@ #data #errors +(1,34): unexpected-start-tag-implies-table-voodoo +(1,38): unexpected-table-element-start-tag-in-select-in-table +(1,38): expected-closing-tag-but-got-eof #document | | @@ -28,6 +34,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -43,6 +51,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -58,6 +68,8 @@ #data #errors +(1,43): unexpected-table-element-start-tag-in-select-in-table +(1,43): eof-in-table #document | | @@ -72,6 +84,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -82,6 +96,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -92,6 +108,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -102,6 +120,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -112,6 +132,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -122,6 +144,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -132,6 +156,8 @@ #data #errors +(1,32): unexpected-start-tag-in-select +(1,32): eof-in-select #document | | diff --git a/html/testdata/webkit/tests18.dat b/html/testdata/webkit/tests18.dat index 680e1f06..926bccb3 100644 --- a/html/testdata/webkit/tests18.dat +++ b/html/testdata/webkit/tests18.dat @@ -1,6 +1,7 @@ #data #errors +(1,38): expected-closing-tag-but-got-eof #document | | @@ -12,6 +13,20 @@ #data #errors +(1,33): foster-parenting-start-tag +(1,34): foster-parenting-character +(1,35): foster-parenting-character +(1,36): foster-parenting-character +(1,37): foster-parenting-character +(1,38): foster-parenting-character +(1,39): foster-parenting-character +(1,40): foster-parenting-character +(1,41): foster-parenting-character +(1,42): foster-parenting-character +(1,43): foster-parenting-character +(1,44): foster-parenting-character +(1,45): foster-parenting-character +(1,45): eof-in-table #document | | @@ -24,6 +39,20 @@ #data #errors +(1,40): foster-parenting-start-tag +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,52): eof-in-table #document | | @@ -37,20 +66,20 @@ #data #errors -#document -| -| -| -| -| -| "" -| -| -| - -#data - -#errors +(1,44): foster-parenting-start-tag +(1,45): foster-parenting-character +(1,46): foster-parenting-character +(1,47): foster-parenting-character +(1,48): foster-parenting-character +(1,49): foster-parenting-character +(1,50): foster-parenting-character +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,55): foster-parenting-character +(1,56): foster-parenting-character +(1,56): eof-in-table #document | | @@ -65,6 +94,8 @@ #data #errors +(1,26): unexpected-cell-in-table-body +(1,49): expected-closing-tag-but-got-eof #document | | @@ -80,6 +111,7 @@ #data #errors +(1,54): expected-closing-tag-but-got-eof #document | | @@ -93,6 +125,10 @@ #data abc #errors +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,53): eof-in-table #document | | @@ -108,6 +144,10 @@ #data abc #errors +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,54): eof-in-table #document | | @@ -123,6 +163,7 @@ #data abc #errors +(1,58): expected-closing-tag-but-got-eof #document | | @@ -137,6 +178,8 @@ #data
#errors -42: Stray “svg” start tag. -46: Stray “g” start tag. -51: Stray end tag “g” -55: Stray “g” start tag. -60: Stray end tag “g” -63: Stray “p” start tag. -69: Stray “span” start tag. +(1,41) unexpected-start-tag-after-frameset +(1,44) unexpected-start-tag-after-frameset +(1,48) unexpected-end-tag-after-frameset +(1,51) unexpected-start-tag-after-frameset +(1,55) unexpected-end-tag-after-frameset +(1,58) unexpected-start-tag-after-frameset +(1,64) unexpected-start-tag-after-frameset #document | | @@ -444,6 +432,10 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,12) unexpected-end-tag +(1,12) unexpected-end-tag +(1,12) expected-closing-tag-but-got-eof #document | | @@ -453,6 +445,9 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,16) unexpected-end-tag +(1,16) end-tag-too-early #document | | @@ -464,6 +459,9 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,22) unexpected-end-tag +(1,22) end-tag-too-early #document | | @@ -476,6 +474,9 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,22) unexpected-end-tag +(1,28) expected-closing-tag-but-got-eof #document | | @@ -488,6 +489,10 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,43) unexpected-end-tag +(1,43) end-tag-too-early +(1,44) expected-closing-tag-but-got-eof #document | | @@ -502,6 +507,9 @@ #data a #errors +(1,5) expected-doctype-but-got-start-tag +(1,40) end-tag-too-early +(1,41) expected-closing-tag-but-got-eof #document | | @@ -516,8 +524,8 @@ #data a #errors -40: HTML start tag “ul” in a foreign namespace context. -41: End of file in a foreign namespace context. +(1,40) unexpected-html-element-in-foreign-content +(1,41) expected-closing-tag-but-got-eof #document | | @@ -533,8 +541,8 @@ #data a #errors -35: HTML start tag “ul” in a foreign namespace context. -36: End of file in a foreign namespace context. +(1,35) unexpected-html-element-in-foreign-content +(1,36) expected-closing-tag-but-got-eof #document | | @@ -549,6 +557,7 @@ #data #errors +(1,32) expected-closing-tag-but-got-eof #document | | @@ -562,6 +571,7 @@ #data #errors +(1,33) expected-closing-tag-but-got-eof #document | | @@ -575,6 +585,9 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,50) unexpected-end-tag +(1,53) expected-closing-tag-but-got-eof #document | | @@ -589,6 +602,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,71) expected-closing-tag-but-got-eof #document | | @@ -604,6 +619,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,83) expected-closing-tag-but-got-eof #document | | @@ -619,6 +636,8 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,28) expected-closing-tag-but-got-eof #document | | @@ -630,6 +649,9 @@ #data #errors +(1,7) expected-doctype-but-got-start-tag +(1,12) unexpected-start-tag-implies-table-voodoo +(1,22) eof-in-table #document | | @@ -642,6 +664,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -653,6 +677,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -664,6 +690,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -675,6 +703,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -686,6 +716,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -697,6 +729,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -708,6 +742,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -719,6 +755,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -730,6 +768,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,21) expected-closing-tag-but-got-eof #document | | @@ -741,6 +781,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,25) expected-closing-tag-but-got-eof #document | | @@ -752,6 +794,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,54) expected-closing-tag-but-got-eof #document | | @@ -764,6 +808,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,144) expected-closing-tag-but-got-eof #document | | @@ -782,6 +828,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,153) expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests11.dat b/html/testdata/webkit/tests11.dat index 638cde47..faaf97b4 100644 --- a/html/testdata/webkit/tests11.dat +++ b/html/testdata/webkit/tests11.dat @@ -1,5 +1,5 @@ #data - + #errors #document | @@ -13,12 +13,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -65,13 +61,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -85,12 +80,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -137,13 +128,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -157,12 +147,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -209,13 +195,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -229,12 +214,8 @@ | baseprofile="" | calcmode="" | clippathunits="" -| contentscripttype="" -| contentstyletype="" | diffuseconstant="" | edgemode="" -| externalresourcesrequired="" -| filterres="" | filterunits="" | glyphref="" | gradienttransform="" @@ -281,13 +262,12 @@ | targety="" | textlength="" | viewbox="" -| viewtarget="" | xchannelselector="" | ychannelselector="" | zoomandpan="" #data - + #errors #document | @@ -295,9 +275,6 @@ | | | -| -| -| | | | @@ -327,13 +304,12 @@ | | | -| | | | #data - + #errors #document | @@ -341,9 +317,6 @@ | | | -| -| -| | | | @@ -373,13 +346,12 @@ | | | -| | | | #data - + #errors #document | @@ -387,9 +359,6 @@ | | | -| -| -| | | | @@ -419,13 +388,12 @@ | | | -| | | | #data - + #errors #document | @@ -433,9 +401,6 @@ | | | -| -| -| | | | @@ -465,7 +430,6 @@ | | | -| | | | diff --git a/html/testdata/webkit/tests14.dat b/html/testdata/webkit/tests14.dat index b8713f88..a08b7649 100644 --- a/html/testdata/webkit/tests14.dat +++ b/html/testdata/webkit/tests14.dat @@ -22,7 +22,7 @@ #data #errors -15: Unexpected start tag html +(1,38): non-html-root #document | | @@ -34,7 +34,7 @@ #data #errors -15: Unexpected start tag html +(1,53): non-html-root #document | | @@ -55,6 +55,7 @@ #data #errors +(1,43): non-html-root #document | | diff --git a/html/testdata/webkit/tests15.dat b/html/testdata/webkit/tests15.dat index 6ce1c0d1..93d06a87 100644 --- a/html/testdata/webkit/tests15.dat +++ b/html/testdata/webkit/tests15.dat @@ -1,8 +1,8 @@ #data X #errors -Line: 1 Col: 31 Unexpected end tag (p). Ignored. -Line: 1 Col: 36 Expected closing tag. Unexpected end of file. +(1,31): unexpected-end-tag +(1,36): expected-closing-tag-but-got-eof #document | | @@ -23,9 +23,9 @@ Line: 1 Col: 36 Expected closing tag. Unexpected end of file. X #errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end tag (p). Ignored. -Line: 2 Col: 4 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(2,4): expected-closing-tag-but-got-eof #document | | @@ -45,7 +45,8 @@ Line: 2 Col: 4 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. +(1,29): expected-eof-but-got-start-tag +(1,29): unexpected-start-tag-ignored #document | | @@ -56,7 +57,7 @@ Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. #data #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,28): unexpected-start-tag-after-body #document | | @@ -67,8 +68,7 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data #errors -Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. +(1,6): expected-doctype-but-got-start-tag #document | | @@ -78,7 +78,7 @@ Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. #data X #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,29): unexpected-start-tag-after-body #document | | @@ -90,8 +90,9 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data X #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. -Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,30): foster-parenting-start-character #document | | @@ -104,7 +105,8 @@ Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. #data x #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character #document | | @@ -116,7 +118,9 @@ Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,25): foster-parenting-character #document | | @@ -128,7 +132,8 @@ Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode. +(1,27): foster-parenting-character +(1,28): foster-parenting-character #document | | @@ -142,7 +147,7 @@ Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo m #data X #errors -Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character #document | | @@ -157,8 +162,11 @@ Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo m #data foo bar #errors -Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode. -Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. +(1,30): foster-parenting-start-tag +(1,31): foster-parenting-character +(1,32): foster-parenting-character +(1,33): foster-parenting-character +(1,37): foster-parenting-end-tag #document | | @@ -178,14 +186,13 @@ Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. #data #errors -6: Start tag seen without seeing a doctype first. Expected “”. -13: Stray start tag “frame”. -21: Stray end tag “frame”. -29: Stray end tag “frame”. -39: “frameset” start tag after “body” already open. -105: End of file seen inside an [R]CDATA element. -105: End of file seen and there were open elements. -XXX: These errors are wrong, please fix me! +(1,7): expected-doctype-but-got-start-tag +(1,7): unexpected-start-tag-ignored +(1,15): unexpected-end-tag +(1,23): unexpected-end-tag +(1,33): unexpected-start-tag +(1,99): expected-named-closing-tag-but-got-eof +(1,99): eof-in-frameset #document | | @@ -199,7 +206,8 @@ XXX: These errors are wrong, please fix me! #data #errors -1: Expected closing tag. Unexpected end of file +(1,30): expected-body-in-scope +(1,30): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests17.dat b/html/testdata/webkit/tests17.dat index 7b555f88..e49bcf03 100644 --- a/html/testdata/webkit/tests17.dat +++ b/html/testdata/webkit/tests17.dat @@ -1,6 +1,9 @@ #data #errors +(1,37): unexpected-start-tag-implies-table-voodoo +(1,41): unexpected-table-element-start-tag-in-select-in-table +(1,41): eof-in-table #document | | @@ -14,6 +17,9 @@ #data #errors +(1,34): unexpected-start-tag-implies-table-voodoo +(1,38): unexpected-table-element-start-tag-in-select-in-table +(1,38): expected-closing-tag-but-got-eof #document | | @@ -28,6 +34,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -43,6 +51,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -58,6 +68,8 @@ #data #errors +(1,43): unexpected-table-element-start-tag-in-select-in-table +(1,43): eof-in-table #document | | @@ -72,6 +84,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -82,6 +96,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -92,6 +108,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -102,6 +120,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -112,6 +132,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -122,6 +144,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -132,6 +156,8 @@ #data #errors +(1,32): unexpected-start-tag-in-select +(1,32): eof-in-select #document | | diff --git a/html/testdata/webkit/tests18.dat b/html/testdata/webkit/tests18.dat index 680e1f06..926bccb3 100644 --- a/html/testdata/webkit/tests18.dat +++ b/html/testdata/webkit/tests18.dat @@ -1,6 +1,7 @@ #data #errors +(1,38): expected-closing-tag-but-got-eof #document | | @@ -12,6 +13,20 @@ #data #errors +(1,33): foster-parenting-start-tag +(1,34): foster-parenting-character +(1,35): foster-parenting-character +(1,36): foster-parenting-character +(1,37): foster-parenting-character +(1,38): foster-parenting-character +(1,39): foster-parenting-character +(1,40): foster-parenting-character +(1,41): foster-parenting-character +(1,42): foster-parenting-character +(1,43): foster-parenting-character +(1,44): foster-parenting-character +(1,45): foster-parenting-character +(1,45): eof-in-table #document | | @@ -24,6 +39,20 @@ #data #errors +(1,40): foster-parenting-start-tag +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,52): eof-in-table #document | | @@ -37,20 +66,20 @@ #data #errors -#document -| -| -| -| -| -| "" -| -| -| - -#data - -#errors +(1,44): foster-parenting-start-tag +(1,45): foster-parenting-character +(1,46): foster-parenting-character +(1,47): foster-parenting-character +(1,48): foster-parenting-character +(1,49): foster-parenting-character +(1,50): foster-parenting-character +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,55): foster-parenting-character +(1,56): foster-parenting-character +(1,56): eof-in-table #document | | @@ -65,6 +94,8 @@ #data #errors +(1,26): unexpected-cell-in-table-body +(1,49): expected-closing-tag-but-got-eof #document | | @@ -80,6 +111,7 @@ #data #errors +(1,54): expected-closing-tag-but-got-eof #document | | @@ -93,6 +125,10 @@ #data abc #errors +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,53): eof-in-table #document | | @@ -108,6 +144,10 @@ #data abc #errors +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,54): eof-in-table #document | | @@ -123,6 +163,7 @@ #data abc #errors +(1,58): expected-closing-tag-but-got-eof #document | | @@ -137,6 +178,8 @@ #data
#errors +(1,32) expected-closing-tag-but-got-eof #document | | @@ -562,6 +571,7 @@ #data #errors +(1,33) expected-closing-tag-but-got-eof #document | | @@ -575,6 +585,9 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,50) unexpected-end-tag +(1,53) expected-closing-tag-but-got-eof #document | | @@ -589,6 +602,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,71) expected-closing-tag-but-got-eof #document | | @@ -604,6 +619,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,83) expected-closing-tag-but-got-eof #document | | @@ -619,6 +636,8 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,28) expected-closing-tag-but-got-eof #document | | @@ -630,6 +649,9 @@ #data #errors +(1,7) expected-doctype-but-got-start-tag +(1,12) unexpected-start-tag-implies-table-voodoo +(1,22) eof-in-table #document | | @@ -642,6 +664,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -653,6 +677,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -664,6 +690,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -675,6 +703,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -686,6 +716,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -697,6 +729,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -708,6 +742,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -719,6 +755,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -730,6 +768,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,21) expected-closing-tag-but-got-eof #document | | @@ -741,6 +781,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,25) expected-closing-tag-but-got-eof #document | | @@ -752,6 +794,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,54) expected-closing-tag-but-got-eof #document | | @@ -764,6 +808,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,144) expected-closing-tag-but-got-eof #document | | @@ -782,6 +828,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,153) expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests11.dat b/html/testdata/webkit/tests11.dat index 638cde47..faaf97b4 100644 --- a/html/testdata/webkit/tests11.dat +++ b/html/testdata/webkit/tests11.dat @@ -1,5 +1,5 @@ #data - + #errors #document | @@ -13,12 +13,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -65,13 +61,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -85,12 +80,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -137,13 +128,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -157,12 +147,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -209,13 +195,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -229,12 +214,8 @@ | baseprofile="" | calcmode="" | clippathunits="" -| contentscripttype="" -| contentstyletype="" | diffuseconstant="" | edgemode="" -| externalresourcesrequired="" -| filterres="" | filterunits="" | glyphref="" | gradienttransform="" @@ -281,13 +262,12 @@ | targety="" | textlength="" | viewbox="" -| viewtarget="" | xchannelselector="" | ychannelselector="" | zoomandpan="" #data - + #errors #document | @@ -295,9 +275,6 @@ | | | -| -| -| | | | @@ -327,13 +304,12 @@ | | | -| | | | #data - + #errors #document | @@ -341,9 +317,6 @@ | | | -| -| -| | | | @@ -373,13 +346,12 @@ | | | -| | | | #data - + #errors #document | @@ -387,9 +359,6 @@ | | | -| -| -| | | | @@ -419,13 +388,12 @@ | | | -| | | | #data - + #errors #document | @@ -433,9 +401,6 @@ | | | -| -| -| | | | @@ -465,7 +430,6 @@ | | | -| | | | diff --git a/html/testdata/webkit/tests14.dat b/html/testdata/webkit/tests14.dat index b8713f88..a08b7649 100644 --- a/html/testdata/webkit/tests14.dat +++ b/html/testdata/webkit/tests14.dat @@ -22,7 +22,7 @@ #data #errors -15: Unexpected start tag html +(1,38): non-html-root #document | | @@ -34,7 +34,7 @@ #data #errors -15: Unexpected start tag html +(1,53): non-html-root #document | | @@ -55,6 +55,7 @@ #data #errors +(1,43): non-html-root #document | | diff --git a/html/testdata/webkit/tests15.dat b/html/testdata/webkit/tests15.dat index 6ce1c0d1..93d06a87 100644 --- a/html/testdata/webkit/tests15.dat +++ b/html/testdata/webkit/tests15.dat @@ -1,8 +1,8 @@ #data X #errors -Line: 1 Col: 31 Unexpected end tag (p). Ignored. -Line: 1 Col: 36 Expected closing tag. Unexpected end of file. +(1,31): unexpected-end-tag +(1,36): expected-closing-tag-but-got-eof #document | | @@ -23,9 +23,9 @@ Line: 1 Col: 36 Expected closing tag. Unexpected end of file. X #errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end tag (p). Ignored. -Line: 2 Col: 4 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(2,4): expected-closing-tag-but-got-eof #document | | @@ -45,7 +45,8 @@ Line: 2 Col: 4 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. +(1,29): expected-eof-but-got-start-tag +(1,29): unexpected-start-tag-ignored #document | | @@ -56,7 +57,7 @@ Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. #data #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,28): unexpected-start-tag-after-body #document | | @@ -67,8 +68,7 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data #errors -Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. +(1,6): expected-doctype-but-got-start-tag #document | | @@ -78,7 +78,7 @@ Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. #data X #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,29): unexpected-start-tag-after-body #document | | @@ -90,8 +90,9 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data X #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. -Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,30): foster-parenting-start-character #document | | @@ -104,7 +105,8 @@ Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. #data x #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character #document | | @@ -116,7 +118,9 @@ Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,25): foster-parenting-character #document | | @@ -128,7 +132,8 @@ Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode. +(1,27): foster-parenting-character +(1,28): foster-parenting-character #document | | @@ -142,7 +147,7 @@ Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo m #data X #errors -Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character #document | | @@ -157,8 +162,11 @@ Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo m #data foo bar #errors -Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode. -Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. +(1,30): foster-parenting-start-tag +(1,31): foster-parenting-character +(1,32): foster-parenting-character +(1,33): foster-parenting-character +(1,37): foster-parenting-end-tag #document | | @@ -178,14 +186,13 @@ Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. #data #errors -6: Start tag seen without seeing a doctype first. Expected “”. -13: Stray start tag “frame”. -21: Stray end tag “frame”. -29: Stray end tag “frame”. -39: “frameset” start tag after “body” already open. -105: End of file seen inside an [R]CDATA element. -105: End of file seen and there were open elements. -XXX: These errors are wrong, please fix me! +(1,7): expected-doctype-but-got-start-tag +(1,7): unexpected-start-tag-ignored +(1,15): unexpected-end-tag +(1,23): unexpected-end-tag +(1,33): unexpected-start-tag +(1,99): expected-named-closing-tag-but-got-eof +(1,99): eof-in-frameset #document | | @@ -199,7 +206,8 @@ XXX: These errors are wrong, please fix me! #data #errors -1: Expected closing tag. Unexpected end of file +(1,30): expected-body-in-scope +(1,30): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests17.dat b/html/testdata/webkit/tests17.dat index 7b555f88..e49bcf03 100644 --- a/html/testdata/webkit/tests17.dat +++ b/html/testdata/webkit/tests17.dat @@ -1,6 +1,9 @@ #data #errors +(1,37): unexpected-start-tag-implies-table-voodoo +(1,41): unexpected-table-element-start-tag-in-select-in-table +(1,41): eof-in-table #document | | @@ -14,6 +17,9 @@ #data #errors +(1,34): unexpected-start-tag-implies-table-voodoo +(1,38): unexpected-table-element-start-tag-in-select-in-table +(1,38): expected-closing-tag-but-got-eof #document | | @@ -28,6 +34,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -43,6 +51,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -58,6 +68,8 @@ #data #errors +(1,43): unexpected-table-element-start-tag-in-select-in-table +(1,43): eof-in-table #document | | @@ -72,6 +84,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -82,6 +96,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -92,6 +108,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -102,6 +120,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -112,6 +132,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -122,6 +144,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -132,6 +156,8 @@ #data #errors +(1,32): unexpected-start-tag-in-select +(1,32): eof-in-select #document | | diff --git a/html/testdata/webkit/tests18.dat b/html/testdata/webkit/tests18.dat index 680e1f06..926bccb3 100644 --- a/html/testdata/webkit/tests18.dat +++ b/html/testdata/webkit/tests18.dat @@ -1,6 +1,7 @@ #data #errors +(1,38): expected-closing-tag-but-got-eof #document | | @@ -12,6 +13,20 @@ #data #errors +(1,33): foster-parenting-start-tag +(1,34): foster-parenting-character +(1,35): foster-parenting-character +(1,36): foster-parenting-character +(1,37): foster-parenting-character +(1,38): foster-parenting-character +(1,39): foster-parenting-character +(1,40): foster-parenting-character +(1,41): foster-parenting-character +(1,42): foster-parenting-character +(1,43): foster-parenting-character +(1,44): foster-parenting-character +(1,45): foster-parenting-character +(1,45): eof-in-table #document | | @@ -24,6 +39,20 @@ #data #errors +(1,40): foster-parenting-start-tag +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,52): eof-in-table #document | | @@ -37,20 +66,20 @@ #data #errors -#document -| -| -| -| -| -| "" -| -| -| - -#data - -#errors +(1,44): foster-parenting-start-tag +(1,45): foster-parenting-character +(1,46): foster-parenting-character +(1,47): foster-parenting-character +(1,48): foster-parenting-character +(1,49): foster-parenting-character +(1,50): foster-parenting-character +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,55): foster-parenting-character +(1,56): foster-parenting-character +(1,56): eof-in-table #document | | @@ -65,6 +94,8 @@ #data #errors +(1,26): unexpected-cell-in-table-body +(1,49): expected-closing-tag-but-got-eof #document | | @@ -80,6 +111,7 @@ #data #errors +(1,54): expected-closing-tag-but-got-eof #document | | @@ -93,6 +125,10 @@ #data abc #errors +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,53): eof-in-table #document | | @@ -108,6 +144,10 @@ #data abc #errors +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,54): eof-in-table #document | | @@ -123,6 +163,7 @@ #data abc #errors +(1,58): expected-closing-tag-but-got-eof #document | | @@ -137,6 +178,8 @@ #data
#errors +(1,32) expected-closing-tag-but-got-eof #document | | @@ -562,6 +571,7 @@ #data
#errors +(1,33) expected-closing-tag-but-got-eof #document | | @@ -575,6 +585,9 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,50) unexpected-end-tag +(1,53) expected-closing-tag-but-got-eof #document | | @@ -589,6 +602,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,71) expected-closing-tag-but-got-eof #document | | @@ -604,6 +619,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,83) expected-closing-tag-but-got-eof #document | | @@ -619,6 +636,8 @@ #data #errors +(1,5) expected-doctype-but-got-start-tag +(1,28) expected-closing-tag-but-got-eof #document | | @@ -630,6 +649,9 @@ #data #errors +(1,7) expected-doctype-but-got-start-tag +(1,12) unexpected-start-tag-implies-table-voodoo +(1,22) eof-in-table #document | | @@ -642,6 +664,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -653,6 +677,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -664,6 +690,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -675,6 +703,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -686,6 +716,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -697,6 +729,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -708,6 +742,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,18) expected-closing-tag-but-got-eof #document | | @@ -719,6 +755,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,22) expected-closing-tag-but-got-eof #document | | @@ -730,6 +768,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,21) expected-closing-tag-but-got-eof #document | | @@ -741,6 +781,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,25) expected-closing-tag-but-got-eof #document | | @@ -752,6 +794,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,54) expected-closing-tag-but-got-eof #document | | @@ -764,6 +808,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,144) expected-closing-tag-but-got-eof #document | | @@ -782,6 +828,8 @@ #data #errors +(1,6) expected-doctype-but-got-start-tag +(1,153) expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests11.dat b/html/testdata/webkit/tests11.dat index 638cde47..faaf97b4 100644 --- a/html/testdata/webkit/tests11.dat +++ b/html/testdata/webkit/tests11.dat @@ -1,5 +1,5 @@ #data - + #errors #document | @@ -13,12 +13,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -65,13 +61,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -85,12 +80,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -137,13 +128,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -157,12 +147,8 @@ | baseProfile="" | calcMode="" | clipPathUnits="" -| contentScriptType="" -| contentStyleType="" | diffuseConstant="" | edgeMode="" -| externalResourcesRequired="" -| filterRes="" | filterUnits="" | glyphRef="" | gradientTransform="" @@ -209,13 +195,12 @@ | targetY="" | textLength="" | viewBox="" -| viewTarget="" | xChannelSelector="" | yChannelSelector="" | zoomAndPan="" #data - + #errors #document | @@ -229,12 +214,8 @@ | baseprofile="" | calcmode="" | clippathunits="" -| contentscripttype="" -| contentstyletype="" | diffuseconstant="" | edgemode="" -| externalresourcesrequired="" -| filterres="" | filterunits="" | glyphref="" | gradienttransform="" @@ -281,13 +262,12 @@ | targety="" | textlength="" | viewbox="" -| viewtarget="" | xchannelselector="" | ychannelselector="" | zoomandpan="" #data - + #errors #document | @@ -295,9 +275,6 @@ | | | -| -| -| | | | @@ -327,13 +304,12 @@ | | | -| | | | #data - + #errors #document | @@ -341,9 +317,6 @@ | | | -| -| -| | | | @@ -373,13 +346,12 @@ | | | -| | | | #data - + #errors #document | @@ -387,9 +359,6 @@ | | | -| -| -| | | | @@ -419,13 +388,12 @@ | | | -| | | | #data - + #errors #document | @@ -433,9 +401,6 @@ | | | -| -| -| | | | @@ -465,7 +430,6 @@ | | | -| | | | diff --git a/html/testdata/webkit/tests14.dat b/html/testdata/webkit/tests14.dat index b8713f88..a08b7649 100644 --- a/html/testdata/webkit/tests14.dat +++ b/html/testdata/webkit/tests14.dat @@ -22,7 +22,7 @@ #data #errors -15: Unexpected start tag html +(1,38): non-html-root #document | | @@ -34,7 +34,7 @@ #data #errors -15: Unexpected start tag html +(1,53): non-html-root #document | | @@ -55,6 +55,7 @@ #data #errors +(1,43): non-html-root #document | | diff --git a/html/testdata/webkit/tests15.dat b/html/testdata/webkit/tests15.dat index 6ce1c0d1..93d06a87 100644 --- a/html/testdata/webkit/tests15.dat +++ b/html/testdata/webkit/tests15.dat @@ -1,8 +1,8 @@ #data X #errors -Line: 1 Col: 31 Unexpected end tag (p). Ignored. -Line: 1 Col: 36 Expected closing tag. Unexpected end of file. +(1,31): unexpected-end-tag +(1,36): expected-closing-tag-but-got-eof #document | | @@ -23,9 +23,9 @@ Line: 1 Col: 36 Expected closing tag. Unexpected end of file. X #errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end tag (p). Ignored. -Line: 2 Col: 4 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(2,4): expected-closing-tag-but-got-eof #document | | @@ -45,7 +45,8 @@ Line: 2 Col: 4 Expected closing tag. Unexpected end of file. #data #errors -Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. +(1,29): expected-eof-but-got-start-tag +(1,29): unexpected-start-tag-ignored #document | | @@ -56,7 +57,7 @@ Line: 1 Col: 22 Unexpected end tag (html) after the (implied) root element. #data #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,28): unexpected-start-tag-after-body #document | | @@ -67,8 +68,7 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data #errors -Line: 1 Col: 6 Unexpected start tag (html). Expected DOCTYPE. -Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. +(1,6): expected-doctype-but-got-start-tag #document | | @@ -78,7 +78,7 @@ Line: 1 Col: 13 Unexpected end tag (html) after the (implied) root element. #data X #errors -Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. +(1,29): unexpected-start-tag-after-body #document | | @@ -90,8 +90,9 @@ Line: 1 Col: 22 Unexpected end tag (body) after the (implied) root element. #data X #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. -Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,30): foster-parenting-start-character #document | | @@ -104,7 +105,8 @@ Line: 1 Col: 30 Unexpected start tag (meta) in table context caused voodoo mode. #data x #errors -Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character #document | | @@ -116,7 +118,9 @@ Line: 1 Col: 24 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character +(1,24): foster-parenting-character +(1,25): foster-parenting-character #document | | @@ -128,7 +132,8 @@ Line: 1 Col: 25 Unexpected non-space characters in table context caused voodoo m #data x #errors -Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo mode. +(1,27): foster-parenting-character +(1,28): foster-parenting-character #document | | @@ -142,7 +147,7 @@ Line: 1 Col: 28 Unexpected non-space characters in table context caused voodoo m #data X #errors -Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo mode. +(1,23): foster-parenting-character #document | | @@ -157,8 +162,11 @@ Line: 1 Col: 23 Unexpected non-space characters in table context caused voodoo m #data foo bar #errors -Line: 1 Col: 30 Unexpected start tag (a) in table context caused voodoo mode. -Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. +(1,30): foster-parenting-start-tag +(1,31): foster-parenting-character +(1,32): foster-parenting-character +(1,33): foster-parenting-character +(1,37): foster-parenting-end-tag #document | | @@ -178,14 +186,13 @@ Line: 1 Col: 37 Unexpected end tag (a) in table context caused voodoo mode. #data #errors -6: Start tag seen without seeing a doctype first. Expected “”. -13: Stray start tag “frame”. -21: Stray end tag “frame”. -29: Stray end tag “frame”. -39: “frameset” start tag after “body” already open. -105: End of file seen inside an [R]CDATA element. -105: End of file seen and there were open elements. -XXX: These errors are wrong, please fix me! +(1,7): expected-doctype-but-got-start-tag +(1,7): unexpected-start-tag-ignored +(1,15): unexpected-end-tag +(1,23): unexpected-end-tag +(1,33): unexpected-start-tag +(1,99): expected-named-closing-tag-but-got-eof +(1,99): eof-in-frameset #document | | @@ -199,7 +206,8 @@ XXX: These errors are wrong, please fix me! #data #errors -1: Expected closing tag. Unexpected end of file +(1,30): expected-body-in-scope +(1,30): expected-closing-tag-but-got-eof #document | | diff --git a/html/testdata/webkit/tests17.dat b/html/testdata/webkit/tests17.dat index 7b555f88..e49bcf03 100644 --- a/html/testdata/webkit/tests17.dat +++ b/html/testdata/webkit/tests17.dat @@ -1,6 +1,9 @@ #data #errors +(1,37): unexpected-start-tag-implies-table-voodoo +(1,41): unexpected-table-element-start-tag-in-select-in-table +(1,41): eof-in-table #document | | @@ -14,6 +17,9 @@ #data #errors +(1,34): unexpected-start-tag-implies-table-voodoo +(1,38): unexpected-table-element-start-tag-in-select-in-table +(1,38): expected-closing-tag-but-got-eof #document | | @@ -28,6 +34,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -43,6 +51,8 @@ #data #errors +(1,42): unexpected-table-element-start-tag-in-select-in-table +(1,42): expected-closing-tag-but-got-eof #document | | @@ -58,6 +68,8 @@ #data #errors +(1,43): unexpected-table-element-start-tag-in-select-in-table +(1,43): eof-in-table #document | | @@ -72,6 +84,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -82,6 +96,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -92,6 +108,8 @@ #data #errors +(1,27): unexpected-start-tag-in-select +(1,27): eof-in-select #document | | @@ -102,6 +120,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -112,6 +132,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -122,6 +144,8 @@ #data #errors +(1,30): unexpected-start-tag-in-select +(1,30): eof-in-select #document | | @@ -132,6 +156,8 @@ #data #errors +(1,32): unexpected-start-tag-in-select +(1,32): eof-in-select #document | | diff --git a/html/testdata/webkit/tests18.dat b/html/testdata/webkit/tests18.dat index 680e1f06..926bccb3 100644 --- a/html/testdata/webkit/tests18.dat +++ b/html/testdata/webkit/tests18.dat @@ -1,6 +1,7 @@ #data #errors +(1,38): expected-closing-tag-but-got-eof #document | | @@ -12,6 +13,20 @@ #data #errors +(1,33): foster-parenting-start-tag +(1,34): foster-parenting-character +(1,35): foster-parenting-character +(1,36): foster-parenting-character +(1,37): foster-parenting-character +(1,38): foster-parenting-character +(1,39): foster-parenting-character +(1,40): foster-parenting-character +(1,41): foster-parenting-character +(1,42): foster-parenting-character +(1,43): foster-parenting-character +(1,44): foster-parenting-character +(1,45): foster-parenting-character +(1,45): eof-in-table #document | | @@ -24,6 +39,20 @@ #data #errors +(1,40): foster-parenting-start-tag +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,41): foster-parenting-character +(1,52): eof-in-table #document | | @@ -37,20 +66,20 @@ #data #errors -#document -| -| -| -| -| -| "" -| -| -| - -#data - -#errors +(1,44): foster-parenting-start-tag +(1,45): foster-parenting-character +(1,46): foster-parenting-character +(1,47): foster-parenting-character +(1,48): foster-parenting-character +(1,49): foster-parenting-character +(1,50): foster-parenting-character +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,55): foster-parenting-character +(1,56): foster-parenting-character +(1,56): eof-in-table #document | | @@ -65,6 +94,8 @@ #data #errors +(1,26): unexpected-cell-in-table-body +(1,49): expected-closing-tag-but-got-eof #document | | @@ -80,6 +111,7 @@ #data #errors +(1,54): expected-closing-tag-but-got-eof #document | | @@ -93,6 +125,10 @@ #data abc #errors +(1,51): foster-parenting-character +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,53): eof-in-table #document | | @@ -108,6 +144,10 @@ #data abc #errors +(1,52): foster-parenting-character +(1,53): foster-parenting-character +(1,54): foster-parenting-character +(1,54): eof-in-table #document | | @@ -123,6 +163,7 @@ #data abc #errors +(1,58): expected-closing-tag-but-got-eof #document | | @@ -137,6 +178,8 @@ #data
#errors +(1,33) expected-closing-tag-but-got-eof #document | | @@ -575,6 +585,9 @@ #data
#errors +(1,5) expected-doctype-but-got-start-tag +(1,50) unexpected-end-tag +(1,53) expected-closing-tag-but-got-eof #document | |
X #errors -Line: 1 Col: 31 Unexpected end tag (p). Ignored. -Line: 1 Col: 36 Expected closing tag. Unexpected end of file. +(1,31): unexpected-end-tag +(1,36): expected-closing-tag-but-got-eof #document | | @@ -23,9 +23,9 @@ Line: 1 Col: 36 Expected closing tag. Unexpected end of file.
X #errors -Line: 1 Col: 3 Unexpected start tag (p). Expected DOCTYPE. -Line: 1 Col: 16 Unexpected end tag (p). Ignored. -Line: 2 Col: 4 Expected closing tag. Unexpected end of file. +(1,3): expected-doctype-but-got-start-tag +(1,16): unexpected-end-tag +(2,4): expected-closing-tag-but-got-eof #document | |