github.com/vugu/vugu@v0.3.6-0.20240430171613-3f6f402e014b/internal/htmlx/testdata/webkit/tricky01.dat (about)

     1  #data
     2  <b><p>Bold </b> Not bold</p>
     3  Also not bold.
     4  #errors
     5  #document
     6  | <html>
     7  |   <head>
     8  |   <body>
     9  |     <b>
    10  |     <p>
    11  |       <b>
    12  |         "Bold "
    13  |       " Not bold"
    14  |     "
    15  Also not bold."
    16  
    17  #data
    18  <html>
    19  <font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain
    20  <p>I should not be red. <font color=red>Red. <i>Italic and red.</p>
    21  <p>Italic and red. </i> Red.</font> I should not be red.</p>
    22  <b>Bold <i>Bold and italic</b> Only Italic </i> Plain
    23  #errors
    24  #document
    25  | <html>
    26  |   <head>
    27  |   <body>
    28  |     <font>
    29  |       color="red"
    30  |       <i>
    31  |         "Italic and Red"
    32  |     <i>
    33  |       <p>
    34  |         <font>
    35  |           color="red"
    36  |           "Italic and Red "
    37  |         " Just italic."
    38  |       " Italic only."
    39  |     " Plain
    40  "
    41  |     <p>
    42  |       "I should not be red. "
    43  |       <font>
    44  |         color="red"
    45  |         "Red. "
    46  |         <i>
    47  |           "Italic and red."
    48  |     <font>
    49  |       color="red"
    50  |       <i>
    51  |         "
    52  "
    53  |     <p>
    54  |       <font>
    55  |         color="red"
    56  |         <i>
    57  |           "Italic and red. "
    58  |         " Red."
    59  |       " I should not be red."
    60  |     "
    61  "
    62  |     <b>
    63  |       "Bold "
    64  |       <i>
    65  |         "Bold and italic"
    66  |     <i>
    67  |       " Only Italic "
    68  |     " Plain"
    69  
    70  #data
    71  <html><body>
    72  <p><font size="7">First paragraph.</p>
    73  <p>Second paragraph.</p></font>
    74  <b><p><i>Bold and Italic</b> Italic</p>
    75  #errors
    76  #document
    77  | <html>
    78  |   <head>
    79  |   <body>
    80  |     "
    81  "
    82  |     <p>
    83  |       <font>
    84  |         size="7"
    85  |         "First paragraph."
    86  |     <font>
    87  |       size="7"
    88  |       "
    89  "
    90  |       <p>
    91  |         "Second paragraph."
    92  |     "
    93  "
    94  |     <b>
    95  |     <p>
    96  |       <b>
    97  |         <i>
    98  |           "Bold and Italic"
    99  |       <i>
   100  |         " Italic"
   101  
   102  #data
   103  <html>
   104  <dl>
   105  <dt><b>Boo
   106  <dd>Goo?
   107  </dl>
   108  </html>
   109  #errors
   110  #document
   111  | <html>
   112  |   <head>
   113  |   <body>
   114  |     <dl>
   115  |       "
   116  "
   117  |       <dt>
   118  |         <b>
   119  |           "Boo
   120  "
   121  |       <dd>
   122  |         <b>
   123  |           "Goo?
   124  "
   125  |     <b>
   126  |       "
   127  "
   128  
   129  #data
   130  <html><body>
   131  <label><a><div>Hello<div>World</div></a></label>  
   132  </body></html>
   133  #errors
   134  #document
   135  | <html>
   136  |   <head>
   137  |   <body>
   138  |     "
   139  "
   140  |     <label>
   141  |       <a>
   142  |       <div>
   143  |         <a>
   144  |           "Hello"
   145  |           <div>
   146  |             "World"
   147  |         "  
   148  "
   149  
   150  #data
   151  <table><center> <font>a</center> <img> <tr><td> </td> </tr> </table>
   152  #errors
   153  #document
   154  | <html>
   155  |   <head>
   156  |   <body>
   157  |     <center>
   158  |       " "
   159  |       <font>
   160  |         "a"
   161  |     <font>
   162  |       <img>
   163  |       " "
   164  |     <table>
   165  |       " "
   166  |       <tbody>
   167  |         <tr>
   168  |           <td>
   169  |             " "
   170  |           " "
   171  |         " "
   172  
   173  #data
   174  <table><tr><p><a><p>You should see this text.
   175  #errors
   176  #document
   177  | <html>
   178  |   <head>
   179  |   <body>
   180  |     <p>
   181  |       <a>
   182  |     <p>
   183  |       <a>
   184  |         "You should see this text."
   185  |     <table>
   186  |       <tbody>
   187  |         <tr>
   188  
   189  #data
   190  <TABLE>
   191  <TR>
   192  <CENTER><CENTER><TD></TD></TR><TR>
   193  <FONT>
   194  <TABLE><tr></tr></TABLE>
   195  </P>
   196  <a></font><font></a>
   197  This page contains an insanely badly-nested tag sequence.
   198  #errors
   199  #document
   200  | <html>
   201  |   <head>
   202  |   <body>
   203  |     <center>
   204  |       <center>
   205  |     <font>
   206  |       "
   207  "
   208  |     <table>
   209  |       "
   210  "
   211  |       <tbody>
   212  |         <tr>
   213  |           "
   214  "
   215  |           <td>
   216  |         <tr>
   217  |           "
   218  "
   219  |     <table>
   220  |       <tbody>
   221  |         <tr>
   222  |     <font>
   223  |       "
   224  "
   225  |       <p>
   226  |       "
   227  "
   228  |       <a>
   229  |     <a>
   230  |       <font>
   231  |     <font>
   232  |       "
   233  This page contains an insanely badly-nested tag sequence."
   234  
   235  #data
   236  <html>
   237  <body>
   238  <b><nobr><div>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the
   239  nobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>
   240  </body>
   241  </html>
   242  #errors
   243  #document
   244  | <html>
   245  |   <head>
   246  |   <body>
   247  |     "
   248  "
   249  |     <b>
   250  |       <nobr>
   251  |     <div>
   252  |       <b>
   253  |         <nobr>
   254  |           "This text is in a div inside a nobr"
   255  |         "More text that should not be in the nobr, i.e., the
   256  nobr should have closed the div inside it implicitly. "
   257  |       <pre>
   258  |         "A pre tag outside everything else."
   259  |       "
   260  
   261  "