Skip to content

Commit 7faff61

Browse files
committed
Merge pull request html5lib#24 from nolanw/select-parse-errors
Add parse errors for some <template> tests.
2 parents c884c3b + 87eff48 commit 7faff61

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tree-construction/template.dat

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1273,6 +1273,8 @@
12731273
#data
12741274
<body><table><tr><td><select><template>Foo</template><caption>A</table>
12751275
#errors
1276+
(1,62): unexpected-caption-in-select-in-table
1277+
(1,71): unexpected-table-end-in-caption
12761278
#document
12771279
| <html>
12781280
| <head>
@@ -1291,6 +1293,8 @@
12911293
#data
12921294
<body></body><template>
12931295
#errors
1296+
(1,23): template-after-body
1297+
(1,24): eof-in-template
12941298
#document
12951299
| <html>
12961300
| <head>
@@ -1301,6 +1305,8 @@
13011305
#data
13021306
<head></head><template>
13031307
#errors
1308+
(1,23): template-after-head
1309+
(1,24): eof-in-template
13041310
#document
13051311
| <html>
13061312
| <head>
@@ -1311,6 +1317,7 @@
13111317
#data
13121318
<head></head><template>Foo</template>
13131319
#errors
1320+
(1,23): template-after-head
13141321
#document
13151322
| <html>
13161323
| <head>

0 commit comments

Comments
 (0)