Serialize <number> to round to at most 6 decimals
commit117131d5506b4e55fb51d17ea0cb60addfcfbdf3
authorrob.buis@samsung.com <rob.buis@samsung.com>
Thu, 21 May 2015 16:54:21 +0000 (21 16:54 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Thu, 21 May 2015 16:54:21 +0000 (21 16:54 +0000)
tree8fcd4067d714d6bd2a7924bd11ed629e6c7109fa
parent58c0b17cca55a853471f5c157d6329f09010ab4c
Serialize <number> to round to at most 6 decimals

Serialize <number> to round to at most 6 decimals and
don't serialize trailing zeroes.
Rebase test results to reflect this change in behavior.

Behavior matches Firefox.

BUG=453288

Review URL: https://codereview.chromium.org/1120133004

git-svn-id: svn://svn.chromium.org/blink/trunk@195702 bbb929c8-8fbe-4397-9dbb-9b2b20218538
18 files changed:
third_party/WebKit/LayoutTests/animations/interpolation/filter-interpolation-expected.txt
third_party/WebKit/LayoutTests/css-parser/scientific-notation.html
third_party/WebKit/LayoutTests/css3/calc/font-size-fractional-expected.txt
third_party/WebKit/LayoutTests/css3/calc/simplification-expected.txt
third_party/WebKit/LayoutTests/css3/filters/filter-property-computed-style-expected.txt
third_party/WebKit/LayoutTests/css3/filters/script-tests/filter-property-computed-style.js
third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-margin-percentage-expected.txt
third_party/WebKit/LayoutTests/fast/css/large-number-round-trip-expected.txt
third_party/WebKit/LayoutTests/fast/css/large-numbers-expected.txt
third_party/WebKit/LayoutTests/fast/css/large-numbers.html
third_party/WebKit/LayoutTests/fast/css/round-trip-values-expected.txt
third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-margin-002-expected.txt [new file with mode: 0644]
third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-inset-001-expected.txt [new file with mode: 0644]
third_party/WebKit/LayoutTests/svg/hittest/rect-miterlimit.html
third_party/WebKit/LayoutTests/svg/zoom/xy-getcomputedstyle.html
third_party/WebKit/LayoutTests/transforms/transform-inherit-initial-unprefixed-expected.txt
third_party/WebKit/LayoutTests/transforms/transform-inherit-initial-unprefixed.html
third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp