| Index: Source/core/css/CSSPrimitiveValue.h
|
| diff --git a/Source/core/css/CSSPrimitiveValue.h b/Source/core/css/CSSPrimitiveValue.h
|
| index 6e785bc74e11817bc4ae1d5ca9be5dd0debcfc8e..0942536957c6420daa42a0aa468f35ac9396e1ec 100644
|
| --- a/Source/core/css/CSSPrimitiveValue.h
|
| +++ b/Source/core/css/CSSPrimitiveValue.h
|
| @@ -157,6 +157,7 @@ public:
|
| };
|
|
|
| typedef Vector<double, CSSPrimitiveValue::LengthUnitTypeCount> CSSLengthArray;
|
| + static void zeroLengthArray(CSSLengthArray&);
|
| void accumulateLengthArray(CSSLengthArray&, double multiplier = 1) const;
|
|
|
| // This enum follows the BisonCSSParser::Units enum augmented with UNIT_FREQUENCY for frequencies.
|
| @@ -191,6 +192,7 @@ public:
|
| || m_primitiveUnitType == CSS_REMS
|
| || m_primitiveUnitType == CSS_CHS;
|
| }
|
| + bool isViewportPercentageLength() const { return isViewportPercentageLength(static_cast<UnitType>(m_primitiveUnitType)); }
|
| static bool isViewportPercentageLength(UnitType type) { return type >= CSS_VW && type <= CSS_VMAX; }
|
| static bool isLength(UnitType type)
|
| {
|
|
|