Skip to content

Commit

Permalink
AAA algorithm should only pop when the current node is not in the lis…
Browse files Browse the repository at this point in the history
…t of active formatting elements.
  • Loading branch information
William Chen committed Mar 5, 2014
1 parent 912be08 commit 4228942
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions tree-construction/adoption02.dat
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,39 @@
| <b>
| "first"
| "second"

#data
<code foo="bar"><code><code><code><code></code></code></code></code>text</code>
#errors
16: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>".
#document
| <html>
| <head>
| <body>
| <code>
| foo="bar"
| <code>
| <code>
| <code>
| <code>
| "text"

#data
<code foo="bar"><code><code><code><div><code></div></code></code></code></code>text</code>
#errors
16: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>".
51: End tag "div" seen, but there were open elements.
45: Unclosed element "code".
58: No "code" element in scope but a "code" end tag seen.
#document
| <html>
| <head>
| <body>
| <code>
| foo="bar"
| <code>
| <code>
| <code>
| <div>
| <code>
| "text"

0 comments on commit 4228942

Please sign in to comment.