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.

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

mercurial