Skip to content

Commit 8865518

Browse files
stevecheckowayjgraham
authored andcommitted
Fix template errors
Each character in the table (caused by the `<col>`) gets reparented and causes an error. The second `<a>` gets reparented but there's already one open, so that's a second error but the open one is not in scope so that's a third error.
1 parent 79154f9 commit 8865518

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tree-construction/template.dat

+10-1
Original file line numberDiff line numberDiff line change
@@ -1089,7 +1089,11 @@ eof in template
10891089
<body><template><col>Hello
10901090
#errors
10911091
no doctype
1092-
unexpected text
1092+
(1,27): foster-parenting-character
1093+
(1,27): foster-parenting-character
1094+
(1,27): foster-parenting-character
1095+
(1,27): foster-parenting-character
1096+
(1,27): foster-parenting-character
10931097
eof in template
10941098
#document
10951099
| <html>
@@ -1593,6 +1597,11 @@ eof table
15931597
#data
15941598
<template><a><table><a>
15951599
#errors
1600+
(1,10): expected-doctype-but-got-start-tag
1601+
(1,23): foster-parenting-start-tag
1602+
(1,23): unexpected-start-tag
1603+
(1,23): formatting-element-not-in-scope
1604+
(1,24): eof-in-template
15961605
#document
15971606
| <html>
15981607
| <head>

0 commit comments

Comments
 (0)