| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "Test"

| <html>
|   <head>
|   <body>
|     <textarea>
|       "test</div>test"

| <html>
|   <head>
|   <body>
|     <table>
|       <tbody>
|         <tr>
|           <td>

| <html>
|   <head>
|   <body>
|     <table>
|       <tbody>
|         <tr>
|           <td>
|             "test"

| <html>
|   <head>
|   <body>
|     "test"

| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <font>
|     <p>
|       <font>
|         <b>
|           "test"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <dt>
|       <div>
|     <dd>

| <html>
|   <head>
|     <script>
|       "</x"
|   <body>

| <html>
|   <head>
|   <body>
|     <plaintext>
|       "<td>"
|     <table>

| <html>
|   <head>
|   <body>
|     <plaintext>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "TEST"
|     <table>
|       <tbody>
|         <tr>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     t1="1"

| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "X"

| <!DOCTYPE html>
| <html>
|   <head>
|     <script>
|       type="text/x-foobar;baz"
|       "X</SCRipt"
|   <body>

| <html>
|   <head>
|   <body>
|     "&"

| <html>
|   <head>
|   <body>
|     "&#"

| <html>
|   <head>
|   <body>
|     "&#X"

| <html>
|   <head>
|   <body>
|     "&#x"

| <html>
|   <head>
|   <body>
|     "-"

| <html>
|   <head>
|   <body>
|     "&x-test"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <p>
|     <li>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <p>
|     <dt>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <p>
|     <dd>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <p>
|     <form>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <p>
|     "X"

| <html>
|   <head>
|   <body>
|     "&"

| <html>
|   <head>
|   <body>
|     "&AMp;"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <thisisasillytestelementnametomakesurecrazytagnamesareparsedcorrectly>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "X"
|     "X"

| <!DOCTYPE html>
| <!-- X
| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <table>
|       <caption>
|         "test TEST"
|       <tbody>
|         <tr>
|           <td>
|             "test"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <select>
|       <option>
|       <optgroup>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <select>
|       <optgroup>
|         <option>
|       <option>
|     <option>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <select>
|       <optgroup>
|         <option>
|       <optgroup>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <datalist>
|       <option>
|         "foo"
|     "bar"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <font>
|       <input>
|       <input>

| <!DOCTYPE html>
| <!-- XXX - XXX -->
| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <!-- XXX - XXX
| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <!-- XXX - XXX - XXX -->
| <html>
|   <head>
|   <body>

| <html>
|   <head>
|   <body>

| <html>
|   <head>
|   <body>
|     "testtest"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <title>
|       "test</body>"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <title>
|       "X"
|     <meta>
|       name="z"
|     <link>
|       rel="foo"
|     <style>
|       "x { content:"</style" } "

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <select>
|       <optgroup>

| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|     <script>
|     "  "
|     <title>
|       "x"
|     "  "
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   id="x"
|   <head>
|   <body>
|     "X"

| <!DOCTYPE html>
| <html>
|   id="x"
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "X"
|     "X"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "X"
|     " "

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "X"
|     <p>
|       "X"

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     "X"
|     <p>
|       x=""
|       y=""
|       z=""

| <!DOCTYPE html>
| <!--x--
| <html>
|   <head>
|   <body>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <table>
|       <tbody>
|         <tr>
|           <td>
|             <p>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     ">"
|     <!--<!--x-->
|     "-->"

