Skip to content

Commit 2889adb

Browse files
committed
Fix errors expectations about unexpected end tags
1 parent 40b6a7d commit 2889adb

File tree

8 files changed

+5
-10
lines changed

8 files changed

+5
-10
lines changed

tree-construction/foreign-fragment.dat

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,7 @@ svg desc
487487
#data
488488
<plaintext><foo>
489489
#errors
490-
16: End of file seen and there were open elements.
491-
11: Unclosed element “plaintext”.
490+
(1,16): expected-closing-tag-but-got-eof
492491
#document-fragment
493492
svg desc
494493
#document

tree-construction/ruby.dat

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
<html><ruby>a<rb>b<span></ruby></html>
5959
#errors
6060
(1,6): expected-doctype-but-got-start-tag
61+
(1,31): unexpected-end-tag
6162
#document
6263
| <html>
6364
| <head>
@@ -128,6 +129,7 @@
128129
<html><ruby>a<rt>b<span></ruby></html>
129130
#errors
130131
(1,6): expected-doctype-but-got-start-tag
132+
(1,31): unexpected-end-tag
131133
#document
132134
| <html>
133135
| <head>
@@ -271,6 +273,7 @@
271273
<html><ruby>a<rp>b<span></ruby></html>
272274
#errors
273275
(1,6): expected-doctype-but-got-start-tag
276+
(1,31): unexpected-end-tag
274277
#document
275278
| <html>
276279
| <head>

tree-construction/tests1.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,6 @@ Line1<br>Line2<br>Line3<br>Line4
357357
(1,27): unexpected-select-in-select
358358
(1,39): unexpected-end-tag
359359
(1,48): unexpected-end-tag
360-
(1,49): expected-closing-tag-but-got-eof
361360
#document
362361
| <html>
363362
| <head>

tree-construction/tests2.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,6 @@
471471
<!DOCTYPE html><select><optgroup><option></optgroup><option><select><option>
472472
#errors
473473
(1,68): unexpected-select-in-select
474-
(1,76): expected-closing-tag-but-got-eof
475474
#document
476475
| <!DOCTYPE html>
477476
| <html>

tree-construction/tests20.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,6 @@
407407
<option><option>
408408
#errors
409409
(1,8): expected-doctype-but-got-start-tag
410-
(1,16): expected-closing-tag-but-got-eof
411410
#document
412411
| <html>
413412
| <head>

tree-construction/tests7.dat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ A<table><tr> B</tr> </em>C</table>
379379
(1,14): foster-parenting-character
380380
(1,20): foster-parenting-character
381381
(1,25): unexpected-end-tag
382+
(1,25): unexpected-end-tag-in-special-element
382383
(1,26): foster-parenting-character
383384
#document
384385
| <html>

tree-construction/tests_innerHTML_1.dat

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,7 +826,6 @@ td
826826
</select><option>
827827
#errors
828828
(1,9): XXX-undefined-error
829-
(1,17): eof-in-select
830829
#document-fragment
831830
select
832831
#document
@@ -836,7 +835,6 @@ select
836835
<input><option>
837836
#errors
838837
(1,7): unexpected-input-in-select
839-
(1,15): eof-in-select
840838
#document-fragment
841839
select
842840
#document
@@ -846,7 +844,6 @@ select
846844
<keygen><option>
847845
#errors
848846
(1,8): unexpected-input-in-select
849-
(1,16): eof-in-select
850847
#document-fragment
851848
select
852849
#document
@@ -856,7 +853,6 @@ select
856853
<textarea><option>
857854
#errors
858855
(1,10): unexpected-input-in-select
859-
(1,18): eof-in-select
860856
#document-fragment
861857
select
862858
#document

tree-construction/webkit01.dat

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,6 @@ console.log("FOO<span>BAR</span>BAZ");
385385
(1,59): unexpected-select-in-select
386386
(1,93): unexpected-select-in-select
387387
(1,127): unexpected-select-in-select
388-
(1,127): expected-closing-tag-but-got-eof
389388
#document
390389
| <html>
391390
| <head>

0 commit comments

Comments
 (0)