Home
last modified time | relevance | path

Searched refs:CSS_EMS (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableLengthTest.cpp106 …E(AnimatableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_EMS).get())); in TEST_F()
129 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_EMS).get())); in TEST_F()
156 EXPECT_ROUNDTRIP(CSSPrimitiveValue::create(-5, CSSPrimitiveValue::CSS_EMS), toCSSValue); in TEST_F()
237 RefPtr<AnimatableLength> from10em = create(10, CSSPrimitiveValue::CSS_EMS); in TEST_F()
239 EXPECT_REFV_EQ(create(15, CSSPrimitiveValue::CSS_EMS, -10, CSSPrimitiveValue::CSS_REMS), in TEST_F()
241 EXPECT_REFV_EQ(create(10, CSSPrimitiveValue::CSS_EMS), in TEST_F()
243 EXPECT_REFV_EQ(create(6, CSSPrimitiveValue::CSS_EMS, 8, CSSPrimitiveValue::CSS_REMS), in TEST_F()
245 EXPECT_REFV_EQ(create(5, CSSPrimitiveValue::CSS_EMS, 10, CSSPrimitiveValue::CSS_REMS), in TEST_F()
247 EXPECT_REFV_EQ(create(4, CSSPrimitiveValue::CSS_EMS, 12, CSSPrimitiveValue::CSS_REMS), in TEST_F()
251 EXPECT_REFV_EQ(create(-5, CSSPrimitiveValue::CSS_EMS, 30, CSSPrimitiveValue::CSS_REMS), in TEST_F()
[all …]
DAnimatableLength.cpp184 case CSSPrimitiveValue::CSS_EMS: in primitiveUnitToNumberType()
219 return CSSPrimitiveValue::CSS_EMS; in numberTypeToPrimitiveUnit()
DAnimatableValueTestHelperTest.cpp87 … AnimatableLength::create(CSSPrimitiveValue::create(2, CSSPrimitiveValue::CSS_EMS).get()), in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSPrimitiveValue.h73 CSS_EMS = 3, enumerator
165 return m_primitiveUnitType == CSS_EMS in isFontRelativeLength()
173 return (type >= CSS_EMS && type <= CSS_PC) || type == CSS_REMS || type == CSS_CHS; in isLength()
DCSSParserValues.cpp100 return CSSPrimitiveValue::createAllowingMarginQuirk(fValue, CSSPrimitiveValue::CSS_EMS); in createCSSValue()
116 case CSSPrimitiveValue::CSS_EMS: in createCSSValue()
DCSSPrimitiveValue.cpp65 case CSSPrimitiveValue::CSS_EMS: in isValidCSSUnitTypeForDoubleConversion()
459 case CSS_EMS: in cleanup()
567 case CSS_EMS: in computeLengthDouble()
922 case CSS_EMS: in customCSSText()
1219 case CSS_EMS: in cloneForCSSOM()
1281 case CSS_EMS: in equals()
DCSSPrimitiveValue.idl27 const unsigned short CSS_EMS = 3;
DMediaQueryExp.cpp82 …if (!(((value->unit >= CSSPrimitiveValue::CSS_EMS && value->unit <= CSSPrimitiveValue::CSS_PC) || … in featureWithValidPositiveLenghtOrNumber()
DCSSCalculationValue.cpp58 case CSSPrimitiveValue::CSS_EMS: in unitCategory()
82 case CSSPrimitiveValue::CSS_EMS: in hasDoubleValue()
DSVGCSSParser.cpp315 …sedValue = CSSPrimitiveValue::createAllowingMarginQuirk(value->fValue, CSSPrimitiveValue::CSS_EMS); in parseSVGValue()
DCSSGrammar.y1755 | EMS { $$.setFromNumber($1, CSSPrimitiveValue::CSS_EMS); }
DCSSParser-in.cpp1454 case CSSPrimitiveValue::CSS_EMS: in validUnit()
1579 … return CSSPrimitiveValue::createAllowingMarginQuirk(value->fValue, CSSPrimitiveValue::CSS_EMS); in parseValidPrimitive()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGLength.cpp317 case CSSPrimitiveValue::CSS_EMS: in fromCSSPrimitiveValue()
372 cssType = CSSPrimitiveValue::CSS_EMS; in toCSSPrimitiveValue()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DStyleBuilderCustom.cpp1443 …width = CSSPrimitiveValue::create(result, CSSPrimitiveValue::CSS_EMS)->computeLength<float>(state.… in oldApplyProperty()