HomeSort by relevance Sort by last modified time
    Searched refs:CSSPrimitiveValue (Results 26 - 50 of 66) sorted by null

12 3

  /external/webkit/Source/WebCore/css/
CSSBorderImageValue.cpp 58 text += CSSPrimitiveValue::createIdentifier(m_horizontalSizeRule)->cssText();
60 text += CSSPrimitiveValue::createIdentifier(m_verticalSizeRule)->cssText();
CSSImageValue.h 24 #include "CSSPrimitiveValue.h"
34 class CSSImageValue : public CSSPrimitiveValue, private CachedResourceClient {
CSSLineBoxContainValue.h 35 class CSSPrimitiveValue;
FontFamilyValue.cpp 29 : CSSPrimitiveValue(String(), CSS_STRING)
MediaQueryEvaluator.cpp 33 #include "CSSPrimitiveValue.h"
181 if (i0->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(i0)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER
182 && i1->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(i1)->primitiveType() == CSSPrimitiveValue::CSS_STRING
183 && i2->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(i2)->primitiveType() == CSSPrimitiveValue::CSS_NUMBER) {
184 String str = static_cast<CSSPrimitiveValue*>(i1)->getStringValue();
186 h = static_cast<CSSPrimitiveValue*>(i0)->getIntValue(CSSPrimitiveValue::CSS_NUMBER)
    [all...]
CSSComputedStyleDeclaration.cpp 34 #include "CSSPrimitiveValue.h"
325 RefPtr<CSSPrimitiveValue> top;
327 top = primitiveValueCache->createValue(image.slices().top().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
329 top = primitiveValueCache->createValue(image.slices().top().value(), CSSPrimitiveValue::CSS_NUMBER);
331 RefPtr<CSSPrimitiveValue> right;
333 right = primitiveValueCache->createValue(image.slices().right().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
335 right = primitiveValueCache->createValue(image.slices().right().value(), CSSPrimitiveValue::CSS_NUMBER);
337 RefPtr<CSSPrimitiveValue> bottom;
339 bottom = primitiveValueCache->createValue(image.slices().bottom().value(), CSSPrimitiveValue::CSS_PERCENTAGE);
341 bottom = primitiveValueCache->createValue(image.slices().bottom().value(), CSSPrimitiveValue::CSS_NUMBER)
    [all...]
CSSParser.cpp 43 #include "CSSPrimitiveValue.h"
377 CSSPrimitiveValue::UnitTypes unit = CSSPrimitiveValue::CSS_NUMBER;
380 unit = CSSPrimitiveValue::CSS_PX;
383 unit = CSSPrimitiveValue::CSS_PERCENTAGE;
393 if (unit == CSSPrimitiveValue::CSS_NUMBER) {
396 unit = CSSPrimitiveValue::CSS_PX;
464 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(value);
465 if (primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_RGBCOLOR
    [all...]
CSSComputedStyleDeclaration.h 33 class CSSPrimitiveValue;
78 PassRefPtr<CSSPrimitiveValue> currentColorOrValidColor(RenderStyle*, const Color&) const;
CSSImageValue.cpp 34 : CSSPrimitiveValue(url, CSS_URI)
40 : CSSPrimitiveValue(CSSValueNone)
CSSStyleSelector.cpp     [all...]
CSSGradientValue.cpp 71 double aVal = a.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER);
72 double bVal = b.m_position->getDoubleValue(CSSPrimitiveValue::CSS_NUMBER);
125 if (stop.m_position->primitiveType() == CSSPrimitiveValue::CSS_PERCENTAGE)
126 offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100;
128 offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_NUMBER);
159 if (type == CSSPrimitiveValue::CSS_PERCENTAGE)
160 stops[i].offset = stop.m_position->getFloatValue(CSSPrimitiveValue::CSS_PERCENTAGE) / 100;
161 else if (CSSPrimitiveValue::isUnitTypeLength(type)) {
365 static float positionFromValue(CSSPrimitiveValue* value, RenderStyle* style, RenderStyle* rootStyle, const IntSize& size, bool isHorizontal)
370 case CSSPrimitiveValue::CSS_NUMBER
    [all...]
CSSGrammar.y 29 #include "CSSPrimitiveValue.h"
641 PERCENTAGE { $$.id = 0; $$.isInt = false; $$.fValue = $1; $$.unit = CSSPrimitiveValue::CSS_NUMBER; }
643 $$.id = 0; $$.isInt = false; $$.unit = CSSPrimitiveValue::CSS_NUMBER;
    [all...]
CSSPrimitiveValue.idl 22 interface CSSPrimitiveValue : CSSValue {
CSSStyleSelector.h 41 class CSSPrimitiveValue;
165 Color getColorFromPrimitiveValue(CSSPrimitiveValue*) const;
314 bool pageSizeFromName(CSSPrimitiveValue*, CSSPrimitiveValue*, Length& width, Length& height);
CSSFontSelector.cpp 36 #include "CSSPrimitiveValue.h"
124 switch (static_cast<CSSPrimitiveValue*>(styleList->itemWithoutBoundsCheck(i))->getIdent()) {
156 switch (static_cast<CSSPrimitiveValue*>(weightList->itemWithoutBoundsCheck(i))->getIdent()) {
212 switch (static_cast<CSSPrimitiveValue*>(variantList->itemWithoutBoundsCheck(i))->getIdent()) {
288 CSSPrimitiveValue* item = static_cast<CSSPrimitiveValue*>(familyList->itemWithoutBoundsCheck(i));
290 if (item->primitiveType() == CSSPrimitiveValue::CSS_STRING)
292 else if (item->primitiveType() == CSSPrimitiveValue::CSS_IDENT) {
  /external/webkit/Source/WebCore/rendering/style/
StyleCachedImage.cpp 34 return CSSPrimitiveValue::create(m_image->url(), CSSPrimitiveValue::CSS_URI);
  /external/webkit/Source/WebCore/svg/
SVGLength.h 30 class CSSPrimitiveValue;
101 static SVGLength fromCSSPrimitiveValue(CSSPrimitiveValue*);
102 static PassRefPtr<CSSPrimitiveValue> toCSSPrimitiveValue(const SVGLength&);
  /external/webkit/Source/WebCore/bindings/v8/custom/
V8CSSValueCustom.cpp 54 return toV8(static_cast<CSSPrimitiveValue*>(impl));
V8CSSStyleDeclarationCustom.cpp 37 #include "CSSPrimitiveValue.h"
175 return v8::Number::New(static_cast<CSSPrimitiveValue*>(
176 cssValue.get())->getFloatValue(CSSPrimitiveValue::CSS_PX));
  /external/webkit/Source/WebCore/editing/
EditingStyle.cpp 113 const RefPtr<CSSPrimitiveValue> m_primitiveValue;
131 , m_primitiveValue(CSSPrimitiveValue::createIdentifier(primitiveValue))
140 return matches(element) && value && value->isPrimitiveValue() && static_cast<CSSPrimitiveValue*>(value.get())->getIdent() == m_primitiveValue->getIdent();
260 return CSSPrimitiveValue::createIdentifier(size);
367 CSSPrimitiveValue* primitiveValue = static_cast<CSSPrimitiveValue*>(value.get());
371 if (primitiveValue->primitiveType() != CSSPrimitiveValue::CSS_PX)
392 int unicodeBidiValue = static_cast<CSSPrimitiveValue*>(unicodeBidi.get())->getIdent();
398 writingDirection = static_cast<CSSPrimitiveValue*>(direction.get())->getIdent() == CSSValueLtr ? LeftToRightWritingDirection : RightToLeftWritingDirection;
712 && !alphaChannel(static_cast<CSSPrimitiveValue*>(backgroundColor.get())->getRGBA32Value()))
    [all...]
EditingStyle.h 47 class CSSPrimitiveValue;
203 int legacyFontSizeFromCSSValue(Document*, CSSPrimitiveValue*, bool shouldUseFixedFontDefaultSize, LegacyFontSizeMode);
  /external/webkit/Source/WebCore/bindings/js/
JSCSSValueCustom.cpp 29 #include "CSSPrimitiveValue.h"
68 wrapper = CREATE_DOM_OBJECT_WRAPPER(exec, globalObject, CSSPrimitiveValue, value);
JSCSSStyleDeclarationCustom.cpp 30 #include "CSSPrimitiveValue.h"
164 return jsNumber(static_pointer_cast<CSSPrimitiveValue>(v)->getFloatValue(CSSPrimitiveValue::CSS_PX));
  /external/webkit/Source/WebCore/html/shadow/
ProgressShadowElement.cpp 76 getInlineStyleDecl()->setProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE);
MeterShadowElement.cpp 96 getInlineStyleDecl()->setProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCENTAGE);

Completed in 1760 milliseconds

12 3