Home
last modified time | relevance | path

Searched refs:CSS_NUMBER (Results 1 – 19 of 19) sorted by relevance

/external/webkit/Source/WebCore/css/
DRGBColor.cpp40 return CSSPrimitiveValue::create(value, CSSPrimitiveValue::CSS_NUMBER); in red()
46 return CSSPrimitiveValue::create(value, CSSPrimitiveValue::CSS_NUMBER); in green()
52 return CSSPrimitiveValue::create(value, CSSPrimitiveValue::CSS_NUMBER); in blue()
58 return WebCore::CSSPrimitiveValue::create(value, WebCore::CSSPrimitiveValue::CSS_NUMBER); in alpha()
DCSSComputedStyleDeclaration.cpp329 …op = primitiveValueCache->createValue(image.slices().top().value(), CSSPrimitiveValue::CSS_NUMBER); in valueForNinePieceImage()
335 … = primitiveValueCache->createValue(image.slices().right().value(), CSSPrimitiveValue::CSS_NUMBER); in valueForNinePieceImage()
341 …= primitiveValueCache->createValue(image.slices().bottom().value(), CSSPrimitiveValue::CSS_NUMBER); in valueForNinePieceImage()
347 …t = primitiveValueCache->createValue(image.slices().left().value(), CSSPrimitiveValue::CSS_NUMBER); in valueForNinePieceImage()
365 …rn primitiveValueCache->createValue(value / style->effectiveZoom(), CSSPrimitiveValue::CSS_NUMBER); in zoomAdjustedNumberValue()
486 …ansformVal->append(primitiveValueCache->createValue(transform.a(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
487 …ansformVal->append(primitiveValueCache->createValue(transform.b(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
488 …ansformVal->append(primitiveValueCache->createValue(transform.c(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
489 …ansformVal->append(primitiveValueCache->createValue(transform.d(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
495 …sformVal->append(primitiveValueCache->createValue(transform.m11(), CSSPrimitiveValue::CSS_NUMBER)); in computedTransform()
[all …]
DSVGCSSComputedStyleDeclaration.cpp84 … return CSSPrimitiveValue::create(svgStyle->floodOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue()
86 … return CSSPrimitiveValue::create(svgStyle->stopOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue()
92 … return CSSPrimitiveValue::create(svgStyle->fillOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue()
106 … return CSSPrimitiveValue::create(svgStyle->strokeMiterLimit(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue()
108 … return CSSPrimitiveValue::create(svgStyle->strokeOpacity(), CSSPrimitiveValue::CSS_NUMBER); in getSVGPropertyCSSValue()
DMediaQueryExp.cpp52 else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && in MediaQueryExp()
68 else if (value->unit == CSSPrimitiveValue::CSS_NUMBER) in MediaQueryExp()
69 … list->append(CSSPrimitiveValue::create(value->fValue, CSSPrimitiveValue::CSS_NUMBER)); in MediaQueryExp()
DCSSGradientValue.cpp71 double aVal = a.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER); in compareStops()
72 double bVal = b.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER); in compareStops()
128 offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_NUMBER); in addStops()
370 case CSSPrimitiveValue::CSS_NUMBER: in positionFromValue()
438 if (stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER) == 0) in cssText()
440 else if (stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER) == 1) in cssText()
443 …(" + String::number(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER)) + ", " + stop.… in cssText()
580 if (stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER) == 0) in cssText()
582 else if (stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER) == 1) in cssText()
585 …(" + String::number(stop.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER)) + ", " + stop.… in cssText()
[all …]
DSVGCSSStyleSelector.cpp293 else if (type == CSSPrimitiveValue::CSS_NUMBER) in applySVGProperty()
311 else if (type == CSSPrimitiveValue::CSS_NUMBER) in applySVGProperty()
329 else if (type == CSSPrimitiveValue::CSS_NUMBER) in applySVGProperty()
400 if (type == CSSPrimitiveValue::CSS_NUMBER) in applySVGProperty()
494 else if (type == CSSPrimitiveValue::CSS_NUMBER) in applySVGProperty()
DMediaQueryEvaluator.cpp181 …iveValue() && static_cast<CSSPrimitiveValue*>(i0)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER in parseAspectRatio()
183 …Value() && static_cast<CSSPrimitiveValue*>(i2)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER) { in parseAspectRatio()
186 … h = static_cast<CSSPrimitiveValue*>(i0)->getIntValue(CSSPrimitiveValue::CSS_NUMBER); in parseAspectRatio()
187 … v = static_cast<CSSPrimitiveValue*>(i2)->getIntValue(CSSPrimitiveValue::CSS_NUMBER); in parseAspectRatio()
213 … && static_cast<CSSPrimitiveValue*>(value)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER) { in numberValue()
214 … result = static_cast<CSSPrimitiveValue*>(value)->getFloatValue(CSSPrimitiveValue::CSS_NUMBER); in numberValue()
DCSSPrimitiveValueCache.cpp37 , m_numberZero(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_NUMBER)) in CSSPrimitiveValueCache()
103 case CSSPrimitiveValue::CSS_NUMBER: in createValue()
DCSSParserValues.cpp71 else if (unit == CSSPrimitiveValue::CSS_NUMBER && isInt) in createCSSValue()
81 else if (unit >= CSSPrimitiveValue::CSS_NUMBER && unit <= CSSPrimitiveValue::CSS_KHZ) in createCSSValue()
DCSSPrimitiveValue.cpp56 case CSSPrimitiveValue::CSS_NUMBER: in unitCategory()
436 return CSS_NUMBER; in canonicalUnitTypeForCategory()
454 …if (m_type < CSS_NUMBER || (m_type > CSS_DIMENSION && m_type < CSS_TURN) || requestedUnitType < CS… in getDoubleValueInternal()
480 if (sourceUnitType == CSS_NUMBER) { in getDoubleValueInternal()
632 case CSS_NUMBER: in cssText()
DSVGCSSParser.cpp170 … if (value->unit == CSSPrimitiveValue::CSS_DEG || value->unit == CSSPrimitiveValue::CSS_NUMBER) { in parseSVGValue()
303 …else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) in parseSVGValue()
327 …else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) in parseSVGStrokeDasharray()
DCSSPrimitiveValue.idl26 const unsigned short CSS_NUMBER = 1;
DCSSParser.cpp377 CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER; in parseSimpleLengthValue()
393 if (unit == CSSPrimitiveValue::CSS_NUMBER) { in parseSimpleLengthValue()
635 case CSSPrimitiveValue::CSS_NUMBER: in validUnit()
751 numericVal = (value->unit == CSSPrimitiveValue::CSS_NUMBER) ? value : 0; in checkForOrphanedUnits()
1053 while (value && value->unit == CSSPrimitiveValue::CSS_NUMBER) { in parseValue()
2030 …else if (value->unit >= CSSPrimitiveValue::CSS_NUMBER && value->unit <= CSSPrimitiveValue::CSS_KHZ) in parseValue()
3530 … primitiveValueCache()->createValue(CSSValueDecimal - CSSValueDisc, CSSPrimitiveValue::CSS_NUMBER); in parseCounterContent()
4173 if (expect == CSSPrimitiveValue::CSS_NUMBER && (*current == '.' || *current == '%')) in parseColorIntOrPercentage()
4200 expect = CSSPrimitiveValue::CSS_NUMBER; in parseColorIntOrPercentage()
4463 if (!m_strict && value->unit == CSSPrimitiveValue::CSS_NUMBER && in parseColorFromValue()
[all …]
DCSSPrimitiveValue.h54 CSS_NUMBER = 1, enumerator
DCSSGrammar.y640 …ERCENTAGE { $$.id = 0; $$.isInt = false; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_NUMBER; }
642 $$.id = 0; $$.isInt = false; $$.unit = CSSPrimitiveValue::CSS_NUMBER;
1433 …aybe_space { $$.id = 0; $$.isInt = true; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_NUMBER; }
1434 …ybe_space { $$.id = 0; $$.isInt = false; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_NUMBER; }
DCSSStyleSelector.cpp3331 else if (type == CSSPrimitiveValue::CSS_NUMBER) in convertToLength()
4388 if (!primitiveValue || primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
4397 if (!primitiveValue || primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
4422 else if (type == CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
4784 } else if (type == CSSPrimitiveValue::CSS_NUMBER) { in applyProperty()
5205 if (!primitiveValue || primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
5250 if (!primitiveValue || primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
5256 if (!primitiveValue || primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
5262 if (!primitiveValue || primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
5376 else if (primitiveValue->primitiveType() == CSSPrimitiveValue::CSS_NUMBER) in applyProperty()
[all …]
/external/webkit/Source/WebCore/svg/
DSVGLength.cpp469 case CSSPrimitiveValue::CSS_NUMBER: in fromCSSPrimitiveValue()
524 cssType = CSSPrimitiveValue::CSS_NUMBER; in toCSSPrimitiveValue()
/external/webkit/Source/WebCore/html/
DHTMLTableElement.cpp320 m_borderAttr = primVal->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER); in parseMappedAttribute()
/external/webkit/Source/WebCore/
DChangeLog-2008-08-1045618 for -webkit-text-stroke-width from CSS_NUMBER to CSS_PX, to match other properties that