Skip to content

Commit 8d02a18

Browse files
committed
fix a bug in the root element phase and add a regression testcase
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%40294
1 parent 58ee6e6 commit 8d02a18

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tree-construction/tests2.dat

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,3 +399,14 @@ Invalid entity.
399399
| "XX"
400400

401401
#data
402+
<!doctype html><!-- X
403+
#errors
404+
...
405+
#document
406+
| <!DOCTYPE HTML>
407+
| <!-- X -->
408+
| <html>
409+
| <head>
410+
| <body>
411+
412+
#data

0 commit comments

Comments
 (0)