/external/chromium_org/third_party/WebKit/Source/core/animation/ |
D | AnimatableLengthTest.cpp | 109 …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 …]
|
D | AnimatableLength.cpp | 193 case CSSPrimitiveValue::CSS_PERCENTAGE: in primitiveUnitToNumberType() 225 return CSSPrimitiveValue::CSS_PERCENTAGE; in numberTypeToPrimitiveUnit()
|
D | AnimatableValueTestHelperTest.cpp | 95 … AnimatableLength::create(CSSPrimitiveValue::create(5, CSSPrimitiveValue::CSS_PERCENTAGE).get()), in TEST_F()
|
/external/chromium_org/third_party/WebKit/Source/core/css/ |
D | CSSPrimitiveValue.cpp | 74 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()
|
D | CSSValuePool.cpp | 103 case CSSPrimitiveValue::CSS_PERCENTAGE: in createValue()
|
D | CSSPrimitiveValue.h | 72 CSS_PERCENTAGE = 2, enumerator 176 bool isPercentage() const { return primitiveType() == CSS_PERCENTAGE; } in isPercentage()
|
D | CSSPrimitiveValue.idl | 26 const unsigned short CSS_PERCENTAGE = 2;
|
D | CSSParserValues.cpp | 115 case CSSPrimitiveValue::CSS_PERCENTAGE: in createCSSValue()
|
D | CSSCalculationValue.cpp | 56 case CSSPrimitiveValue::CSS_PERCENTAGE: in unitCategory() 81 case CSSPrimitiveValue::CSS_PERCENTAGE: in hasDoubleValue()
|
D | CSSParser-in.cpp | 405 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 …]
|
D | CSSComputedStyleDeclaration.cpp | 421 …= 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()
|
D | CSSGradientValue.cpp | 147 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()
|
D | CSSPrimitiveValueMappings.h | 125 m_primitiveUnitType = i.isPercentage() ? CSS_PERCENTAGE : CSS_NUMBER; in CSSPrimitiveValue() 134 if (m_primitiveUnitType == CSS_PERCENTAGE) in LineClampValue()
|
D | CSSGrammar.y | 1740 | PERCENTAGE { $$.setFromNumber($1, CSSPrimitiveValue::CSS_PERCENTAGE); }
|
/external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/ |
D | VTTRegion.cpp | 398 m_width, CSSPrimitiveValue::CSS_PERCENTAGE); in prepareRegionDisplayTree() 414 CSSPrimitiveValue::CSS_PERCENTAGE); in prepareRegionDisplayTree() 423 CSSPrimitiveValue::CSS_PERCENTAGE); in prepareRegionDisplayTree()
|
D | VTTCue.cpp | 159 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/ |
D | ProgressShadowElement.cpp | 90 setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
|
D | MeterShadowElement.cpp | 136 setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
D | SVGLength.cpp | 314 case CSSPrimitiveValue::CSS_PERCENTAGE: in fromCSSPrimitiveValue() 369 cssType = CSSPrimitiveValue::CSS_PERCENTAGE; in toCSSPrimitiveValue()
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
D | CSSToStyleMap.cpp | 603 return Length(value.getDoubleValue(CSSPrimitiveValue::CSS_PERCENTAGE), Percent); in toBorderImageLength()
|