Skip to content
  • darin@apple.com's avatar
    JavaScriptCore: Additions so fix for https://bugs.webkit.org/show_bug.cgi?id=18994 · 418fa48e
    darin@apple.com authored
    can build on Windows.
    
    Patch by Darin Adler <darin@apple.com> on 2009-10-14
    * wtf/MathExtras.h: Added llround and llroundf for Windows.
    
    WebCore: Stringify CSS units manually (without printf) to make the formatting
    locale-insensitive and obey CSS spec with respect to large values.
            
    Patch by Evan Martin <evan@chromium.org> on 2009-10-14
    Reviewed by Darin Adler.
    
    https://bugs.webkit.org/show_bug.cgi?id=18994
    
    * css/CSSPrimitiveValue.cpp:
    (WebCore::appendCSSDouble):
    (WebCore::formatWithUnits):
    (WebCore::CSSPrimitiveValue::cssText):
    
    LayoutTests: Float formatting changes affect three tests:
    - large-number-round-trip now passes
    - opacity-float now passes and has more test cases
    - compound-2d-transforms output tweaked slightly
            
    Patch by Evan Martin <evan@chromium.org> on 2009-10-14
    Reviewed by Darin Adler.
    
    https://bugs.webkit.org/show_bug.cgi?id=18994
    
    * fast/css/large-number-round-trip-expected.txt:
    * fast/css/opacity-float-expected.txt:
    * fast/css/opacity-float.html:
    * platform/mac/fast/css/opacity-float-expected.txt: Removed.
    * transforms/2d/compound-2d-transforms-expected.txt:
    * transforms/2d/compound-2d-transforms.html:
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    418fa48e