parser/htmlparser/tests/mochitest/html5lib_tree_construction/comments01.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 FOO<!-- BAR -->BAZ
michael@0 3 #errors
michael@0 4 (1,3): expected-doctype-but-got-chars
michael@0 5 #document
michael@0 6 | <html>
michael@0 7 | <head>
michael@0 8 | <body>
michael@0 9 | "FOO"
michael@0 10 | <!-- BAR -->
michael@0 11 | "BAZ"
michael@0 12
michael@0 13 #data
michael@0 14 FOO<!-- BAR --!>BAZ
michael@0 15 #errors
michael@0 16 (1,3): expected-doctype-but-got-chars
michael@0 17 (1,15): unexpected-bang-after-double-dash-in-comment
michael@0 18 #document
michael@0 19 | <html>
michael@0 20 | <head>
michael@0 21 | <body>
michael@0 22 | "FOO"
michael@0 23 | <!-- BAR -->
michael@0 24 | "BAZ"
michael@0 25
michael@0 26 #data
michael@0 27 FOO<!-- BAR -- >BAZ
michael@0 28 #errors
michael@0 29 (1,3): expected-doctype-but-got-chars
michael@0 30 (1,15): unexpected-char-in-comment
michael@0 31 (1,21): eof-in-comment
michael@0 32 #document
michael@0 33 | <html>
michael@0 34 | <head>
michael@0 35 | <body>
michael@0 36 | "FOO"
michael@0 37 | <!-- BAR -- >BAZ -->
michael@0 38
michael@0 39 #data
michael@0 40 FOO<!-- BAR -- <QUX> -- MUX -->BAZ
michael@0 41 #errors
michael@0 42 (1,3): expected-doctype-but-got-chars
michael@0 43 (1,15): unexpected-char-in-comment
michael@0 44 (1,24): unexpected-char-in-comment
michael@0 45 #document
michael@0 46 | <html>
michael@0 47 | <head>
michael@0 48 | <body>
michael@0 49 | "FOO"
michael@0 50 | <!-- BAR -- <QUX> -- MUX -->
michael@0 51 | "BAZ"
michael@0 52
michael@0 53 #data
michael@0 54 FOO<!-- BAR -- <QUX> -- MUX --!>BAZ
michael@0 55 #errors
michael@0 56 (1,3): expected-doctype-but-got-chars
michael@0 57 (1,15): unexpected-char-in-comment
michael@0 58 (1,24): unexpected-char-in-comment
michael@0 59 (1,31): unexpected-bang-after-double-dash-in-comment
michael@0 60 #document
michael@0 61 | <html>
michael@0 62 | <head>
michael@0 63 | <body>
michael@0 64 | "FOO"
michael@0 65 | <!-- BAR -- <QUX> -- MUX -->
michael@0 66 | "BAZ"
michael@0 67
michael@0 68 #data
michael@0 69 FOO<!-- BAR -- <QUX> -- MUX -- >BAZ
michael@0 70 #errors
michael@0 71 (1,3): expected-doctype-but-got-chars
michael@0 72 (1,15): unexpected-char-in-comment
michael@0 73 (1,24): unexpected-char-in-comment
michael@0 74 (1,31): unexpected-char-in-comment
michael@0 75 (1,35): eof-in-comment
michael@0 76 #document
michael@0 77 | <html>
michael@0 78 | <head>
michael@0 79 | <body>
michael@0 80 | "FOO"
michael@0 81 | <!-- BAR -- <QUX> -- MUX -- >BAZ -->
michael@0 82
michael@0 83 #data
michael@0 84 FOO<!---->BAZ
michael@0 85 #errors
michael@0 86 (1,3): expected-doctype-but-got-chars
michael@0 87 #document
michael@0 88 | <html>
michael@0 89 | <head>
michael@0 90 | <body>
michael@0 91 | "FOO"
michael@0 92 | <!-- -->
michael@0 93 | "BAZ"
michael@0 94
michael@0 95 #data
michael@0 96 FOO<!--->BAZ
michael@0 97 #errors
michael@0 98 (1,3): expected-doctype-but-got-chars
michael@0 99 (1,9): incorrect-comment
michael@0 100 #document
michael@0 101 | <html>
michael@0 102 | <head>
michael@0 103 | <body>
michael@0 104 | "FOO"
michael@0 105 | <!-- -->
michael@0 106 | "BAZ"
michael@0 107
michael@0 108 #data
michael@0 109 FOO<!-->BAZ
michael@0 110 #errors
michael@0 111 (1,3): expected-doctype-but-got-chars
michael@0 112 (1,8): incorrect-comment
michael@0 113 #document
michael@0 114 | <html>
michael@0 115 | <head>
michael@0 116 | <body>
michael@0 117 | "FOO"
michael@0 118 | <!-- -->
michael@0 119 | "BAZ"
michael@0 120
michael@0 121 #data
michael@0 122 <?xml version="1.0">Hi
michael@0 123 #errors
michael@0 124 (1,1): expected-tag-name-but-got-question-mark
michael@0 125 (1,22): expected-doctype-but-got-chars
michael@0 126 #document
michael@0 127 | <!-- ?xml version="1.0" -->
michael@0 128 | <html>
michael@0 129 | <head>
michael@0 130 | <body>
michael@0 131 | "Hi"
michael@0 132
michael@0 133 #data
michael@0 134 <?xml version="1.0">
michael@0 135 #errors
michael@0 136 (1,1): expected-tag-name-but-got-question-mark
michael@0 137 (1,20): expected-doctype-but-got-eof
michael@0 138 #document
michael@0 139 | <!-- ?xml version="1.0" -->
michael@0 140 | <html>
michael@0 141 | <head>
michael@0 142 | <body>
michael@0 143
michael@0 144 #data
michael@0 145 <?xml version
michael@0 146 #errors
michael@0 147 (1,1): expected-tag-name-but-got-question-mark
michael@0 148 (1,13): expected-doctype-but-got-eof
michael@0 149 #document
michael@0 150 | <!-- ?xml version -->
michael@0 151 | <html>
michael@0 152 | <head>
michael@0 153 | <body>
michael@0 154
michael@0 155 #data
michael@0 156 FOO<!----->BAZ
michael@0 157 #errors
michael@0 158 (1,3): expected-doctype-but-got-chars
michael@0 159 (1,10): unexpected-dash-after-double-dash-in-comment
michael@0 160 #document
michael@0 161 | <html>
michael@0 162 | <head>
michael@0 163 | <body>
michael@0 164 | "FOO"
michael@0 165 | <!-- - -->
michael@0 166 | "BAZ"
michael@0 167
michael@0 168 #data
michael@0 169 <html><!-- comment --><title>Comment before head</title>
michael@0 170 #errors
michael@0 171 (1,6): expected-doctype-but-got-start-tag
michael@0 172 #document
michael@0 173 | <html>
michael@0 174 | <!-- comment -->
michael@0 175 | <head>
michael@0 176 | <title>
michael@0 177 | "Comment before head"
michael@0 178 | <body>

mercurial