Changeset 49254 in webkit


Ignore:
Timestamp:
Oct 7, 2009 11:10:26 AM (15 years ago)
Author:
eric@webkit.org
Message:

2009-10-07 Evan Martin <evan@chromium.org>

Reviewed by Simon Fraser.

Add a currently-failing test exhibiting the problem in
https://bugs.webkit.org/show_bug.cgi?id=20674:

When converting very large or small numbers back to strings, exponential
notation is used, so a value like 90010000px is returned from
getComputedStyle() as 9.001e+07px.

9.001e+07px does not parse, so such a value cannot be round-tripped.

This is a particular problem with tranformation matrices, which can often
contain very large or small numbers.

(Test written by Simon Fraser; I've just made it a committable patch.)

  • fast/css/large-number-round-trip-expected.txt: Added.
  • fast/css/large-number-round-trip.html: Added.
Location:
trunk/LayoutTests
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r49253 r49254  
     12009-10-07  Evan Martin  <evan@chromium.org>
     2
     3        Reviewed by Simon Fraser.
     4
     5        Add a currently-failing test exhibiting the problem in
     6        https://bugs.webkit.org/show_bug.cgi?id=20674:
     7
     8        When converting very large or small numbers back to strings, exponential
     9        notation is used, so a value like 90010000px is returned from
     10        getComputedStyle() as 9.001e+07px.
     11
     12        9.001e+07px does not parse, so such a value cannot be round-tripped.
     13
     14        This is a particular problem with tranformation matrices, which can often
     15        contain very large or small numbers.
     16
     17        (Test written by Simon Fraser; I've just made it a committable patch.)
     18
     19        * fast/css/large-number-round-trip-expected.txt: Added.
     20        * fast/css/large-number-round-trip.html: Added.
     21
    1222009-10-07  Evan Martin  <evan@chromium.org>
    223
Note: See TracChangeset for help on using the changeset viewer.