Home
last modified time | relevance | path

Searched refs:primitiveValue (Results 1 – 7 of 7) sorted by relevance

/external/webkit/WebCore/css/
DSVGCSSStyleSelector.cpp109 CSSPrimitiveValue* primitiveValue = 0; in applySVGProperty() local
111 primitiveValue = static_cast<CSSPrimitiveValue*>(value); in applySVGProperty()
129 if (!primitiveValue) in applySVGProperty()
132 svgstyle->setAlignmentBaseline(*primitiveValue); in applySVGProperty()
138 if (!primitiveValue) in applySVGProperty()
141 if (primitiveValue->getIdent()) { in applySVGProperty()
142 switch (primitiveValue->getIdent()) { in applySVGProperty()
157 svgstyle->setBaselineShiftValue(primitiveValue); in applySVGProperty()
165 svgstyle->setKerning(primitiveValue); in applySVGProperty()
171 if (primitiveValue) in applySVGProperty()
[all …]
DCSSStyleSelector.cpp146 if (primitiveValue) \
147 m_style->set##Prop(*primitiveValue);
151 if (primitiveValue) \
152 m_style->set##Prop(*primitiveValue);
613 …CSSPrimitiveValue* primitiveValue = val->isPrimitiveValue() ? static_cast<CSSPrimitiveValue*>(val)… in resolveVariablesForDeclaration() local
614 if (primitiveValue && primitiveValue->isVariable()) { in resolveVariablesForDeclaration()
615 CSSVariablesRule* rule = m_variablesMap.get(primitiveValue->getStringValue()); in resolveVariablesForDeclaration()
623 if (!usedBlockVariables.contains(primitiveValue->getStringValue())) { in resolveVariablesForDeclaration()
624 …on* declBlock = rule->variables()->getParsedVariableDeclarationBlock(primitiveValue->getStringValu… in resolveVariablesForDeclaration()
626 usedBlockVariables.add(primitiveValue->getStringValue()); in resolveVariablesForDeclaration()
[all …]
DCSSPrimitiveValue.cpp55 RefPtr<CSSPrimitiveValue> primitiveValue = identValueCache[ident]; in createIdentifier() local
56 if (!primitiveValue) { in createIdentifier()
57 primitiveValue = adoptRef(new CSSPrimitiveValue(ident)); in createIdentifier()
58 identValueCache[ident] = primitiveValue; in createIdentifier()
60 return primitiveValue.release(); in createIdentifier()
78 RefPtr<CSSPrimitiveValue> primitiveValue = colorValueCache->get(rgbValue); in createColor() local
79 if (primitiveValue) in createColor()
80 return primitiveValue.release(); in createColor()
81 primitiveValue = adoptRef(new CSSPrimitiveValue(rgbValue)); in createColor()
86 colorValueCache->add(rgbValue, primitiveValue); in createColor()
[all …]
DCSSParserValues.cpp67 RefPtr<CSSPrimitiveValue> primitiveValue = CSSPrimitiveValue::createIdentifier(iValue); in createCSSValue() local
68 primitiveValue->setPrimitiveType(CSSPrimitiveValue::CSS_PARSER_OPERATOR); in createCSSValue()
69 parsedValue = primitiveValue; in createCSSValue()
DCSSComputedStyleDeclaration.cpp1537 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(property->value()); in cssPropertyMatches() local
1538 …if (primitiveValue->primitiveType() == CSSPrimitiveValue::CSS_IDENT && primitiveValue->getIdent() … in cssPropertyMatches()
DCSSParser.cpp319 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(value); in parseColor() local
320 color = primitiveValue->getRGBA32Value(); in parseColor()
/external/webkit/WebCore/editing/
DApplyStyleCommand.cpp463 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(backgroundColor.get()); in prepareEditingStyleToApplyAt() local
464 Color color = Color(primitiveValue->getRGBA32Value()); in prepareEditingStyleToApplyAt()
651 CSSPrimitiveValue *primitiveValue = static_cast<CSSPrimitiveValue *>(value.get()); in applyRelativeFontStyleChange() local
652 if (primitiveValue->primitiveType() == CSSPrimitiveValue::CSS_PX) { in applyRelativeFontStyleChange()
655 adjustment = primitiveValue->getFloatValue(); in applyRelativeFontStyleChange()