Index: Source/core/css/CSSPrimitiveValueMappings.h |
diff --git a/Source/core/css/CSSPrimitiveValueMappings.h b/Source/core/css/CSSPrimitiveValueMappings.h |
index c88c0e42b56f3ebae69e895b4f81e0bc27733af2..81cc27051ea9436b23129e4323b396929f064d55 100644 |
--- a/Source/core/css/CSSPrimitiveValueMappings.h |
+++ b/Source/core/css/CSSPrimitiveValueMappings.h |
@@ -4434,7 +4434,6 @@ enum LengthConversion { |
FixedFloatConversion = 1 << 1, |
AutoConversion = 1 << 2, |
PercentConversion = 1 << 3, |
- FractionConversion = 1 << 4, |
}; |
template<int supported> Length CSSPrimitiveValue::convertToLength(const RenderStyle* style, const RenderStyle* rootStyle, double multiplier, bool computingFontSize) |
@@ -4448,8 +4447,6 @@ template<int supported> Length CSSPrimitiveValue::convertToLength(const RenderSt |
return Length(computeLength<double>(style, rootStyle, multiplier), Fixed); |
if ((supported & PercentConversion) && isPercentage()) |
return Length(getDoubleValue(), Percent); |
- if ((supported & FractionConversion) && isNumber()) |
- return Length(getDoubleValue() * 100.0, Percent); |
if ((supported & AutoConversion) && getValueID() == CSSValueAuto) |
return Length(Auto); |
if ((supported & (FixedIntegerConversion | FixedFloatConversion)) && (supported & PercentConversion) && isCalculated()) |