Searched refs:cssValue (Results 1 - 25 of 30) sorted by relevance

12

/external/chromium_org/third_party/WebKit/Source/core/animation/
H A DAnimatableNeutralTest.cpp50 RefPtr<CSSValue> cssValue = CSSArrayFunctionValue::create(); local
51 RefPtr<AnimatableValue> animatableUnknown = AnimatableUnknown::create(cssValue);
53 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::add(animatableUnknown.get(), AnimatableValue::neutralValue()).get())->toCSSValue());
54 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::add(AnimatableValue::neutralValue(), animatableUnknown.get()).get())->toCSSValue());
H A DAnimatableUnknownTest.cpp47 cssValue = CSSArrayFunctionValue::create();
48 animatableUnknown = AnimatableUnknown::create(cssValue);
54 RefPtr<CSSValue> cssValue; member in class:__anon10918::AnimationAnimatableUnknownTest
68 EXPECT_EQ(cssValue, toAnimatableUnknown(animatableUnknown.get())->toCSSValue());
73 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(animatableUnknown.get(), otherAnimatableUnknown.get(), 0).get())->toCSSValue());
74 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(animatableUnknown.get(), otherAnimatableUnknown.get(), 0.4).get())->toCSSValue());
81 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(otherAnimatableUnknown.get(), animatableUnknown.get(), 0.5).get())->toCSSValue());
82 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(otherAnimatableUnknown.get(), animatableUnknown.get(), 0.6).get())->toCSSValue());
83 EXPECT_EQ(cssValue, toAnimatableUnknown(AnimatableValue::interpolate(otherAnimatableUnknown.get(), animatableUnknown.get(), 1).get())->toCSSValue());
89 EXPECT_EQ(cssValue, toAnimatableUnknow
[all...]
H A DAnimatableImage.h47 PassRefPtr<CSSValue> toCSSValue() const { return m_image->cssValue(); }
/external/chromium_org/third_party/WebKit/Source/core/css/
H A DCSSValueTestHelper.h64 inline void PrintTo(const CSSValue& cssValue, ::std::ostream* os, const char* typeName = "CSSValue") argument
66 *os << typeName << "(" << cssValue.cssText().utf8().data() << ")";
69 inline void PrintTo(const CSSPrimitiveValue& cssValue, ::std::ostream* os, const char* typeName = "CSSPrimitiveValue") argument
71 PrintTo(*static_cast<const CSSValue*>(&cssValue), os, typeName);
H A DMediaQueryExp.cpp208 RefPtr<CSSValue> cssValue; local
218 cssValue = CSSPrimitiveValue::createIdentifier(value->id);
219 if (!featureWithValidIdent(mediaFeature, toCSSPrimitiveValue(cssValue.get())->getValueID()))
220 cssValue.clear();
223 cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit);
226 cssValue = CSSPrimitiveValue::create(value->fValue, (CSSPrimitiveValue::UnitTypes) value->unit);
229 cssValue = CSSPrimitiveValue::create(value->fValue, CSSPrimitiveValue::CSS_NUMBER);
232 cssValue = CSSPrimitiveValue::create(value->fValue, CSSPrimitiveValue::CSS_NUMBER);
235 cssValue = CSSPrimitiveValue::create(value->fValue, CSSPrimitiveValue::CSS_NUMBER);
238 isValid = cssValue;
[all...]
H A DMediaList.cpp282 CSSValue* cssValue = expression->value(); local
283 if (cssValue && cssValue->isPrimitiveValue()) {
284 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(cssValue);
H A DWebKitCSSMatrix.idl28 Constructor([Default=NullString] optional DOMString cssValue),
/external/chromium_org/third_party/WebKit/Source/core/rendering/style/
H A DStyleFetchedShader.cpp46 PassRefPtr<CSSValue> StyleFetchedShader::cssValue() const function in class:WebCore::StyleFetchedShader
H A DStyleFetchedShader.h45 virtual PassRefPtr<CSSValue> cssValue() const;
H A DStylePendingShader.h46 virtual PassRefPtr<CSSValue> cssValue() const { return m_value; } function in class:WebCore::StylePendingShader
H A DStyleShader.h47 virtual PassRefPtr<CSSValue> cssValue() const = 0;
H A DStyleFetchedImage.cpp44 PassRefPtr<CSSValue> StyleFetchedImage::cssValue() const function in class:WebCore::StyleFetchedImage
H A DStyleFetchedImage.h43 virtual PassRefPtr<CSSValue> cssValue() const;
H A DStyleFetchedImageSet.cpp50 PassRefPtr<CSSValue> StyleFetchedImageSet::cssValue() const function in class:WebCore::StyleFetchedImageSet
H A DStyleFetchedImageSet.h50 virtual PassRefPtr<CSSValue> cssValue() const;
H A DStyleGeneratedImage.cpp40 PassRefPtr<CSSValue> StyleGeneratedImage::cssValue() const function in class:WebCore::StyleGeneratedImage
H A DStyleGeneratedImage.h43 virtual PassRefPtr<CSSValue> cssValue() const;
H A DStylePendingImage.h48 virtual PassRefPtr<CSSValue> cssValue() const { return m_value; } function in class:WebCore::StylePendingImage
H A DStyleImage.h52 virtual PassRefPtr<CSSValue> cssValue() const = 0;
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/
H A DReferenceFilterBuilder.cpp85 RefPtr<CSSValue> cssValue = svgElement->getPresentationAttribute( local
87 if (cssValue.get() && cssValue->isPrimitiveValue()) {
88 const CSSPrimitiveValue& primitiveValue = *((CSSPrimitiveValue*)cssValue.get());
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPageSerializer.cpp344 RefPtr<CSSValue> cssValue = styleDeclaration->propertyAt(i).value(); local
345 retrieveResourcesForCSSValue(cssValue.get(), document);
349 void PageSerializer::retrieveResourcesForCSSValue(CSSValue* cssValue, Document* document) argument
351 if (cssValue->isImageValue()) {
352 CSSImageValue* imageValue = toCSSImageValue(cssValue);
359 } else if (cssValue->isFontFaceSrcValue()) {
360 CSSFontFaceSrcValue* fontFaceSrcValue = toCSSFontFaceSrcValue(cssValue);
366 } else if (cssValue->isValueList()) {
367 CSSValueList* cssValueList = toCSSValueList(cssValue);
/external/chromium_org/third_party/WebKit/Source/bindings/v8/custom/
H A DV8CSSStyleDeclarationCustom.cpp213 RefPtr<CSSValue> cssValue = imp->getPropertyCSSValueInternal(static_cast<CSSPropertyID>(propInfo->propID)); local
214 if (cssValue) {
215 v8SetReturnValueStringOrNull(info, cssValue->cssText(), info.GetIsolate());
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/
H A DFilterOperationResolver.cpp476 CSSValue* cssValue = filterValue->itemWithoutBoundsCheck(0);
477 if (!cssValue->isShadowValue())
480 CSSShadowValue* item = toCSSShadowValue(cssValue);
H A DAnimatedStyleBuilder.cpp70 RefPtr<CSSValue> cssValue = toAnimatableUnknown(value)->toCSSValue();
71 CSSPrimitiveValue* cssPrimitiveValue = toCSSPrimitiveValue(cssValue.get());
81 RefPtr<CSSValue> cssValue = toAnimatableUnknown(value)->toCSSValue();
82 CSSPrimitiveValue* cssPrimitiveValue = toCSSPrimitiveValue(cssValue.get());
/external/chromium_org/third_party/WebKit/Source/core/editing/
H A DEditingStyle.cpp1242 RefPtr<CSSValue> cssValue = m_mutableStyle->getPropertyCSSValue(CSSPropertyFontSize); local
1243 if (!cssValue || !cssValue->isPrimitiveValue())
1245 return legacyFontSizeFromCSSValue(document, toCSSPrimitiveValue(cssValue.get()),
1624 bool isTransparentColorValue(CSSValue* cssValue) argument
1626 if (!cssValue)
1628 if (!cssValue->isPrimitiveValue())
1630 CSSPrimitiveValue* value = toCSSPrimitiveValue(cssValue);
1638 RefPtr<CSSValue> cssValue = style->getPropertyCSSValueInternal(CSSPropertyBackgroundColor); local
1639 return isTransparentColorValue(cssValue
1644 RefPtr<CSSValue> cssValue = style->getPropertyCSSValue(CSSPropertyBackgroundColor); local
[all...]

Completed in 279 milliseconds

12