...

Text file src/golang.org/x/net/html/testdata/webkit/tests3.dat

Documentation: golang.org/x/net/html/testdata/webkit

     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>
    11
    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>
    22
    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>
    37
    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>
    51
    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>
    62
    63#data
    64<!DOCTYPE html><html><head></head><body><pre>
    65foo</pre></body></html>
    66#errors
    67#document
    68| <!DOCTYPE html>
    69| <html>
    70|   <head>
    71|   <body>
    72|     <pre>
    73|       "foo"
    74
    75#data
    76<!DOCTYPE html><html><head></head><body><pre>
    77
    78foo</pre></body></html>
    79#errors
    80#document
    81| <!DOCTYPE html>
    82| <html>
    83|   <head>
    84|   <body>
    85|     <pre>
    86|       "
    87foo"
    88
    89#data
    90<!DOCTYPE html><html><head></head><body><pre>
    91foo
    92</pre></body></html>
    93#errors
    94#document
    95| <!DOCTYPE html>
    96| <html>
    97|   <head>
    98|   <body>
    99|     <pre>
   100|       "foo
   101"
   102
   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"
   117
   118#data
   119<!DOCTYPE html><html><head></head><body><pre>x
   120y</pre></body></html>
   121#errors
   122#document
   123| <!DOCTYPE html>
   124| <html>
   125|   <head>
   126|   <body>
   127|     <pre>
   128|       "x
   129y"
   130
   131#data
   132<!DOCTYPE html><html><head></head><body><pre>x<div>
   133y</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|         "
   145y"
   146
   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|       "
   157A"
   158
   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>
   169
   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>
   179
   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"
   191
   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>
   203
   204#data
   205<!DOCTYPE html><textarea>
   206</textarea>
   207#errors
   208#document
   209| <!DOCTYPE html>
   210| <html>
   211|   <head>
   212|   <body>
   213|     <textarea>
   214
   215#data
   216<!DOCTYPE html><textarea>
   217foo</textarea>
   218#errors
   219#document
   220| <!DOCTYPE html>
   221| <html>
   222|   <head>
   223|   <body>
   224|     <textarea>
   225|       "foo"
   226
   227#data
   228<!DOCTYPE html><textarea>
   229
   230foo</textarea>
   231#errors
   232#document
   233| <!DOCTYPE html>
   234| <html>
   235|   <head>
   236|   <body>
   237|     <textarea>
   238|       "
   239foo"
   240
   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>
   255
   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>
   270
   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>
   284
   285#data
   286<!doctype html><html><body><p><table></table></body></html>
   287#errors
   288#document
   289| <!DOCTYPE html>
   290| <html>
   291|   <head>
   292|   <body>
   293|     <p>
   294|     <table>
   295
   296#data
   297<p><table></table>
   298#errors
   299(1,3): expected-doctype-but-got-start-tag
   300#document
   301| <html>
   302|   <head>
   303|   <body>
   304|     <p>
   305|       <table>

View as plain text