<!doctype html>
<html>
  <head>
    <title>mroot transform (bug 126516)</title>
  </head>
  <body>

    <!-- This cubic root should be translated to the left... -->
    <div style="position: absolute; top: 0; left: 0;">
      <svg>
        <g transform="translate(200,0)">
          <switch>
            <foreignObject width="100" height="100">
              <math>
                <mroot><mi>x</mi><mn>3</mn></mroot>
              </math>
            </foreignObject>
          </switch>
        </g>
      </svg>
    </div>

    <!-- ... and thus hidden by this red rectangle. -->
    <div style="position: absolute; top: 0; left: 0;">
      <svg>
        <g transform="translate(200,0)">
          <rect width="100" height="100" fill="red"/>
        </g>
      </svg>
    </div>

  </body>
</html>
