Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/css/
DCSSPrimitiveValueCache.cpp36 , m_percentZero(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_PERCENTAGE)) in CSSPrimitiveValueCache()
98 case CSSPrimitiveValue::CSS_PERCENTAGE: in createValue()
DSVGCSSStyleSelector.cpp291 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()
DCSSGradientValue.cpp125 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()
DCSSPrimitiveValue.h55 CSS_PERCENTAGE = 2, enumerator
110 …static bool isUnitTypeLength(int type) { return (type > CSSPrimitiveValue::CSS_PERCENTAGE && type … in isUnitTypeLength()
DCSSPrimitiveValue.cpp58 case CSSPrimitiveValue::CSS_PERCENTAGE: in unitCategory()
172 m_type = CSS_PERCENTAGE; in CSSPrimitiveValue()
635 case CSS_PERCENTAGE: in cssText()
DCSSStyleSelector.cpp3325 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 …]
DCSSComputedStyleDeclaration.cpp339 … 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()
DCSSPrimitiveValue.idl27 const unsigned short CSS_PERCENTAGE = 2;
DCSSParser.cpp405 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 …]
DCSSGrammar.y1436 …| PERCENTAGE maybe_space { $$.id = 0; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_PERCENTAGE;…
/external/webkit/Source/WebCore/html/shadow/
DProgressShadowElement.cpp76 getInlineStyleDecl()->setProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
DMeterShadowElement.cpp96 getInlineStyleDecl()->setProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE); in setWidthPercentage()
/external/webkit/Source/WebCore/svg/
DSVGLength.cpp472 case CSSPrimitiveValue::CSS_PERCENTAGE: in fromCSSPrimitiveValue()
527 cssType = CSSPrimitiveValue::CSS_PERCENTAGE; in toCSSPrimitiveValue()
/external/webkit/Source/WebCore/editing/
Dmarkup.cpp291 … if (static_cast<CSSPrimitiveValue*>(value)->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE) in appendElement()