<!doctype html>
<html>
  <head>
    <title>Large Stretchy Operator</title>
    <meta charset="utf-8"/>
    <style>
      span { display: inline-block; width: 10px; background: red; }
    </style>
    <script>
      if (window.testRunner)
        testRunner.dumpAsText();
    </script>
  </head>
  <body>

    <p>This test should not timeout.</p>

    <math>
      <mfenced>
        <mrow>
          <mo>[</mo>
          <mfenced>
            <mrow>
              <mo>[</mo>
              <mfenced>
                <mrow>
                  <mo>[</mo>
                  <mfenced>
                    <mrow>
                      <mo>[</mo>
                      <mfenced>
                        <mrow>
                          <mo>[</mo>
                          <mfenced>
                            <mrow>
                              <mo>[</mo>
                              <mfenced>
                                <mrow>
                                  <mo>[</mo>
                                  <mfenced>
                                    <mrow>
                                      <mo>[</mo>
                                      <mfenced>
                                        <mrow>
                                          <mo>[</mo>
                                          <mfenced>
                                            <mrow>
                                              <mo>[</mo>
                                              <mtext><span height="2500px"></span></mtext>
                                              <mo>]</mo>
                                            </mrow>
                                            <mtext><span style="height: 5000px"></span></mtext>
                                          </mfenced>
                                          <mo>]</mo>
                                        </mrow>
                                        <mtext><span style="height: 20000px"></span></mtext>
                                      </mfenced>
                                      <mo>]</mo>
                                    </mrow>
                                    <mtext><span style="height: 40000px"></span></mtext>
                                  </mfenced>
                                  <mo>]</mo>
                                </mrow>
                                <mtext><span style="height: 80000px"></span></mtext>
                              </mfenced>
                              <mo>]</mo>
                            </mrow>
                            <mtext><span style="height: 160000px"></span></mtext>
                          </mfenced>
                          <mo>]</mo>
                        </mrow>
                        <mtext><span style="height: 320000px"></span></mtext>
                      </mfenced>
                      <mo>]</mo>
                    </mrow>
                    <mtext><span style="height: 640000px"></span></mtext>
                  </mfenced>
                  <mo>]</mo>
                </mrow>
                <mtext><span style="height: 1280000px"></span></mtext>
              </mfenced>
              <mo>]</mo>
            </mrow>
            <mtext><span style="height: 2560000px"></span></mtext>
          </mfenced>
          <mtext><span style="height: 5120000px"></span></mtext>
          <mo>]</mo>
        </mrow>
        <mtext><span style="height: 10240000px"></span></mtext>
      </mfenced>
    </math>

  </body>
</html>
