parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests3.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 <head></head><style></style>
michael@0 3 #errors
michael@0 4 (1,6): expected-doctype-but-got-start-tag
michael@0 5 (1,20): unexpected-start-tag-out-of-my-head
michael@0 6 #document
michael@0 7 | <html>
michael@0 8 | <head>
michael@0 9 | <style>
michael@0 10 | <body>
michael@0 11
michael@0 12 #data
michael@0 13 <head></head><script></script>
michael@0 14 #errors
michael@0 15 (1,6): expected-doctype-but-got-start-tag
michael@0 16 (1,21): unexpected-start-tag-out-of-my-head
michael@0 17 #document
michael@0 18 | <html>
michael@0 19 | <head>
michael@0 20 | <script>
michael@0 21 | <body>
michael@0 22
michael@0 23 #data
michael@0 24 <head></head><!-- --><style></style><!-- --><script></script>
michael@0 25 #errors
michael@0 26 (1,6): expected-doctype-but-got-start-tag
michael@0 27 (1,28): unexpected-start-tag-out-of-my-head
michael@0 28 (1,52): unexpected-start-tag-out-of-my-head
michael@0 29 #document
michael@0 30 | <html>
michael@0 31 | <head>
michael@0 32 | <style>
michael@0 33 | <script>
michael@0 34 | <!-- -->
michael@0 35 | <!-- -->
michael@0 36 | <body>
michael@0 37
michael@0 38 #data
michael@0 39 <head></head><!-- -->x<style></style><!-- --><script></script>
michael@0 40 #errors
michael@0 41 (1,6): expected-doctype-but-got-start-tag
michael@0 42 #document
michael@0 43 | <html>
michael@0 44 | <head>
michael@0 45 | <!-- -->
michael@0 46 | <body>
michael@0 47 | "x"
michael@0 48 | <style>
michael@0 49 | <!-- -->
michael@0 50 | <script>
michael@0 51
michael@0 52 #data
michael@0 53 <!DOCTYPE html><html><head></head><body><pre>
michael@0 54 </pre></body></html>
michael@0 55 #errors
michael@0 56 #document
michael@0 57 | <!DOCTYPE html>
michael@0 58 | <html>
michael@0 59 | <head>
michael@0 60 | <body>
michael@0 61 | <pre>
michael@0 62
michael@0 63 #data
michael@0 64 <!DOCTYPE html><html><head></head><body><pre>
michael@0 65 foo</pre></body></html>
michael@0 66 #errors
michael@0 67 #document
michael@0 68 | <!DOCTYPE html>
michael@0 69 | <html>
michael@0 70 | <head>
michael@0 71 | <body>
michael@0 72 | <pre>
michael@0 73 | "foo"
michael@0 74
michael@0 75 #data
michael@0 76 <!DOCTYPE html><html><head></head><body><pre>
michael@0 77
michael@0 78 foo</pre></body></html>
michael@0 79 #errors
michael@0 80 #document
michael@0 81 | <!DOCTYPE html>
michael@0 82 | <html>
michael@0 83 | <head>
michael@0 84 | <body>
michael@0 85 | <pre>
michael@0 86 | "
michael@0 87 foo"
michael@0 88
michael@0 89 #data
michael@0 90 <!DOCTYPE html><html><head></head><body><pre>
michael@0 91 foo
michael@0 92 </pre></body></html>
michael@0 93 #errors
michael@0 94 #document
michael@0 95 | <!DOCTYPE html>
michael@0 96 | <html>
michael@0 97 | <head>
michael@0 98 | <body>
michael@0 99 | <pre>
michael@0 100 | "foo
michael@0 101 "
michael@0 102
michael@0 103 #data
michael@0 104 <!DOCTYPE html><html><head></head><body><pre>x</pre><span>
michael@0 105 </span></body></html>
michael@0 106 #errors
michael@0 107 #document
michael@0 108 | <!DOCTYPE html>
michael@0 109 | <html>
michael@0 110 | <head>
michael@0 111 | <body>
michael@0 112 | <pre>
michael@0 113 | "x"
michael@0 114 | <span>
michael@0 115 | "
michael@0 116 "
michael@0 117
michael@0 118 #data
michael@0 119 <!DOCTYPE html><html><head></head><body><pre>x
michael@0 120 y</pre></body></html>
michael@0 121 #errors
michael@0 122 #document
michael@0 123 | <!DOCTYPE html>
michael@0 124 | <html>
michael@0 125 | <head>
michael@0 126 | <body>
michael@0 127 | <pre>
michael@0 128 | "x
michael@0 129 y"
michael@0 130
michael@0 131 #data
michael@0 132 <!DOCTYPE html><html><head></head><body><pre>x<div>
michael@0 133 y</pre></body></html>
michael@0 134 #errors
michael@0 135 (2,7): end-tag-too-early
michael@0 136 #document
michael@0 137 | <!DOCTYPE html>
michael@0 138 | <html>
michael@0 139 | <head>
michael@0 140 | <body>
michael@0 141 | <pre>
michael@0 142 | "x"
michael@0 143 | <div>
michael@0 144 | "
michael@0 145 y"
michael@0 146
michael@0 147 #data
michael@0 148 <!DOCTYPE html><pre>&#x0a;&#x0a;A</pre>
michael@0 149 #errors
michael@0 150 #document
michael@0 151 | <!DOCTYPE html>
michael@0 152 | <html>
michael@0 153 | <head>
michael@0 154 | <body>
michael@0 155 | <pre>
michael@0 156 | "
michael@0 157 A"
michael@0 158
michael@0 159 #data
michael@0 160 <!DOCTYPE html><HTML><META><HEAD></HEAD></HTML>
michael@0 161 #errors
michael@0 162 (1,33): two-heads-are-not-better-than-one
michael@0 163 #document
michael@0 164 | <!DOCTYPE html>
michael@0 165 | <html>
michael@0 166 | <head>
michael@0 167 | <meta>
michael@0 168 | <body>
michael@0 169
michael@0 170 #data
michael@0 171 <!DOCTYPE html><HTML><HEAD><head></HEAD></HTML>
michael@0 172 #errors
michael@0 173 (1,33): two-heads-are-not-better-than-one
michael@0 174 #document
michael@0 175 | <!DOCTYPE html>
michael@0 176 | <html>
michael@0 177 | <head>
michael@0 178 | <body>
michael@0 179
michael@0 180 #data
michael@0 181 <textarea>foo<span>bar</span><i>baz
michael@0 182 #errors
michael@0 183 (1,10): expected-doctype-but-got-start-tag
michael@0 184 (1,35): expected-closing-tag-but-got-eof
michael@0 185 #document
michael@0 186 | <html>
michael@0 187 | <head>
michael@0 188 | <body>
michael@0 189 | <textarea>
michael@0 190 | "foo<span>bar</span><i>baz"
michael@0 191
michael@0 192 #data
michael@0 193 <title>foo<span>bar</em><i>baz
michael@0 194 #errors
michael@0 195 (1,7): expected-doctype-but-got-start-tag
michael@0 196 (1,30): expected-named-closing-tag-but-got-eof
michael@0 197 #document
michael@0 198 | <html>
michael@0 199 | <head>
michael@0 200 | <title>
michael@0 201 | "foo<span>bar</em><i>baz"
michael@0 202 | <body>
michael@0 203
michael@0 204 #data
michael@0 205 <!DOCTYPE html><textarea>
michael@0 206 </textarea>
michael@0 207 #errors
michael@0 208 #document
michael@0 209 | <!DOCTYPE html>
michael@0 210 | <html>
michael@0 211 | <head>
michael@0 212 | <body>
michael@0 213 | <textarea>
michael@0 214
michael@0 215 #data
michael@0 216 <!DOCTYPE html><textarea>
michael@0 217 foo</textarea>
michael@0 218 #errors
michael@0 219 #document
michael@0 220 | <!DOCTYPE html>
michael@0 221 | <html>
michael@0 222 | <head>
michael@0 223 | <body>
michael@0 224 | <textarea>
michael@0 225 | "foo"
michael@0 226
michael@0 227 #data
michael@0 228 <!DOCTYPE html><textarea>
michael@0 229
michael@0 230 foo</textarea>
michael@0 231 #errors
michael@0 232 #document
michael@0 233 | <!DOCTYPE html>
michael@0 234 | <html>
michael@0 235 | <head>
michael@0 236 | <body>
michael@0 237 | <textarea>
michael@0 238 | "
michael@0 239 foo"
michael@0 240
michael@0 241 #data
michael@0 242 <!DOCTYPE html><html><head></head><body><ul><li><div><p><li></ul></body></html>
michael@0 243 #errors
michael@0 244 (1,60): end-tag-too-early
michael@0 245 #document
michael@0 246 | <!DOCTYPE html>
michael@0 247 | <html>
michael@0 248 | <head>
michael@0 249 | <body>
michael@0 250 | <ul>
michael@0 251 | <li>
michael@0 252 | <div>
michael@0 253 | <p>
michael@0 254 | <li>
michael@0 255
michael@0 256 #data
michael@0 257 <!doctype html><nobr><nobr><nobr>
michael@0 258 #errors
michael@0 259 (1,27): unexpected-start-tag-implies-end-tag
michael@0 260 (1,33): unexpected-start-tag-implies-end-tag
michael@0 261 (1,33): expected-closing-tag-but-got-eof
michael@0 262 #document
michael@0 263 | <!DOCTYPE html>
michael@0 264 | <html>
michael@0 265 | <head>
michael@0 266 | <body>
michael@0 267 | <nobr>
michael@0 268 | <nobr>
michael@0 269 | <nobr>
michael@0 270
michael@0 271 #data
michael@0 272 <!doctype html><nobr><nobr></nobr><nobr>
michael@0 273 #errors
michael@0 274 (1,27): unexpected-start-tag-implies-end-tag
michael@0 275 (1,40): expected-closing-tag-but-got-eof
michael@0 276 #document
michael@0 277 | <!DOCTYPE html>
michael@0 278 | <html>
michael@0 279 | <head>
michael@0 280 | <body>
michael@0 281 | <nobr>
michael@0 282 | <nobr>
michael@0 283 | <nobr>
michael@0 284
michael@0 285 #data
michael@0 286 <!doctype html><html><body><p><table></table></body></html>
michael@0 287 #errors
michael@0 288 Not known
michael@0 289 #document
michael@0 290 | <!DOCTYPE html>
michael@0 291 | <html>
michael@0 292 | <head>
michael@0 293 | <body>
michael@0 294 | <p>
michael@0 295 | <table>
michael@0 296
michael@0 297 #data
michael@0 298 <p><table></table>
michael@0 299 #errors
michael@0 300 (1,3): expected-doctype-but-got-start-tag
michael@0 301 #document
michael@0 302 | <html>
michael@0 303 | <head>
michael@0 304 | <body>
michael@0 305 | <p>
michael@0 306 | <table>

mercurial