[Webkit-unassigned] [Bug 127361] ASSERTION FAILED: std::isfinite(num) in WebCore::CSSPrimitiveValue::CSSPrimitiveValue

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 14 10:59:22 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=127361





--- Comment #14 from Martin Hodovan <hodovanmartin at gmail.com>  2014-02-14 10:56:35 PST ---
I have run the following test on Chrome, Firefox, Opera and all of them produced the same output: "aaa" remains small, "bbb" grows big. For some reason, normalized scientific notation can not be used to represent font-size values outside of SVG blocks. (Not sure if it is a bug or not.)

<html>
   <body>
    <div style="font-size:8E+2%">aaa</div>

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

I could only extend the previous test to non SVG values by using standard decimal notation.

<html>
  <body>
    <div style="font-size: 900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000%;">aaa    </div>

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

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list