  x Document
    ,-[$DIR/tests/recovery/element/math/input.html:1:1]
  1 | ,-> <!DOCTYPE html>
  2 | |   <html>
  3 | |   <head>
  4 | |       <title>MathML in HTML5</title>
  5 | |   </head>
  6 | |   <body>
  7 | |   
  8 | |   <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | |   </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:1:1]
 1 | <!DOCTYPE html>
   : ^^^^^^^^^^^^^^^
 2 | <html>
   `----
  x DocumentType
   ,-[$DIR/tests/recovery/element/math/input.html:1:1]
 1 | <!DOCTYPE html>
   : ^^^^^^^^^^^^^^^
 2 | <html>
   `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:2:1]
  1 |     <!DOCTYPE html>
  2 | ,-> <html>
  3 | |   <head>
  4 | |       <title>MathML in HTML5</title>
  5 | |   </head>
  6 | |   <body>
  7 | |   
  8 | |   <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | |   </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:2:1]
  1 |     <!DOCTYPE html>
  2 | ,-> <html>
  3 | |   <head>
  4 | |       <title>MathML in HTML5</title>
  5 | |   </head>
  6 | |   <body>
  7 | |   
  8 | |   <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | |   </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:36:1]
 35 |         <annotation-xml encoding="application/xhtml+xml">
 36 |             <html xmlns="http://www.w3.org/1999/xhtml">
    :                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 37 |             <head><title>INNER HTML TITLE</title></head>
    `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:3:1]
 2 |     <html>
 3 | ,-> <head>
 4 | |       <title>MathML in HTML5</title>
 5 | `-> </head>
 6 |     <body>
   `----
  x Element
   ,-[$DIR/tests/recovery/element/math/input.html:3:1]
 2 |     <html>
 3 | ,-> <head>
 4 | |       <title>MathML in HTML5</title>
 5 | `-> </head>
 6 |     <body>
   `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:3:1]
 2 |     <html>
 3 | ,-> <head>
 4 | `->     <title>MathML in HTML5</title>
 5 |     </head>
   `----
  x Text
   ,-[$DIR/tests/recovery/element/math/input.html:3:1]
 2 |     <html>
 3 | ,-> <head>
 4 | `->     <title>MathML in HTML5</title>
 5 |     </head>
   `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:4:1]
 3 | <head>
 4 |     <title>MathML in HTML5</title>
   :     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 5 | </head>
   `----
  x Element
   ,-[$DIR/tests/recovery/element/math/input.html:4:1]
 3 | <head>
 4 |     <title>MathML in HTML5</title>
   :     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 5 | </head>
   `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:4:1]
 3 | <head>
 4 |     <title>MathML in HTML5</title>
   :            ^^^^^^^^^^^^^^^
 5 | </head>
   `----
  x Text
   ,-[$DIR/tests/recovery/element/math/input.html:4:1]
 3 | <head>
 4 |     <title>MathML in HTML5</title>
   :            ^^^^^^^^^^^^^^^
 5 | </head>
   `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:4:1]
 3 | <head>
 4 |     <title>MathML in HTML5</title>
   :                                   ^
 5 | </head>
 6 | <body>
   `----
  x Text
   ,-[$DIR/tests/recovery/element/math/input.html:4:1]
 3 | <head>
 4 |     <title>MathML in HTML5</title>
   :                                   ^
 5 | </head>
 6 | <body>
   `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:5:1]
 4 |     <title>MathML in HTML5</title>
 5 | </head>
   :        ^
 6 | <body>
   `----
  x Text
   ,-[$DIR/tests/recovery/element/math/input.html:5:1]
 4 |     <title>MathML in HTML5</title>
 5 | </head>
   :        ^
 6 | <body>
   `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:6:1]
  5 |     </head>
  6 | ,-> <body>
  7 | |   
  8 | |   <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | |   </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:6:1]
  5 |     </head>
  6 | ,-> <body>
  7 | |   
  8 | |   <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | |   </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:6:1]
 5 |     </head>
 6 | ,-> <body>
 7 | `-> 
 8 |     <math>
 9 |         <semantics>
   `----
  x Text
   ,-[$DIR/tests/recovery/element/math/input.html:6:1]
 5 |     </head>
 6 | ,-> <body>
 7 | `-> 
 8 |     <math>
 9 |         <semantics>
   `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:8:1]
  7 |     
  8 | ,-> <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | `-> </math>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:8:1]
  7 |     
  8 | ,-> <math>
  9 | |       <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | |       </semantics>
 53 | `-> </math>
    `----
  x Child
   ,-[$DIR/tests/recovery/element/math/input.html:8:1]
 7 |     
 8 | ,-> <math>
 9 | `->     <semantics>
   `----
  x Text
   ,-[$DIR/tests/recovery/element/math/input.html:8:1]
 7 |     
 8 | ,-> <math>
 9 | `->     <semantics>
   `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:9:1]
  8 |     <math>
  9 | ,->     <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | `->     </semantics>
 53 |     </math>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:9:1]
  8 |     <math>
  9 | ,->     <semantics>
 10 | |   
 11 | |           <!-- Presentation MathML -->
 12 | |           <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | |           </mrow>
 20 | |   
 21 | |           <!-- Content MathML -->
 22 | |           <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | |           </annotation-xml>
 33 | |   
 34 | |           <!-- Content HTML -->
 35 | |           <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | |           </annotation-xml>
 43 | |   
 44 | |           <!-- annotate an image -->
 45 | |           <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | |           <!-- annotate TeX -->
 48 | |           <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | |           </annotation>
 51 | |   
 52 | `->     </semantics>
 53 |     </math>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:9:1]
  8 |     <math>
  9 | ,->     <semantics>
 10 | |   
 11 | `->         <!-- Presentation MathML -->
 12 |             <mrow>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:9:1]
  8 |     <math>
  9 | ,->     <semantics>
 10 | |   
 11 | `->         <!-- Presentation MathML -->
 12 |             <mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:11:1]
 10 | 
 11 |         <!-- Presentation MathML -->
    :         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 12 |         <mrow>
    `----
  x Comment
    ,-[$DIR/tests/recovery/element/math/input.html:11:1]
 10 | 
 11 |         <!-- Presentation MathML -->
    :         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 12 |         <mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:11:1]
 10 |     
 11 | ,->         <!-- Presentation MathML -->
 12 | `->         <mrow>
 13 |                 <msup>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:11:1]
 10 |     
 11 | ,->         <!-- Presentation MathML -->
 12 | `->         <mrow>
 13 |                 <msup>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:12:1]
 11 |             <!-- Presentation MathML -->
 12 | ,->         <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | `->         </mrow>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:12:1]
 11 |             <!-- Presentation MathML -->
 12 | ,->         <mrow>
 13 | |               <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | |               </msup>
 17 | |               <mo>+</mo>
 18 | |               <mi>y</mi>
 19 | `->         </mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:12:1]
 11 |             <!-- Presentation MathML -->
 12 | ,->         <mrow>
 13 | `->             <msup>
 14 |                     <mi>x</mi>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:12:1]
 11 |             <!-- Presentation MathML -->
 12 | ,->         <mrow>
 13 | `->             <msup>
 14 |                     <mi>x</mi>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:13:1]
 12 |             <mrow>
 13 | ,->             <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | `->             </msup>
 17 |                 <mo>+</mo>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:13:1]
 12 |             <mrow>
 13 | ,->             <msup>
 14 | |                   <mi>x</mi>
 15 | |                   <mn>2</mn>
 16 | `->             </msup>
 17 |                 <mo>+</mo>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:13:1]
 12 |             <mrow>
 13 | ,->             <msup>
 14 | `->                 <mi>x</mi>
 15 |                     <mn>2</mn>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:13:1]
 12 |             <mrow>
 13 | ,->             <msup>
 14 | `->                 <mi>x</mi>
 15 |                     <mn>2</mn>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:14:1]
 13 |             <msup>
 14 |                 <mi>x</mi>
    :                 ^^^^^^^^^^
 15 |                 <mn>2</mn>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:14:1]
 13 |             <msup>
 14 |                 <mi>x</mi>
    :                 ^^^^^^^^^^
 15 |                 <mn>2</mn>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:14:1]
 13 |             <msup>
 14 |                 <mi>x</mi>
    :                     ^
 15 |                 <mn>2</mn>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:14:1]
 13 |             <msup>
 14 |                 <mi>x</mi>
    :                     ^
 15 |                 <mn>2</mn>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:14:1]
 13 |                 <msup>
 14 | ,->                 <mi>x</mi>
 15 | `->                 <mn>2</mn>
 16 |                 </msup>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:14:1]
 13 |                 <msup>
 14 | ,->                 <mi>x</mi>
 15 | `->                 <mn>2</mn>
 16 |                 </msup>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:15:1]
 14 |                 <mi>x</mi>
 15 |                 <mn>2</mn>
    :                 ^^^^^^^^^^
 16 |             </msup>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:15:1]
 14 |                 <mi>x</mi>
 15 |                 <mn>2</mn>
    :                 ^^^^^^^^^^
 16 |             </msup>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:15:1]
 14 |                 <mi>x</mi>
 15 |                 <mn>2</mn>
    :                     ^
 16 |             </msup>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:15:1]
 14 |                 <mi>x</mi>
 15 |                 <mn>2</mn>
    :                     ^
 16 |             </msup>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:15:1]
 14 |                     <mi>x</mi>
 15 | ,->                 <mn>2</mn>
 16 | `->             </msup>
 17 |                 <mo>+</mo>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:15:1]
 14 |                     <mi>x</mi>
 15 | ,->                 <mn>2</mn>
 16 | `->             </msup>
 17 |                 <mo>+</mo>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:16:1]
 15 |                     <mn>2</mn>
 16 | ,->             </msup>
 17 | `->             <mo>+</mo>
 18 |                 <mi>y</mi>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:16:1]
 15 |                     <mn>2</mn>
 16 | ,->             </msup>
 17 | `->             <mo>+</mo>
 18 |                 <mi>y</mi>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:17:1]
 16 |             </msup>
 17 |             <mo>+</mo>
    :             ^^^^^^^^^^
 18 |             <mi>y</mi>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:17:1]
 16 |             </msup>
 17 |             <mo>+</mo>
    :             ^^^^^^^^^^
 18 |             <mi>y</mi>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:17:1]
 16 |             </msup>
 17 |             <mo>+</mo>
    :                 ^
 18 |             <mi>y</mi>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:17:1]
 16 |             </msup>
 17 |             <mo>+</mo>
    :                 ^
 18 |             <mi>y</mi>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:17:1]
 16 |                 </msup>
 17 | ,->             <mo>+</mo>
 18 | `->             <mi>y</mi>
 19 |             </mrow>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:17:1]
 16 |                 </msup>
 17 | ,->             <mo>+</mo>
 18 | `->             <mi>y</mi>
 19 |             </mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:18:1]
 17 |             <mo>+</mo>
 18 |             <mi>y</mi>
    :             ^^^^^^^^^^
 19 |         </mrow>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:18:1]
 17 |             <mo>+</mo>
 18 |             <mi>y</mi>
    :             ^^^^^^^^^^
 19 |         </mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:18:1]
 17 |             <mo>+</mo>
 18 |             <mi>y</mi>
    :                 ^
 19 |         </mrow>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:18:1]
 17 |             <mo>+</mo>
 18 |             <mi>y</mi>
    :                 ^
 19 |         </mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:18:1]
 17 |                 <mo>+</mo>
 18 | ,->             <mi>y</mi>
 19 | `->         </mrow>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:18:1]
 17 |                 <mo>+</mo>
 18 | ,->             <mi>y</mi>
 19 | `->         </mrow>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:19:1]
 18 |                 <mi>y</mi>
 19 | ,->         </mrow>
 20 | |   
 21 | `->         <!-- Content MathML -->
 22 |             <annotation-xml encoding="MathML-Content">
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:19:1]
 18 |                 <mi>y</mi>
 19 | ,->         </mrow>
 20 | |   
 21 | `->         <!-- Content MathML -->
 22 |             <annotation-xml encoding="MathML-Content">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:21:1]
 20 | 
 21 |         <!-- Content MathML -->
    :         ^^^^^^^^^^^^^^^^^^^^^^^
 22 |         <annotation-xml encoding="MathML-Content">
    `----
  x Comment
    ,-[$DIR/tests/recovery/element/math/input.html:21:1]
 20 | 
 21 |         <!-- Content MathML -->
    :         ^^^^^^^^^^^^^^^^^^^^^^^
 22 |         <annotation-xml encoding="MathML-Content">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:21:1]
 20 |     
 21 | ,->         <!-- Content MathML -->
 22 | `->         <annotation-xml encoding="MathML-Content">
 23 |                 <apply>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:21:1]
 20 |     
 21 | ,->         <!-- Content MathML -->
 22 | `->         <annotation-xml encoding="MathML-Content">
 23 |                 <apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:22:1]
 21 |             <!-- Content MathML -->
 22 | ,->         <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | `->         </annotation-xml>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:22:1]
 21 |             <!-- Content MathML -->
 22 | ,->         <annotation-xml encoding="MathML-Content">
 23 | |               <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | |               </apply>
 32 | `->         </annotation-xml>
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:22:1]
 21 |         <!-- Content MathML -->
 22 |         <annotation-xml encoding="MathML-Content">
    :                         ^^^^^^^^^^^^^^^^^^^^^^^^^
 23 |             <apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:22:1]
 21 |             <!-- Content MathML -->
 22 | ,->         <annotation-xml encoding="MathML-Content">
 23 | `->             <apply>
 24 |                     <plus/>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:22:1]
 21 |             <!-- Content MathML -->
 22 | ,->         <annotation-xml encoding="MathML-Content">
 23 | `->             <apply>
 24 |                     <plus/>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:23:1]
 22 |             <annotation-xml encoding="MathML-Content">
 23 | ,->             <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | `->             </apply>
 32 |             </annotation-xml>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:23:1]
 22 |             <annotation-xml encoding="MathML-Content">
 23 | ,->             <apply>
 24 | |                   <plus/>
 25 | |                   <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | |                   </apply>
 30 | |                   <ci>y</ci>
 31 | `->             </apply>
 32 |             </annotation-xml>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:23:1]
 22 |             <annotation-xml encoding="MathML-Content">
 23 | ,->             <apply>
 24 | `->                 <plus/>
 25 |                     <apply>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:23:1]
 22 |             <annotation-xml encoding="MathML-Content">
 23 | ,->             <apply>
 24 | `->                 <plus/>
 25 |                     <apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:24:1]
 23 |             <apply>
 24 |                 <plus/>
    :                 ^^^^^^^
 25 |                 <apply>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:24:1]
 23 |             <apply>
 24 |                 <plus/>
    :                 ^^^^^^^
 25 |                 <apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:24:1]
 23 |                 <apply>
 24 | ,->                 <plus/>
 25 | `->                 <apply>
 26 |                         <power/>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:24:1]
 23 |                 <apply>
 24 | ,->                 <plus/>
 25 | `->                 <apply>
 26 |                         <power/>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:25:1]
 24 |                     <plus/>
 25 | ,->                 <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | `->                 </apply>
 30 |                     <ci>y</ci>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:25:1]
 24 |                     <plus/>
 25 | ,->                 <apply>
 26 | |                       <power/>
 27 | |                       <ci>x</ci>
 28 | |                       <cn type="integer">2</cn>
 29 | `->                 </apply>
 30 |                     <ci>y</ci>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:25:1]
 24 |                     <plus/>
 25 | ,->                 <apply>
 26 | `->                     <power/>
 27 |                         <ci>x</ci>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:25:1]
 24 |                     <plus/>
 25 | ,->                 <apply>
 26 | `->                     <power/>
 27 |                         <ci>x</ci>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:26:1]
 25 |                 <apply>
 26 |                     <power/>
    :                     ^^^^^^^^
 27 |                     <ci>x</ci>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:26:1]
 25 |                 <apply>
 26 |                     <power/>
    :                     ^^^^^^^^
 27 |                     <ci>x</ci>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:26:1]
 25 |                     <apply>
 26 | ,->                     <power/>
 27 | `->                     <ci>x</ci>
 28 |                         <cn type="integer">2</cn>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:26:1]
 25 |                     <apply>
 26 | ,->                     <power/>
 27 | `->                     <ci>x</ci>
 28 |                         <cn type="integer">2</cn>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:27:1]
 26 |                     <power/>
 27 |                     <ci>x</ci>
    :                     ^^^^^^^^^^
 28 |                     <cn type="integer">2</cn>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:27:1]
 26 |                     <power/>
 27 |                     <ci>x</ci>
    :                     ^^^^^^^^^^
 28 |                     <cn type="integer">2</cn>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:27:1]
 26 |                     <power/>
 27 |                     <ci>x</ci>
    :                         ^
 28 |                     <cn type="integer">2</cn>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:27:1]
 26 |                     <power/>
 27 |                     <ci>x</ci>
    :                         ^
 28 |                     <cn type="integer">2</cn>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:27:1]
 26 |                         <power/>
 27 | ,->                     <ci>x</ci>
 28 | `->                     <cn type="integer">2</cn>
 29 |                     </apply>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:27:1]
 26 |                         <power/>
 27 | ,->                     <ci>x</ci>
 28 | `->                     <cn type="integer">2</cn>
 29 |                     </apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                     <ci>x</ci>
 28 |                     <cn type="integer">2</cn>
    :                     ^^^^^^^^^^^^^^^^^^^^^^^^^
 29 |                 </apply>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                     <ci>x</ci>
 28 |                     <cn type="integer">2</cn>
    :                     ^^^^^^^^^^^^^^^^^^^^^^^^^
 29 |                 </apply>
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                     <ci>x</ci>
 28 |                     <cn type="integer">2</cn>
    :                         ^^^^^^^^^^^^^^
 29 |                 </apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                     <ci>x</ci>
 28 |                     <cn type="integer">2</cn>
    :                                        ^
 29 |                 </apply>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                     <ci>x</ci>
 28 |                     <cn type="integer">2</cn>
    :                                        ^
 29 |                 </apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                         <ci>x</ci>
 28 | ,->                     <cn type="integer">2</cn>
 29 | `->                 </apply>
 30 |                     <ci>y</ci>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:28:1]
 27 |                         <ci>x</ci>
 28 | ,->                     <cn type="integer">2</cn>
 29 | `->                 </apply>
 30 |                     <ci>y</ci>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:29:1]
 28 |                         <cn type="integer">2</cn>
 29 | ,->                 </apply>
 30 | `->                 <ci>y</ci>
 31 |                 </apply>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:29:1]
 28 |                         <cn type="integer">2</cn>
 29 | ,->                 </apply>
 30 | `->                 <ci>y</ci>
 31 |                 </apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:30:1]
 29 |                 </apply>
 30 |                 <ci>y</ci>
    :                 ^^^^^^^^^^
 31 |             </apply>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:30:1]
 29 |                 </apply>
 30 |                 <ci>y</ci>
    :                 ^^^^^^^^^^
 31 |             </apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:30:1]
 29 |                 </apply>
 30 |                 <ci>y</ci>
    :                     ^
 31 |             </apply>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:30:1]
 29 |                 </apply>
 30 |                 <ci>y</ci>
    :                     ^
 31 |             </apply>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:30:1]
 29 |                     </apply>
 30 | ,->                 <ci>y</ci>
 31 | `->             </apply>
 32 |             </annotation-xml>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:30:1]
 29 |                     </apply>
 30 | ,->                 <ci>y</ci>
 31 | `->             </apply>
 32 |             </annotation-xml>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:31:1]
 30 |                     <ci>y</ci>
 31 | ,->             </apply>
 32 | `->         </annotation-xml>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:31:1]
 30 |                     <ci>y</ci>
 31 | ,->             </apply>
 32 | `->         </annotation-xml>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:32:1]
 31 |                 </apply>
 32 | ,->         </annotation-xml>
 33 | |   
 34 | `->         <!-- Content HTML -->
 35 |             <annotation-xml encoding="application/xhtml+xml">
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:32:1]
 31 |                 </apply>
 32 | ,->         </annotation-xml>
 33 | |   
 34 | `->         <!-- Content HTML -->
 35 |             <annotation-xml encoding="application/xhtml+xml">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:34:1]
 33 | 
 34 |         <!-- Content HTML -->
    :         ^^^^^^^^^^^^^^^^^^^^^
 35 |         <annotation-xml encoding="application/xhtml+xml">
    `----
  x Comment
    ,-[$DIR/tests/recovery/element/math/input.html:34:1]
 33 | 
 34 |         <!-- Content HTML -->
    :         ^^^^^^^^^^^^^^^^^^^^^
 35 |         <annotation-xml encoding="application/xhtml+xml">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:34:1]
 33 |     
 34 | ,->         <!-- Content HTML -->
 35 | `->         <annotation-xml encoding="application/xhtml+xml">
 36 |                 <html xmlns="http://www.w3.org/1999/xhtml">
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:34:1]
 33 |     
 34 | ,->         <!-- Content HTML -->
 35 | `->         <annotation-xml encoding="application/xhtml+xml">
 36 |                 <html xmlns="http://www.w3.org/1999/xhtml">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:35:1]
 34 |             <!-- Content HTML -->
 35 | ,->         <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | `->         </annotation-xml>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:35:1]
 34 |             <!-- Content HTML -->
 35 | ,->         <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | |               <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | |               <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | `->         </annotation-xml>
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:35:1]
 34 |         <!-- Content HTML -->
 35 |         <annotation-xml encoding="application/xhtml+xml">
    :                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 36 |             <html xmlns="http://www.w3.org/1999/xhtml">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:35:1]
 34 |             <!-- Content HTML -->
 35 | ,->         <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | `->             <head><title>INNER HTML TITLE</title></head>
 38 |                 <body>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:35:1]
 34 |             <!-- Content HTML -->
 35 | ,->         <annotation-xml encoding="application/xhtml+xml">
 36 | |               <html xmlns="http://www.w3.org/1999/xhtml">
 37 | `->             <head><title>INNER HTML TITLE</title></head>
 38 |                 <body>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:37:1]
 36 |             <html xmlns="http://www.w3.org/1999/xhtml">
 37 |             <head><title>INNER HTML TITLE</title></head>
    :                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 38 |             <body>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:37:1]
 36 |             <html xmlns="http://www.w3.org/1999/xhtml">
 37 |             <head><title>INNER HTML TITLE</title></head>
    :                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 38 |             <body>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:37:1]
 36 |             <html xmlns="http://www.w3.org/1999/xhtml">
 37 |             <head><title>INNER HTML TITLE</title></head>
    :                          ^^^^^^^^^^^^^^^^
 38 |             <body>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:37:1]
 36 |             <html xmlns="http://www.w3.org/1999/xhtml">
 37 |             <head><title>INNER HTML TITLE</title></head>
    :                          ^^^^^^^^^^^^^^^^
 38 |             <body>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:37:1]
 36 |                 <html xmlns="http://www.w3.org/1999/xhtml">
 37 | ,->             <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | `->             <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 |                 </body>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:37:1]
 36 |                 <html xmlns="http://www.w3.org/1999/xhtml">
 37 | ,->             <head><title>INNER HTML TITLE</title></head>
 38 | |               <body>
 39 | `->             <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 |                 </body>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:39:1]
 38 |             <body>
 39 |             <p>The base of the natural logarithms, approximately 2.71828.</p>
    :             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 40 |             </body>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:39:1]
 38 |             <body>
 39 |             <p>The base of the natural logarithms, approximately 2.71828.</p>
    :             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 40 |             </body>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:39:1]
 38 |             <body>
 39 |             <p>The base of the natural logarithms, approximately 2.71828.</p>
    :                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 40 |             </body>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:39:1]
 38 |             <body>
 39 |             <p>The base of the natural logarithms, approximately 2.71828.</p>
    :                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 40 |             </body>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:39:1]
 38 |                 <body>
 39 | ,->             <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | `->         </annotation-xml>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:39:1]
 38 |                 <body>
 39 | ,->             <p>The base of the natural logarithms, approximately 2.71828.</p>
 40 | |               </body>
 41 | |               </html>
 42 | `->         </annotation-xml>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:42:1]
 41 |                 </html>
 42 | ,->         </annotation-xml>
 43 | |   
 44 | `->         <!-- annotate an image -->
 45 |             <annotation encoding="image/png" src="some/path/formula.png"/>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:42:1]
 41 |                 </html>
 42 | ,->         </annotation-xml>
 43 | |   
 44 | `->         <!-- annotate an image -->
 45 |             <annotation encoding="image/png" src="some/path/formula.png"/>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:44:1]
 43 | 
 44 |         <!-- annotate an image -->
    :         ^^^^^^^^^^^^^^^^^^^^^^^^^^
 45 |         <annotation encoding="image/png" src="some/path/formula.png"/>
    `----
  x Comment
    ,-[$DIR/tests/recovery/element/math/input.html:44:1]
 43 | 
 44 |         <!-- annotate an image -->
    :         ^^^^^^^^^^^^^^^^^^^^^^^^^^
 45 |         <annotation encoding="image/png" src="some/path/formula.png"/>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:44:1]
 43 |     
 44 | ,->         <!-- annotate an image -->
 45 | `->         <annotation encoding="image/png" src="some/path/formula.png"/>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:44:1]
 43 |     
 44 | ,->         <!-- annotate an image -->
 45 | `->         <annotation encoding="image/png" src="some/path/formula.png"/>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:45:1]
 44 |         <!-- annotate an image -->
 45 |         <annotation encoding="image/png" src="some/path/formula.png"/>
    :         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:45:1]
 44 |         <!-- annotate an image -->
 45 |         <annotation encoding="image/png" src="some/path/formula.png"/>
    :         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:45:1]
 44 |         <!-- annotate an image -->
 45 |         <annotation encoding="image/png" src="some/path/formula.png"/>
    :                     ^^^^^^^^^^^^^^^^^^^^
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:45:1]
 44 |         <!-- annotate an image -->
 45 |         <annotation encoding="image/png" src="some/path/formula.png"/>
    :                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:45:1]
 44 |             <!-- annotate an image -->
 45 | ,->         <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | `->         <!-- annotate TeX -->
 48 |             <annotation encoding="application/x-tex">
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:45:1]
 44 |             <!-- annotate an image -->
 45 | ,->         <annotation encoding="image/png" src="some/path/formula.png"/>
 46 | |   
 47 | `->         <!-- annotate TeX -->
 48 |             <annotation encoding="application/x-tex">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:47:1]
 46 | 
 47 |         <!-- annotate TeX -->
    :         ^^^^^^^^^^^^^^^^^^^^^
 48 |         <annotation encoding="application/x-tex">
    `----
  x Comment
    ,-[$DIR/tests/recovery/element/math/input.html:47:1]
 46 | 
 47 |         <!-- annotate TeX -->
    :         ^^^^^^^^^^^^^^^^^^^^^
 48 |         <annotation encoding="application/x-tex">
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:47:1]
 46 |     
 47 | ,->         <!-- annotate TeX -->
 48 | `->         <annotation encoding="application/x-tex">
 49 |                 x^{2} + y
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:47:1]
 46 |     
 47 | ,->         <!-- annotate TeX -->
 48 | `->         <annotation encoding="application/x-tex">
 49 |                 x^{2} + y
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:48:1]
 47 |             <!-- annotate TeX -->
 48 | ,->         <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | `->         </annotation>
    `----
  x Element
    ,-[$DIR/tests/recovery/element/math/input.html:48:1]
 47 |             <!-- annotate TeX -->
 48 | ,->         <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | `->         </annotation>
    `----
  x Attribute
    ,-[$DIR/tests/recovery/element/math/input.html:48:1]
 47 |         <!-- annotate TeX -->
 48 |         <annotation encoding="application/x-tex">
    :                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 49 |             x^{2} + y
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:48:1]
 47 |             <!-- annotate TeX -->
 48 | ,->         <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | `->         </annotation>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:48:1]
 47 |             <!-- annotate TeX -->
 48 | ,->         <annotation encoding="application/x-tex">
 49 | |               x^{2} + y
 50 | `->         </annotation>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:50:1]
 49 |                 x^{2} + y
 50 | ,->         </annotation>
 51 | |   
 52 | `->     </semantics>
 53 |     </math>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:50:1]
 49 |                 x^{2} + y
 50 | ,->         </annotation>
 51 | |   
 52 | `->     </semantics>
 53 |     </math>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:52:1]
 51 | 
 52 |     </semantics>
    :                 ^
 53 | </math>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:52:1]
 51 | 
 52 |     </semantics>
    :                 ^
 53 | </math>
    `----
  x Child
    ,-[$DIR/tests/recovery/element/math/input.html:53:1]
 52 |         </semantics>
 53 | ,-> </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
  x Text
    ,-[$DIR/tests/recovery/element/math/input.html:53:1]
 52 |         </semantics>
 53 | ,-> </math>
 54 | |   
 55 | |   </body>
 56 | `-> </html>
    `----
