Skip to content

Commit 912be08

Browse files
author
William Chen
committed
Add test for update to AAA algorithm that removes nodes from the stack of open elements when they are not being recreated.
1 parent a97aa21 commit 912be08

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tree-construction/adoption02.dat

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,27 @@
3737
| <address>
3838
| <a>
3939
| <a>
40+
41+
#data
42+
<b><i><a><s><tt><div></b>first</b></div></tt></s></a>second</i>
43+
#errors
44+
3: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>".
45+
25: End tag "b" violates nesting rules.
46+
34: Stray end tag "b".
47+
63: Stray end tag "i".
48+
#document
49+
| <html>
50+
| <head>
51+
| <body>
52+
| <b>
53+
| <i>
54+
| <a>
55+
| <s>
56+
| <tt>
57+
| <a>
58+
| <s>
59+
| <tt>
60+
| <div>
61+
| <b>
62+
| "first"
63+
| "second"

0 commit comments

Comments
 (0)