Serialize zIndex as an integer
commit9a16bcafd925d028f910eb9882b0a60def1e5ef0
authorrob.buis@samsung.com <rob.buis@samsung.com>
Fri, 3 Jul 2015 03:13:27 +0000 (3 03:13 +0000)
committerrob.buis@samsung.com <rob.buis@samsung.com>
Fri, 3 Jul 2015 03:13:27 +0000 (3 03:13 +0000)
tree74c2c0b2917051f862261a4cdec589a0672217d3
parent34e4d9a4432cfcd70c24be9c9cb24320d6ab936c
Serialize zIndex as an integer

Serialize zIndex as an integer by adding CSS_INTEGER to UnitType, which
prints the CSSPrimitiveValue number as an integer. Before this patch
zIndex was serialized using scientific notation if that was the
shortest notation, causing the jquery specific problem in issue 503088.

BUG=501522, 503088

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

git-svn-id: svn://svn.chromium.org/blink/trunk@198254 bbb929c8-8fbe-4397-9dbb-9b2b20218538
third_party/WebKit/LayoutTests/fast/css/large-integer-value-serializing.html [new file with mode: 0644]
third_party/WebKit/Source/core/animation/DoubleStyleInterpolation.h
third_party/WebKit/Source/core/css/CSSCalculationValue.cpp
third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp
third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
third_party/WebKit/Source/core/css/ComputedStyleCSSValueMapping.cpp
third_party/WebKit/Source/core/css/parser/CSSPropertyParser.cpp