| Index: Source/core/css/CSSPrimitiveValue.h
|
| diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h
|
| index 79c8feaf5066f1f49237e1b5b65dbb012f7555d8..09c427f6729ccb707e63b703e4e7d139596c48fb 100644
|
| --- a/Source/core/css/CSSPrimitiveValue.h
|
| +++ b/Source/core/css/CSSPrimitiveValue.h
|
| @@ -144,7 +144,6 @@ public:
|
| UAngle,
|
| UTime,
|
| UFrequency,
|
| - UViewportPercentageLength,
|
| UResolution,
|
| UOther
|
| };
|
| @@ -170,7 +169,7 @@ public:
|
| bool isLength() const
|
| {
|
| unsigned short type = primitiveType();
|
| - return (type >= CSS_EMS && type <= CSS_PC) || type == CSS_REMS || type == CSS_CHS;
|
| + return (type >= CSS_EMS && type <= CSS_PC) || type == CSS_REMS || type == CSS_CHS || isViewportPercentageLength();
|
| }
|
| bool isNumber() const { return primitiveType() == CSS_NUMBER; }
|
| bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; }
|
| @@ -313,8 +312,6 @@ public:
|
|
|
| bool isQuirkValue() { return m_isQuirkValue; }
|
|
|
| - Length viewportPercentageLength();
|
| -
|
| PassRefPtr<CSSPrimitiveValue> cloneForCSSOM() const;
|
| void setCSSOMSafe() { m_isCSSOMSafe = true; }
|
|
|
|
|