parser/htmlparser/tests/mochitest/html5lib_tree_construction/adoption02.dat

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 #data
michael@0 2 <b>1<i>2<p>3</b>4
michael@0 3 #errors
michael@0 4 (1,3): expected-doctype-but-got-start-tag
michael@0 5 (1,16): adoption-agency-1.3
michael@0 6 (1,17): expected-closing-tag-but-got-eof
michael@0 7 #document
michael@0 8 | <html>
michael@0 9 | <head>
michael@0 10 | <body>
michael@0 11 | <b>
michael@0 12 | "1"
michael@0 13 | <i>
michael@0 14 | "2"
michael@0 15 | <i>
michael@0 16 | <p>
michael@0 17 | <b>
michael@0 18 | "3"
michael@0 19 | "4"
michael@0 20
michael@0 21 #data
michael@0 22 <a><div><style></style><address><a>
michael@0 23 #errors
michael@0 24 (1,3): expected-doctype-but-got-start-tag
michael@0 25 (1,35): unexpected-start-tag-implies-end-tag
michael@0 26 (1,35): adoption-agency-1.3
michael@0 27 (1,35): adoption-agency-1.3
michael@0 28 (1,35): expected-closing-tag-but-got-eof
michael@0 29 #document
michael@0 30 | <html>
michael@0 31 | <head>
michael@0 32 | <body>
michael@0 33 | <a>
michael@0 34 | <div>
michael@0 35 | <a>
michael@0 36 | <style>
michael@0 37 | <address>
michael@0 38 | <a>
michael@0 39 | <a>
michael@0 40
michael@0 41 #data
michael@0 42 <b><i><a><s><tt><div></b>first</b></div></tt></s></a>second</i>
michael@0 43 #errors
michael@0 44 3: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>".
michael@0 45 25: End tag "b" violates nesting rules.
michael@0 46 34: Stray end tag "b".
michael@0 47 63: Stray end tag "i".
michael@0 48 #document
michael@0 49 | <html>
michael@0 50 | <head>
michael@0 51 | <body>
michael@0 52 | <b>
michael@0 53 | <i>
michael@0 54 | <a>
michael@0 55 | <s>
michael@0 56 | <tt>
michael@0 57 | <a>
michael@0 58 | <s>
michael@0 59 | <tt>
michael@0 60 | <div>
michael@0 61 | <b>
michael@0 62 | "first"
michael@0 63 | "second"
michael@0 64
michael@0 65 #data
michael@0 66 <code foo="bar"><code><code><code><code></code></code></code></code>text</code>
michael@0 67 #errors
michael@0 68 16: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>".
michael@0 69 #document
michael@0 70 | <html>
michael@0 71 | <head>
michael@0 72 | <body>
michael@0 73 | <code>
michael@0 74 | foo="bar"
michael@0 75 | <code>
michael@0 76 | <code>
michael@0 77 | <code>
michael@0 78 | <code>
michael@0 79 | "text"
michael@0 80
michael@0 81 #data
michael@0 82 <code foo="bar"><code><code><code><div><code></div></code></code></code></code>text</code>
michael@0 83 #errors
michael@0 84 16: Start tag seen without seeing a doctype first. Expected "<!DOCTYPE html>".
michael@0 85 51: End tag "div" seen, but there were open elements.
michael@0 86 45: Unclosed element "code".
michael@0 87 58: No "code" element in scope but a "code" end tag seen.
michael@0 88 #document
michael@0 89 | <html>
michael@0 90 | <head>
michael@0 91 | <body>
michael@0 92 | <code>
michael@0 93 | foo="bar"
michael@0 94 | <code>
michael@0 95 | <code>
michael@0 96 | <code>
michael@0 97 | <div>
michael@0 98 | <code>
michael@0 99 | "text"

mercurial