Searched defs:rootStyle (Results 1 - 4 of 4) sorted by relevance

/external/webkit/Source/WebCore/css/
H A DCSSPrimitiveValue.cpp252 int CSSPrimitiveValue::computeLengthInt(RenderStyle* style, RenderStyle* rootStyle) argument
254 return roundForImpreciseConversion<int, INT_MAX, INT_MIN>(computeLengthDouble(style, rootStyle));
257 int CSSPrimitiveValue::computeLengthInt(RenderStyle* style, RenderStyle* rootStyle, double multiplier) argument
259 return roundForImpreciseConversion<int, INT_MAX, INT_MIN>(computeLengthDouble(style, rootStyle, multiplier));
264 int CSSPrimitiveValue::computeLengthIntForLength(RenderStyle* style, RenderStyle* rootStyle) argument
266 return roundForImpreciseConversion<int, intMaxForLength, intMinForLength>(computeLengthDouble(style, rootStyle));
269 int CSSPrimitiveValue::computeLengthIntForLength(RenderStyle* style, RenderStyle* rootStyle, double multiplier) argument
271 return roundForImpreciseConversion<int, intMaxForLength, intMinForLength>(computeLengthDouble(style, rootStyle, multiplier));
274 short CSSPrimitiveValue::computeLengthShort(RenderStyle* style, RenderStyle* rootStyle) argument
276 return roundForImpreciseConversion<short, SHRT_MAX, SHRT_MIN>(computeLengthDouble(style, rootStyle));
279 computeLengthShort(RenderStyle* style, RenderStyle* rootStyle, double multiplier) argument
284 computeLengthFloat(RenderStyle* style, RenderStyle* rootStyle, bool computingFontSize) argument
289 computeLengthFloat(RenderStyle* style, RenderStyle* rootStyle, double multiplier, bool computingFontSize) argument
294 computeLengthDouble(RenderStyle* style, RenderStyle* rootStyle, double multiplier, bool computingFontSize) argument
[all...]
H A DMediaQueryEvaluator.cpp313 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
314 return value->isPrimitiveValue() && compareValue(static_cast<int>(sg.height()), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style, rootStyle), op);
325 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
326 return value->isPrimitiveValue() && compareValue(static_cast<int>(sg.width()), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style, rootStyle), op);
336 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
339 return value->isPrimitiveValue() && compareValue(view->layoutHeight(), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style, rootStyle), op);
347 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
350 return value->isPrimitiveValue() && compareValue(view->layoutWidth(), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style, rootStyle), op);
H A DCSSGradientValue.cpp112 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat) argument
162 float length = stop.m_position->computeLengthFloat(style, rootStyle, style->effectiveZoom());
365 static float positionFromValue(CSSPrimitiveValue* value, RenderStyle* style, RenderStyle* rootStyle, const IntSize& size, bool isHorizontal) argument
393 return value->computeLengthFloat(style, rootStyle, zoomFactor);
397 FloatPoint CSSGradientValue::computeEndPoint(CSSPrimitiveValue* first, CSSPrimitiveValue* second, RenderStyle* style, RenderStyle* rootStyle, const IntSize& size) argument
402 result.setX(positionFromValue(first, style, rootStyle, size, true));
405 result.setY(positionFromValue(second, style, rootStyle, size, false));
533 RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle(); local
541 firstPoint = computeEndPoint(m_firstX.get(), m_firstY.get(), renderer->style(), rootStyle, size);
544 secondPoint = computeEndPoint(m_secondX.get(), m_secondY.get(), renderer->style(), rootStyle, siz
630 resolveRadius(CSSPrimitiveValue* radius, RenderStyle* style, RenderStyle* rootStyle, float* widthOrHeight) argument
726 RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle(); local
[all...]
H A DCSSStyleSelector.cpp3308 static Length convertToLength(CSSPrimitiveValue* primitiveValue, RenderStyle* style, RenderStyle* rootStyle, bool toFloat, double multiplier = 1, bool *ok = 0) argument
3325 l = Length(primitiveValue->computeLengthDouble(style, rootStyle, multiplier), Fixed);
3327 l = Length(primitiveValue->computeLengthIntForLength(style, rootStyle, multiplier), Fixed);
3339 static Length convertToIntLength(CSSPrimitiveValue* primitiveValue, RenderStyle* style, RenderStyle* rootStyle, double multiplier = 1, bool *ok = 0) argument
3341 return convertToLength(primitiveValue, style, rootStyle, false, multiplier, ok);
3344 static Length convertToFloatLength(CSSPrimitiveValue* primitiveValue, RenderStyle* style, RenderStyle* rootStyle, double multiplier = 1, bool *ok = 0) argument
3346 return convertToLength(primitiveValue, style, rootStyle, true, multiplier, ok);
7086 bool CSSStyleSelector::createTransformOperations(CSSValue* inValue, RenderStyle* style, RenderStyle* rootStyle, TransformOperations& outOperations) argument
7172 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor, &ok);
7174 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFacto
[all...]

Completed in 373 milliseconds