| Index: Source/core/css/CSSPrimitiveValue.h
|
| diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h
|
| index 9768cfd9791bcd20b48ba9b9f127e0b9bbd7a3a4..243f0a3641d69a8bf33e6677ae7846a260c257f2 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; }
|
|
|
|
|