Searched refs:CSS_PERCENTAGE (Results 1 - 12 of 12) sorted by relevance

/external/webkit/WebCore/css/
H A DCSSPrimitiveValue.idl27 const unsigned short CSS_PERCENTAGE = 2;
H A DCSSGradientValue.cpp144 else if (first->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)
148 else if (second->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)
H A DSVGCSSStyleSelector.cpp276 if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
294 if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
312 if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
474 if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
H A DCSSPrimitiveValue.h46 CSS_PERCENTAGE = 2, enumerator in enum:WebCore::CSSPrimitiveValue::UnitTypes
88 static bool isUnitTypeLength(int type) { return (type > CSSPrimitiveValue::CSS_PERCENTAGE && type < CSSPrimitiveValue::CSS_DEG) ||
H A DCSSComputedStyleDeclaration.cpp303 top = CSSPrimitiveValue::create(image.m_slices.top().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
309 right = CSSPrimitiveValue::create(image.m_slices.right().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
315 bottom = CSSPrimitiveValue::create(image.m_slices.bottom().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
321 left = CSSPrimitiveValue::create(image.m_slices.left().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
341 offset = CSSPrimitiveValue::create(reflection->offset().percent(), CSSPrimitiveValue::CSS_PERCENTAGE);
919 return CSSPrimitiveValue::create(style->lineClamp().value(), style->lineClamp().isPercentage() ? CSSPrimitiveValue::CSS_PERCENTAGE : CSSPrimitiveValue::CSS_NUMBER);
H A DCSSStyleSelector.cpp2882 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
3756 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
3855 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
3911 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
3969 (type != CSSPrimitiveValue::CSS_PERCENTAGE &&
3975 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
4041 } else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
4339 } else if (type == CSSPrimitiveValue::CSS_PERCENTAGE) {
4758 if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
5066 else if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
[all...]
H A DCSSParser.cpp477 case CSSPrimitiveValue::CSS_PERCENTAGE:
1552 validPrimitive = (!id && (value->unit == CSSPrimitiveValue::CSS_PERCENTAGE || value->fValue) && validUnit(value, FInteger | FPercent | FNonNeg, false));
2304 return CSSPrimitiveValue::create(percent, CSSPrimitiveValue::CSS_PERCENTAGE);
2350 value2 = CSSPrimitiveValue::create(50, CSSPrimitiveValue::CSS_PERCENTAGE);
3582 colorArray[0] = static_cast<int>(v->fValue * (v->unit == CSSPrimitiveValue::CSS_PERCENTAGE ? 256.0 / 100.0 : 1.0));
3590 colorArray[i] = static_cast<int>(v->fValue * (v->unit == CSSPrimitiveValue::CSS_PERCENTAGE ? 256.0 / 100.0 : 1.0));
4240 result = CSSPrimitiveValue::create(0., CSSPrimitiveValue::CSS_PERCENTAGE);
4243 result = CSSPrimitiveValue::create(100., CSSPrimitiveValue::CSS_PERCENTAGE);
4245 result = CSSPrimitiveValue::create(50., CSSPrimitiveValue::CSS_PERCENTAGE);
4246 } else if (a->unit == CSSPrimitiveValue::CSS_NUMBER || a->unit == CSSPrimitiveValue::CSS_PERCENTAGE)
[all...]
H A DCSSGrammar.y1385 | PERCENTAGE maybe_space { $$.id = 0; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_PERCENTAGE; }
/external/webkit/WebCore/rendering/style/
H A DSVGRenderStyle.cpp135 if (cssType == CSSPrimitiveValue::CSS_PERCENTAGE) {
/external/webkit/WebCore/rendering/
H A DSVGCharacterLayoutInfo.cpp50 if (primitive->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)
H A DSVGRootInlineBox.cpp330 if (primitive->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE && font.pixelSize() > 0)
/external/webkit/WebCore/editing/
H A Dmarkup.cpp504 if (static_cast<CSSPrimitiveValue*>(value)->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)

Completed in 1264 milliseconds