Home
last modified time | relevance | path

Searched refs:CSS_PERCENTAGE (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/animation/
DAnimatableLengthTest.cpp109 …tableLength::canCreateFrom(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get())); in TEST_F()
132 EXPECT_TRUE(static_cast<bool>(create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get())); in TEST_F()
159 EXPECT_ROUNDTRIP(CSSPrimitiveValue::create(-5, CSSPrimitiveValue::CSS_PERCENTAGE), toCSSValue); in TEST_F()
177 …EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionD… in TEST_F()
178 …EXPECT_EQ(Length(-5, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionD… in TEST_F()
179 …EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDa… in TEST_F()
180 …EXPECT_EQ(Length(0, Percent), create(-5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionDa… in TEST_F()
189 …create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionD… in TEST_F()
197 …create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionD… in TEST_F()
205 …create(-5, CSSPrimitiveValue::CSS_PX, -5, CSSPrimitiveValue::CSS_PERCENTAGE)->toLength(conversionD… in TEST_F()
[all …]
DAnimatableLength.cpp193 case CSSPrimitiveValue::CSS_PERCENTAGE: in primitiveUnitToNumberType()
225 return CSSPrimitiveValue::CSS_PERCENTAGE; in numberTypeToPrimitiveUnit()
DAnimatableValueTestHelperTest.cpp95 … AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get()), in TEST_F()
/external/chromium_org/third_party/WebKit/Source/core/css/
DCSSPrimitiveValue.cpp74 case CSSPrimitiveValue::CSS_PERCENTAGE: in isValidCSSUnitTypeForDoubleConversion()
123 case CSS_PERCENTAGE: in unitCategory()
190 return CSS_PERCENTAGE; in primitiveType()
348 m_primitiveUnitType = CSS_PERCENTAGE; in init()
458 case CSS_PERCENTAGE: in cleanup()
919 case CSS_PERCENTAGE: in customCSSText()
1218 case CSS_PERCENTAGE: in cloneForCSSOM()
1280 case CSS_PERCENTAGE: in equals()
DCSSValuePool.cpp103 case CSSPrimitiveValue::CSS_PERCENTAGE: in createValue()
DCSSPrimitiveValue.h72 CSS_PERCENTAGE = 2, enumerator
176 bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; } in isPercentage()
DCSSPrimitiveValue.idl26 const unsigned short CSS_PERCENTAGE = 2;
DCSSParserValues.cpp115 case CSSPrimitiveValue::CSS_PERCENTAGE: in createCSSValue()
DCSSCalculationValue.cpp56 case CSSPrimitiveValue::CSS_PERCENTAGE: in unitCategory()
81 case CSSPrimitiveValue::CSS_PERCENTAGE: in hasDoubleValue()
DCSSParser-in.cpp405 unit = CSSPrimitiveValue::CSS_PERCENTAGE; in parseSimpleLength()
1450 case CSSPrimitiveValue::CSS_PERCENTAGE: in validUnit()
2491 …validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && va… in parseValue()
3632 return cssValuePool().createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPositionX()
3648 return cssValuePool().createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPositionY()
3685 return cssValuePool().createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPositionComponent()
3802 …ierValue(firstPositionKeyword), cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE)); in parse3ValuesFillPosition()
3814 …erValue(secondPositionKeyword), cssValuePool().createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE)); in parse3ValuesFillPosition()
3828 firstPositionValue = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PERCENTAGE); in parse3ValuesFillPosition()
3836 secondPositionValue = cssValuePool().createValue(0, CSSPrimitiveValue::CSS_PERCENTAGE); in parse3ValuesFillPosition()
[all …]
DCSSComputedStyleDeclaration.cpp421 …= cssValuePool().createValue(image.imageSlices().top().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImageSlice()
432 …cssValuePool().createValue(image.imageSlices().right().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImageSlice()
441 …ssValuePool().createValue(image.imageSlices().bottom().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImageSlice()
449 … cssValuePool().createValue(image.imageSlices().left().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImageSlice()
579 …et = cssValuePool().createValue(reflection->offset().percent(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForReflection()
668 …t->append(cssValuePool().createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); in valuesForBorderRadiusCorner()
672 …->append(cssValuePool().createValue(radius.height().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); in valuesForBorderRadiusCorner()
2121 …mp().value(), style->lineClamp().isPercentage() ? CSSPrimitiveValue::CSS_PERCENTAGE : CSSPrimitive… in getPropertyCSSValue()
DCSSGradientValue.cpp147 offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100; in addStops()
180 … stops[i].offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100; in addStops()
DCSSPrimitiveValueMappings.h125 m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; in CSSPrimitiveValue()
134 if (m_primitiveUnitType == CSS_PERCENTAGE) in LineClampValue()
DCSSGrammar.y1740 | PERCENTAGE { $$.setFromNumber($1, CSSPrimitiveValue::CSS_PERCENTAGE); }
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
DVTTRegion.cpp398 m_width, CSSPrimitiveValue::CSS_PERCENTAGE); in prepareRegionDisplayTree()
414 CSSPrimitiveValue::CSS_PERCENTAGE); in prepareRegionDisplayTree()
423 CSSPrimitiveValue::CSS_PERCENTAGE); in prepareRegionDisplayTree()
DVTTCue.cpp159 setInlineStyleProperty(CSSPropertyTop, position.second, CSSPrimitiveValue::CSS_PERCENTAGE); in applyCSSProperties()
162 setInlineStyleProperty(CSSPropertyLeft, position.first, CSSPrimitiveValue::CSS_PERCENTAGE); in applyCSSProperties()
166 …rty(CSSPropertyWidth, static_cast<double>(m_cue->getCSSSize()), CSSPrimitiveValue::CSS_PERCENTAGE); in applyCSSProperties()
170 …y(CSSPropertyHeight, static_cast<double>(m_cue->getCSSSize()), CSSPrimitiveValue::CSS_PERCENTAGE); in applyCSSProperties()
/external/chromium_org/third_party/WebKit/Source/core/html/shadow/
DProgressShadowElement.cpp90 setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
DMeterShadowElement.cpp136 setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
/external/chromium_org/third_party/WebKit/Source/core/svg/
DSVGLength.cpp314 case CSSPrimitiveValue::CSS_PERCENTAGE: in fromCSSPrimitiveValue()
369 cssType = CSSPrimitiveValue::CSS_PERCENTAGE; in toCSSPrimitiveValue()
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
DCSSToStyleMap.cpp603 return Length(value.getDoubleValue(CSSPrimitiveValue::CSS_PERCENTAGE), Percent); in toBorderImageLength()