Searched refs:primitiveValue (Results 1 – 7 of 7) sorted by relevance
/external/webkit/Source/WebCore/css/ |
D | SVGCSSStyleSelector.cpp | 108 CSSPrimitiveValue* primitiveValue = 0; in applySVGProperty() local 110 primitiveValue = static_cast<CSSPrimitiveValue*>(value); in applySVGProperty() 128 if (!primitiveValue) in applySVGProperty() 131 svgstyle->setAlignmentBaseline(*primitiveValue); in applySVGProperty() 137 if (!primitiveValue) in applySVGProperty() 140 if (primitiveValue->getIdent()) { in applySVGProperty() 141 switch (primitiveValue->getIdent()) { in applySVGProperty() 156 svgstyle->setBaselineShiftValue(SVGLength::fromCSSPrimitiveValue(primitiveValue)); in applySVGProperty() 164 if (primitiveValue) in applySVGProperty() 165 svgstyle->setKerning(SVGLength::fromCSSPrimitiveValue(primitiveValue)); in applySVGProperty() [all …]
|
D | CSSStyleSelector.cpp | 154 if (primitiveValue) \ 155 m_style->set##Prop(*primitiveValue); 159 if (primitiveValue) \ 160 m_style->set##Prop(*primitiveValue); 3308 static Length convertToLength(CSSPrimitiveValue* primitiveValue, RenderStyle* style, RenderStyle* r… in convertToLength() argument 3314 if (!primitiveValue) { in convertToLength() 3318 int type = primitiveValue->primitiveType(); in convertToLength() 3325 … l = Length(primitiveValue->computeLengthDouble(style, rootStyle, multiplier), Fixed); in convertToLength() 3327 … l = Length(primitiveValue->computeLengthIntForLength(style, rootStyle, multiplier), Fixed); in convertToLength() 3330 l = Length(primitiveValue->getDoubleValue(), Percent); in convertToLength() [all …]
|
D | CSSParserValues.cpp | 74 RefPtr<CSSPrimitiveValue> primitiveValue = CSSPrimitiveValue::createIdentifier(iValue); in createCSSValue() local 75 primitiveValue->setPrimitiveType(CSSPrimitiveValue::CSS_PARSER_OPERATOR); in createCSSValue() 76 parsedValue = primitiveValue; in createCSSValue()
|
D | CSSComputedStyleDeclaration.cpp | 1916 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(property->value()); in cssPropertyMatches() local 1917 …if (primitiveValue->primitiveType() == CSSPrimitiveValue::CSS_IDENT && primitiveValue->getIdent() … in cssPropertyMatches()
|
D | CSSParser.cpp | 464 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(value); in parseColor() local 465 if (primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_RGBCOLOR) in parseColor() 468 color = primitiveValue->getRGBA32Value(); in parseColor()
|
/external/webkit/Source/WebCore/editing/ |
D | EditingStyle.cpp | 96 …static PassOwnPtr<HTMLElementEquivalent> create(CSSPropertyID propertyID, int primitiveValue, cons… in create() argument 98 return adoptPtr(new HTMLElementEquivalent(propertyID, primitiveValue, tagName)); in create() 111 HTMLElementEquivalent(CSSPropertyID, int primitiveValue, const QualifiedName& tagName); 129 HTMLElementEquivalent::HTMLElementEquivalent(CSSPropertyID id, int primitiveValue, const QualifiedN… in HTMLElementEquivalent() argument 131 , m_primitiveValue(CSSPrimitiveValue::createIdentifier(primitiveValue)) in HTMLElementEquivalent() 134 ASSERT(primitiveValue != CSSValueInvalid); in HTMLElementEquivalent() 150 … static PassOwnPtr<HTMLElementEquivalent> create(int primitiveValue, const QualifiedName& tagName) in create() argument 152 return adoptPtr(new HTMLTextDecorationEquivalent(primitiveValue, tagName)); in create() 157 HTMLTextDecorationEquivalent(int primitiveValue, const QualifiedName& tagName); 160 HTMLTextDecorationEquivalent::HTMLTextDecorationEquivalent(int primitiveValue, const QualifiedName&… in HTMLTextDecorationEquivalent() argument [all …]
|
/external/webkit/Source/WebCore/platform/mac/ |
D | HTMLConverter.mm | 354 static inline BOOL _getFloat(DOMCSSPrimitiveValue *primitiveValue, CGFloat *val) 358 switch ([primitiveValue primitiveType]) { 360 *val = [primitiveValue getFloatValue:DOM_CSS_PX]; 363 *val = 4 * [primitiveValue getFloatValue:DOM_CSS_PT] / 3; 366 *val = 16 * [primitiveValue getFloatValue:DOM_CSS_PC]; 369 *val = 96 * [primitiveValue getFloatValue:DOM_CSS_CM] / (CGFloat)2.54; 372 *val = 96 * [primitiveValue getFloatValue:DOM_CSS_MM] / (CGFloat)25.4; 375 *val = 96 * [primitiveValue getFloatValue:DOM_CSS_IN];
|