Skip to content

Commit fa43d3d

Browse files
authored
Merge pull request #22 from HTMLParseErrorWG/review-fixes2
Review fixes2
2 parents d1f2720 + eae4e2d commit fa43d3d

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

tokenizer/escapeFlag.test

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"input":"foo<!--></xmp><!-->baz</xmp>",
1919
"output":[["Character", "foo<!-->"], ["EndTag", "xmp"], ["Comment", ""], ["Character", "baz"], ["EndTag", "xmp"]],
2020
"errors":[
21-
{ "code": "abrupt-closing-of-comment", "line": 1, "col": 19 }
21+
{ "code": "abrupt-closing-of-empty-comment", "line": 1, "col": 19 }
2222
]},
2323

2424
{"description":"Commented entities in RCDATA",

tokenizer/test1.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@
117117
"input":"<!-->",
118118
"output":[["Comment", ""]],
119119
"errors":[
120-
{ "code": "abrupt-closing-of-comment", "line": 1, "col": 5 }
120+
{ "code": "abrupt-closing-of-empty-comment", "line": 1, "col": 5 }
121121
]},
122122

123123

124124
{"description":"Short comment two",
125125
"input":"<!--->",
126126
"output":[["Comment", ""]],
127127
"errors":[
128-
{ "code": "abrupt-closing-of-comment", "line": 1, "col": 6 }
128+
{ "code": "abrupt-closing-of-empty-comment", "line": 1, "col": 6 }
129129
]},
130130

131131
{"description":"Short comment three",

tree-construction/comments01.dat

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ FOO<!--->BAZ
106106
(1,3): expected-doctype-but-got-chars
107107
(1,9): incorrect-comment
108108
#new-errors
109-
(1:9) abrupt-closing-of-comment
109+
(1:9) abrupt-closing-of-empty-comment
110110
#document
111111
| <html>
112112
| <head>
@@ -121,7 +121,7 @@ FOO<!-->BAZ
121121
(1,3): expected-doctype-but-got-chars
122122
(1,8): incorrect-comment
123123
#new-errors
124-
(1:8) abrupt-closing-of-comment
124+
(1:8) abrupt-closing-of-empty-comment
125125
#document
126126
| <html>
127127
| <head>

tree-construction/foreign-fragment.dat

+5-5
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ math ms
175175
52: End of file seen and there were open elements.
176176
51: Unclosed element “ms”.
177177
#new-errors
178-
(1:44-1:49) non-void-element-start-tag-with-trailing-solidus
178+
(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus
179179
#document-fragment
180180
math ms
181181
#document
@@ -218,7 +218,7 @@ math ms
218218
52: End of file seen and there were open elements.
219219
51: Unclosed element “mn”.
220220
#new-errors
221-
(1:44-1:49) non-void-element-start-tag-with-trailing-solidus
221+
(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus
222222
#document-fragment
223223
math mn
224224
#document
@@ -261,7 +261,7 @@ math mn
261261
52: End of file seen and there were open elements.
262262
51: Unclosed element “mo”.
263263
#new-errors
264-
(1:44-1:49) non-void-element-start-tag-with-trailing-solidus
264+
(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus
265265
#document-fragment
266266
math mo
267267
#document
@@ -304,7 +304,7 @@ math mo
304304
52: End of file seen and there were open elements.
305305
51: Unclosed element “mi”.
306306
#new-errors
307-
(1:44-1:49) non-void-element-start-tag-with-trailing-solidus
307+
(1:44-1:49) non-void-html-element-start-tag-with-trailing-solidus
308308
#document-fragment
309309
math mi
310310
#document
@@ -347,7 +347,7 @@ math mi
347347
52: End of file seen and there were open elements.
348348
51: Unclosed element “mtext”.
349349
#new-errors
350-
(1:44-1:52) non-void-element-start-tag-with-trailing-solidus
350+
(1:44-1:52) non-void-html-element-start-tag-with-trailing-solidus
351351
#document-fragment
352352
math mtext
353353
#document

tree-construction/tests1.dat

+2-2
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ Line1<br>Line2<br>Line3<br>Line4
328328
(1,17): incorrect-comment
329329
(1,17): expected-closing-tag-but-got-eof
330330
#new-errors
331-
(1:5) abrupt-closing-of-comment
332-
(1:17) abrupt-closing-of-comment
331+
(1:5) abrupt-closing-of-empty-comment
332+
(1:17) abrupt-closing-of-empty-comment
333333
#document
334334
| <!-- -->
335335
| <html>

tree-construction/webkit01.dat

+1-1
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ console.log("FOO<span>BAR</span>BAZ");
641641
(1,23): non-void-element-with-trailing-solidus
642642
(1,29): end-tag-too-early
643643
#new-errors
644-
(1:9-1:24) non-void-element-start-tag-with-trailing-solidus
644+
(1:9-1:24) non-void-html-element-start-tag-with-trailing-solidus
645645
#document
646646
| <html>
647647
| <head>

0 commit comments

Comments
 (0)