JavaScriptCore: Additions so fix for https://bugs.webkit.org/show_bug.cgi?id=18994
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Oct 2009 21:45:27 +0000 (21:45 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 14 Oct 2009 21:45:27 +0000 (21:45 +0000)
commit92a9d1aa1b1bc5130ff558003fe261d7fbf255d0
tree63ee7312e57134d57c8fd9a6704c7e32495bb7f0
parent70449770337fccf69c78d269c8b9ce3cd90ca066
JavaScriptCore: Additions so fix for https://bugs.webkit.org/show_bug.cgi?id=18994
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: https://svn.webkit.org/repository/webkit/trunk@49585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/wtf/MathExtras.h
LayoutTests/ChangeLog
LayoutTests/fast/css/large-number-round-trip-expected.txt
LayoutTests/fast/css/opacity-float-expected.txt
LayoutTests/fast/css/opacity-float.html
LayoutTests/transforms/2d/compound-2d-transforms-expected.txt
LayoutTests/transforms/2d/compound-2d-transforms.html
WebCore/ChangeLog
WebCore/css/CSSPrimitiveValue.cpp