Index: Source/core/css/ComputedStyleCSSValueMapping.cpp |
diff --git a/Source/core/css/ComputedStyleCSSValueMapping.cpp b/Source/core/css/ComputedStyleCSSValueMapping.cpp |
index 8568bdd0f917eb31ecf3df7a7b588210068770f9..06fa017c5f3c2e22a1b6f5a94e67795d9a40c9b7 100644 |
--- a/Source/core/css/ComputedStyleCSSValueMapping.cpp |
+++ b/Source/core/css/ComputedStyleCSSValueMapping.cpp |
@@ -2094,7 +2094,7 @@ PassRefPtrWillBeRawPtr<CSSValue> ComputedStyleCSSValueMapping::get(CSSPropertyID |
case CSSPropertyZIndex: |
if (style.hasAutoZIndex()) |
return cssValuePool().createIdentifierValue(CSSValueAuto); |
- return cssValuePool().createValue(style.zIndex(), CSSPrimitiveValue::CSS_NUMBER); |
+ return cssValuePool().createValue(style.zIndex(), CSSPrimitiveValue::CSS_INTEGER); |
case CSSPropertyZoom: |
return cssValuePool().createValue(style.zoom(), CSSPrimitiveValue::CSS_NUMBER); |
case CSSPropertyBoxSizing: |