/external/webkit/Source/WebCore/css/ |
D | RGBColor.cpp | 40 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()
|
D | CSSComputedStyleDeclaration.cpp | 329 …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 …]
|
D | SVGCSSComputedStyleDeclaration.cpp | 84 … 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()
|
D | MediaQueryExp.cpp | 52 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()
|
D | CSSGradientValue.cpp | 71 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 …]
|
D | SVGCSSStyleSelector.cpp | 293 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()
|
D | MediaQueryEvaluator.cpp | 181 …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()
|
D | CSSPrimitiveValueCache.cpp | 37 , m_numberZero(CSSPrimitiveValue::create(0, CSSPrimitiveValue::CSS_NUMBER)) in CSSPrimitiveValueCache() 103 case CSSPrimitiveValue::CSS_NUMBER: in createValue()
|
D | CSSParserValues.cpp | 71 else if (unit == CSSPrimitiveValue::CSS_NUMBER && isInt) in createCSSValue() 81 else if (unit >= CSSPrimitiveValue::CSS_NUMBER && unit <= CSSPrimitiveValue::CSS_KHZ) in createCSSValue()
|
D | CSSPrimitiveValue.cpp | 56 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()
|
D | SVGCSSParser.cpp | 170 … 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()
|
D | CSSPrimitiveValue.idl | 26 const unsigned short CSS_NUMBER = 1;
|
D | CSSParser.cpp | 377 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 …]
|
D | CSSPrimitiveValue.h | 54 CSS_NUMBER = 1, enumerator
|
D | CSSGrammar.y | 640 …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; }
|
D | CSSStyleSelector.cpp | 3331 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/ |
D | SVGLength.cpp | 469 case CSSPrimitiveValue::CSS_NUMBER: in fromCSSPrimitiveValue() 524 cssType = CSSPrimitiveValue::CSS_NUMBER; in toCSSPrimitiveValue()
|
/external/webkit/Source/WebCore/html/ |
D | HTMLTableElement.cpp | 320 m_borderAttr = primVal->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER); in parseMappedAttribute()
|
/external/webkit/Source/WebCore/ |
D | ChangeLog-2008-08-10 | 45618 for -webkit-text-stroke-width from CSS_NUMBER to CSS_PX, to match other properties that
|