Searched refs:CSS_PERCENTAGE (Results 1 – 14 of 14) sorted by relevance
/external/webkit/Source/WebCore/css/ |
D | CSSPrimitiveValueCache.cpp | 36 , m_percentZero(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PERCENTAGE)) in CSSPrimitiveValueCache() 98 case CSSPrimitiveValue::CSS_PERCENTAGE: in createValue()
|
D | SVGCSSStyleSelector.cpp | 291 if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applySVGProperty() 309 if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applySVGProperty() 327 if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applySVGProperty() 492 if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applySVGProperty()
|
D | CSSGradientValue.cpp | 125 if (stop.m_position->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) in addStops() 126 offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100; in addStops() 159 if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in addStops() 160 … stops[i].offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100; in addStops() 373 case CSSPrimitiveValue::CSS_PERCENTAGE: in positionFromValue() 637 else if (widthOrHeight && radius->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) in resolveRadius()
|
D | CSSPrimitiveValue.h | 55 CSS_PERCENTAGE = 2, enumerator 110 …static bool isUnitTypeLength(int type) { return (type > CSSPrimitiveValue::CSS_PERCENTAGE && type … in isUnitTypeLength()
|
D | CSSPrimitiveValue.cpp | 58 case CSSPrimitiveValue::CSS_PERCENTAGE: in unitCategory() 172 m_type = CSS_PERCENTAGE; in CSSPrimitiveValue() 635 case CSS_PERCENTAGE: in cssText()
|
D | CSSStyleSelector.cpp | 3325 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in convertToLength() 4136 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() 4230 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() 4286 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() 4344 (type != CSSPrimitiveValue::CSS_PERCENTAGE && in applyProperty() 4350 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() 4416 } else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() 4777 } else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) { in applyProperty() 5073 if (pair->first()->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() 5077 if (pair->second()->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) in applyProperty() [all …]
|
D | CSSComputedStyleDeclaration.cpp | 339 … primitiveValueCache->createValue(image.slices().top().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImage() 345 …rimitiveValueCache->createValue(image.slices().right().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImage() 351 …imitiveValueCache->createValue(image.slices().bottom().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImage() 357 …primitiveValueCache->createValue(image.slices().left().value(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForNinePieceImage() 394 …rimitiveValueCache->createValue(reflection->offset().percent(), CSSPrimitiveValue::CSS_PERCENTAGE); in valueForReflection() 453 …turn primitiveValueCache->createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE); in getBorderRadiusCornerValue() 457 …end(primitiveValueCache->createValue(radius.width().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); in getBorderRadiusCornerValue() 461 …nd(primitiveValueCache->createValue(radius.height().percent(), CSSPrimitiveValue::CSS_PERCENTAGE)); in getBorderRadiusCornerValue() 1195 …mp().value(), style->lineClamp().isPercentage() ? CSSPrimitiveValue::CSS_PERCENTAGE : CSSPrimitive… in getPropertyCSSValue()
|
D | CSSPrimitiveValue.idl | 27 const unsigned short CSS_PERCENTAGE = 2;
|
D | CSSParser.cpp | 405 unit = CSSPrimitiveValue::CSS_PERCENTAGE; in parseSimpleLengthValue() 699 case CSSPrimitiveValue::CSS_PERCENTAGE: in validUnit() 1781 …validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && va… in parseValue() 2796 return primitiveValueCache()->createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPositionX() 2813 return primitiveValueCache()->createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPositionY() 2847 return primitiveValueCache()->createValue(percent, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPositionComponent() 2902 value2 = primitiveValueCache()->createValue(50, CSSPrimitiveValue::CSS_PERCENTAGE); in parseFillPosition() 4274 if (expect == CSSPrimitiveValue::CSS_PERCENTAGE && *current != '%') in parseColorIntOrPercentage() 4278 expect = CSSPrimitiveValue::CSS_PERCENTAGE; in parseColorIntOrPercentage() 4455 if (v->unit == CSSPrimitiveValue::CSS_PERCENTAGE) { in colorIntFromValue() [all …]
|
D | CSSGrammar.y | 1436 …| PERCENTAGE maybe_space { $$.id = 0; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_PERCENTAGE;…
|
/external/webkit/Source/WebCore/html/shadow/ |
D | ProgressShadowElement.cpp | 76 getInlineStyleDecl()->setProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
|
D | MeterShadowElement.cpp | 96 getInlineStyleDecl()->setProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
|
/external/webkit/Source/WebCore/svg/ |
D | SVGLength.cpp | 472 case CSSPrimitiveValue::CSS_PERCENTAGE: in fromCSSPrimitiveValue() 527 cssType = CSSPrimitiveValue::CSS_PERCENTAGE; in toCSSPrimitiveValue()
|
/external/webkit/Source/WebCore/editing/ |
D | markup.cpp | 291 … if (static_cast<CSSPrimitiveValue*>(value)->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) in appendElement()
|