<html>
  <head>
    <script>
      if (window.testRunner)
      testRunner.dumpAsText();
    </script>
  </head>
  <body>
    <p>This test passes if it does not crash.</p>
    <div style="font-size: 900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000%;">fontsize aaa</div>

    <svg xmlns="http://www.w3.org/2000/svg">
       <text y="150" font-size="8E+2%">fontsize bbb</text>
    </svg>

    <span style="line-height:900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000%">
    line-height
    </span>
  </body>
</html>
