Home
last modified time | relevance | path

Searched refs:m_primitiveUnitType (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSPrimitiveValue.h174 return m_primitiveUnitType == CSS_DEG in isAngle()
175 || m_primitiveUnitType == CSS_RAD in isAngle()
176 || m_primitiveUnitType == CSS_GRAD in isAngle()
177 || m_primitiveUnitType == CSS_TURN; in isAngle()
179 bool isAttr() const { return m_primitiveUnitType == CSS_ATTR; } in isAttr()
180 bool isCounter() const { return m_primitiveUnitType == CSS_COUNTER; } in isCounter()
181 …bool isFontIndependentLength() const { return m_primitiveUnitType >= CSS_PX && m_primitiveUnitType in isFontIndependentLength()
184 return m_primitiveUnitType == CSS_EMS in isFontRelativeLength()
185 || m_primitiveUnitType == CSS_EXS in isFontRelativeLength()
186 || m_primitiveUnitType == CSS_REMS in isFontRelativeLength()
[all …]
DCSSPrimitiveValue.cpp212 if (m_primitiveUnitType == CSS_PROPERTY_ID || m_primitiveUnitType == CSS_VALUE_ID) in primitiveType()
215 if (m_primitiveUnitType != CSS_CALC) in primitiveType()
216 return static_cast<UnitType>(m_primitiveUnitType); in primitiveType()
270 m_primitiveUnitType = CSS_VALUE_ID; in CSSPrimitiveValue()
277 m_primitiveUnitType = CSS_PROPERTY_ID; in CSSPrimitiveValue()
284 m_primitiveUnitType = type; in CSSPrimitiveValue()
292 m_primitiveUnitType = type; in CSSPrimitiveValue()
308 m_primitiveUnitType = CSS_RGBCOLOR; in CSSPrimitiveValue()
317 m_primitiveUnitType = CSS_VALUE_ID; in CSSPrimitiveValue()
321 m_primitiveUnitType = CSS_VALUE_ID; in CSSPrimitiveValue()
[all …]
DCSSPrimitiveValueMappings.h59 m_primitiveUnitType = CSS_NUMBER; in CSSPrimitiveValue()
72 m_primitiveUnitType = CSS_NUMBER; in CSSPrimitiveValue()
98 m_primitiveUnitType = CSS_NUMBER; in CSSPrimitiveValue()
111 m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; in CSSPrimitiveValue()
117 if (m_primitiveUnitType == CSS_NUMBER) in LineClampValue()
120 if (m_primitiveUnitType == CSS_PERCENTAGE) in LineClampValue()
130 m_primitiveUnitType = CSS_VALUE_ID; in CSSPrimitiveValue()
169 m_primitiveUnitType = CSS_VALUE_ID; in CSSPrimitiveValue()
182 if (m_primitiveUnitType == CSS_VALUE_ID) { in ColumnFill()
195 m_primitiveUnitType = CSS_VALUE_ID; in CSSPrimitiveValue()
[all …]
DCSSValue.h187 , m_primitiveUnitType(0) in m_isCSSOMSafe()
210 unsigned m_primitiveUnitType : 7; // CSSPrimitiveValue::UnitType variable