Searched refs:rootStyle (Results 1 - 17 of 17) sorted by relevance

/macosx-10.9.5/WebCore-7537.78.1/css/
H A DTransformFunctions.h41 bool transformsForValue(const RenderStyle*, const RenderStyle* rootStyle, CSSValue*, TransformOperations&);
H A DBasicShapeFunctions.cpp114 static Length convertToLength(const RenderStyle* style, const RenderStyle* rootStyle, CSSPrimitiveValue* value) argument
116 return value->convertToLength<FixedIntegerConversion | FixedFloatConversion | PercentConversion | ViewportPercentageConversion>(style, rootStyle, style->effectiveZoom());
119 PassRefPtr<BasicShape> basicShapeForValue(const RenderStyle* style, const RenderStyle* rootStyle, const CSSBasicShape* basicShapeValue) argument
128 rect->setX(convertToLength(style, rootStyle, rectValue->x()));
129 rect->setY(convertToLength(style, rootStyle, rectValue->y()));
130 rect->setWidth(convertToLength(style, rootStyle, rectValue->width()));
131 rect->setHeight(convertToLength(style, rootStyle, rectValue->height()));
133 Length radiusX = convertToLength(style, rootStyle, rectValue->radiusX());
136 rect->setCornerRadiusY(convertToLength(style, rootStyle, rectValue->radiusY()));
150 circle->setCenterX(convertToLength(style, rootStyle, circleValu
[all...]
H A DBasicShapeFunctions.h43 PassRefPtr<BasicShape> basicShapeForValue(const RenderStyle*, const RenderStyle* rootStyle, const CSSBasicShape*);
H A DStyleMedia.cpp65 RefPtr<RenderStyle> rootStyle = styleResolver->styleForElement(documentElement, 0 /*defaultParent*/, DisallowStyleSharing, MatchOnlyUserAgentRules); local
71 MediaQueryEvaluator screenEval(type(), m_frame, rootStyle.get());
H A DCSSCalculationValue.h70 virtual PassOwnPtr<CalcExpressionNode> toCalcValue(const RenderStyle*, const RenderStyle* rootStyle, double zoom = 1.0) const = 0;
72 virtual double computeLengthPx(const RenderStyle* currentStyle, const RenderStyle* rootStyle, double multiplier = 1.0, bool computingFontSize = false) const = 0;
100 PassRefPtr<CalculationValue> toCalcValue(const RenderStyle* style, const RenderStyle* rootStyle, double zoom = 1.0) const argument
102 return CalculationValue::create(m_expression->toCalcValue(style, rootStyle, zoom), m_nonNegative ? CalculationRangeNonNegative : CalculationRangeAll);
108 double computeLengthPx(const RenderStyle* currentStyle, const RenderStyle* rootStyle, double multiplier = 1.0, bool computingFontSize = false) const;
H A DCSSCalculationValue.cpp125 double CSSCalcValue::computeLengthPx(const RenderStyle* currentStyle, const RenderStyle* rootStyle, double multiplier, bool computingFontSize) const argument
127 return clampToPermittedRange(m_expression->computeLengthPx(currentStyle, rootStyle, multiplier, computingFontSize));
165 virtual PassOwnPtr<CalcExpressionNode> toCalcValue(const RenderStyle* style, const RenderStyle* rootStyle, double zoom) const argument
171 return adoptPtr(new CalcExpressionNumber(m_value->computeLength<float>(style, rootStyle, zoom)));
174 return adoptPtr(new CalcExpressionLength(StyleResolver::convertToFloatLength(m_value.get(), style, rootStyle, zoom)));
206 virtual double computeLengthPx(const RenderStyle* currentStyle, const RenderStyle* rootStyle, double multiplier, bool computingFontSize) const argument
210 return m_value->computeLength<double>(currentStyle, rootStyle, multiplier, computingFontSize);
305 virtual PassOwnPtr<CalcExpressionNode> toCalcValue(const RenderStyle* style, const RenderStyle* rootStyle, double zoom) const argument
307 OwnPtr<CalcExpressionNode> left(m_leftSide->toCalcValue(style, rootStyle, zoom));
310 OwnPtr<CalcExpressionNode> right(m_rightSide->toCalcValue(style, rootStyle, zoo
321 computeLengthPx(const RenderStyle* currentStyle, const RenderStyle* rootStyle, double multiplier, bool computingFontSize) const argument
[all...]
H A DTransformFunctions.cpp79 static Length convertToFloatLength(const CSSPrimitiveValue* primitiveValue, const RenderStyle* style, const RenderStyle* rootStyle, double multiplier) argument
81 return primitiveValue ? primitiveValue->convertToLength<FixedFloatConversion | PercentConversion | CalculatedConversion | FractionConversion | ViewportPercentageConversion>(style, rootStyle, multiplier) : Length(Undefined);
84 bool transformsForValue(const RenderStyle* style, const RenderStyle* rootStyle, CSSValue* value, TransformOperations& outOperations) argument
168 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
170 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
174 ty = convertToFloatLength(secondValue, style, rootStyle, zoomFactor);
191 tz = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
193 ty = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
195 tx = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
199 tz = convertToFloatLength(thirdValue, style, rootStyle, zoomFacto
[all...]
H A DCSSGradientValue.cpp135 void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle* rootStyle, float maxLengthForRepeat) argument
188 length = stop.m_position->computeLength<float>(style, rootStyle, style->effectiveZoom());
190 length = stop.m_position->cssCalcValue()->toCalcValue(style, rootStyle, style->effectiveZoom())->evaluate(gradientLength);
397 static float positionFromValue(CSSPrimitiveValue* value, RenderStyle* style, RenderStyle* rootStyle, const IntSize& size, bool isHorizontal) argument
409 return value->cssCalcValue()->toCalcValue(style, rootStyle, style->effectiveZoom())->evaluate(edgeDistance);
426 return value->computeLength<float>(style, rootStyle, zoomFactor);
429 FloatPoint CSSGradientValue::computeEndPoint(CSSPrimitiveValue* horizontal, CSSPrimitiveValue* vertical, RenderStyle* style, RenderStyle* rootStyle, const IntSize& size) argument
434 result.setX(positionFromValue(horizontal, style, rootStyle, size, true));
437 result.setY(positionFromValue(vertical, style, rootStyle, size, false));
648 RenderStyle* rootStyle local
892 resolveRadius(CSSPrimitiveValue* radius, RenderStyle* style, RenderStyle* rootStyle, float* widthOrHeight) argument
988 RenderStyle* rootStyle = renderer->document()->documentElement()->renderStyle(); local
[all...]
H A DMediaQueryMatcher.cpp89 RefPtr<RenderStyle> rootStyle = styleResolver->styleForElement(documentElement, 0 /*defaultParent*/, DisallowStyleSharing, MatchOnlyUserAgentRules); local
91 return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame(), rootStyle.get()));
H A DMediaQueryEvaluator.cpp347 static bool computeLength(CSSValue* value, bool strict, RenderStyle* style, RenderStyle* rootStyle, int& result) argument
360 result = primitiveValue->computeLength<int>(style, rootStyle);
371 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
375 return computeLength(value, !frame->document()->inQuirksMode(), style, rootStyle, length) && compareValue(static_cast<int>(height), length, op);
386 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
390 return computeLength(value, !frame->document()->inQuirksMode(), style, rootStyle, length) && compareValue(static_cast<int>(width), length, op);
407 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
409 return computeLength(value, !frame->document()->inQuirksMode(), style, rootStyle, length) && compareValue(height, length, op);
425 RenderStyle* rootStyle = frame->document()->documentElement()->renderStyle(); local
427 return computeLength(value, !frame->document()->inQuirksMode(), style, rootStyle, lengt
[all...]
H A DCSSPrimitiveValue.cpp483 template<> int CSSPrimitiveValue::computeLength(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
485 return roundForImpreciseConversion<int>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize));
488 template<> unsigned CSSPrimitiveValue::computeLength(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
490 return roundForImpreciseConversion<unsigned>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize));
493 template<> Length CSSPrimitiveValue::computeLength(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
496 return Length(clampTo<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize), minValueForCssLength, maxValueForCssLength), Fixed);
498 return Length(clampTo<float>(roundForImpreciseConversion<float>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize)), minValueForCssLength, maxValueForCssLength), Fixed);
502 template<> short CSSPrimitiveValue::computeLength(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
504 return roundForImpreciseConversion<short>(computeLengthDouble(style, rootStyle, multiplier, computingFontSize));
507 template<> unsigned short CSSPrimitiveValue::computeLength(const RenderStyle* style, const RenderStyle* rootStyle, floa argument
512 computeLength(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
517 computeLength(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
522 computeLengthDouble(const RenderStyle* style, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const argument
[all...]
H A DCSSGradientValue.h115 void addStops(Gradient*, RenderObject*, RenderStyle* rootStyle, float maxLengthForRepeat = 0);
118 FloatPoint computeEndPoint(CSSPrimitiveValue*, CSSPrimitiveValue*, RenderStyle*, RenderStyle* rootStyle, const IntSize&);
221 float resolveRadius(CSSPrimitiveValue*, RenderStyle*, RenderStyle* rootStyle, float* widthOrHeight = 0);
H A DCSSPrimitiveValue.h257 template<typename T> T computeLength(const RenderStyle* currStyle, const RenderStyle* rootStyle, float multiplier = 1.0f, bool computingFontSize = false) const;
260 template<int> Length convertToLength(const RenderStyle* currStyle, const RenderStyle* rootStyle, double multiplier = 1.0, bool computingFontSize = false) const;
366 double computeLengthDouble(const RenderStyle* currentStyle, const RenderStyle* rootStyle, float multiplier, bool computingFontSize) const;
H A DStyleResolver.h306 bool createFilterOperations(CSSValue* inValue, RenderStyle* inStyle, RenderStyle* rootStyle, FilterOperations& outOperations);
555 static Length convertToIntLength(const CSSPrimitiveValue*, const RenderStyle*, const RenderStyle* rootStyle, double multiplier = 1);
556 static Length convertToFloatLength(const CSSPrimitiveValue*, const RenderStyle*, const RenderStyle* rootStyle, double multiplier = 1);
H A DStyleResolver.cpp1632 Length StyleResolver::convertToIntLength(const CSSPrimitiveValue* primitiveValue, const RenderStyle* style, const RenderStyle* rootStyle, double multiplier) argument
1634 return primitiveValue ? primitiveValue->convertToLength<FixedIntegerConversion | PercentConversion | CalculatedConversion | FractionConversion | ViewportPercentageConversion>(style, rootStyle, multiplier) : Length(Undefined);
1637 Length StyleResolver::convertToFloatLength(const CSSPrimitiveValue* primitiveValue, const RenderStyle* style, const RenderStyle* rootStyle, double multiplier) argument
1639 return primitiveValue ? primitiveValue->convertToLength<FixedFloatConversion | PercentConversion | CalculatedConversion | FractionConversion | ViewportPercentageConversion>(style, rootStyle, multiplier) : Length(Undefined);
3881 bool StyleResolver::createFilterOperations(CSSValue* inValue, RenderStyle* style, RenderStyle* rootStyle, FilterOperations& outOperations) argument
4000 stdDeviation = convertToFloatLength(firstValue, style, rootStyle, zoomFactor);
4016 IntPoint location(item->x->computeLength<int>(style, rootStyle, zoomFactor),
4017 item->y->computeLength<int>(style, rootStyle, zoomFactor));
4018 int blur = item->blur ? item->blur->computeLength<int>(style, rootStyle, zoomFactor) : 0;
H A DCSSPrimitiveValueMappings.h4268 template<int supported> Length CSSPrimitiveValue::convertToLength(const RenderStyle* style, const RenderStyle* rootStyle, double multiplier, bool computingFontSize) const argument
4273 if ((supported & (FixedIntegerConversion | FixedFloatConversion)) && isFontRelativeLength() && (!style || !rootStyle))
4276 return computeLength<Length>(style, rootStyle, multiplier, computingFontSize);
4278 return Length(computeLength<double>(style, rootStyle, multiplier), Fixed);
4286 return Length(cssCalcValue()->toCalcValue(style, rootStyle, multiplier));
/macosx-10.9.5/tcl-102/tk/tk/generic/ttk/
H A DttkTheme.c308 Ttk_Style rootStyle; /* "." style, root of chain */ member in struct:Ttk_Theme_
331 themePtr->rootStyle = NewStyle();
332 themePtr->rootStyle->styleName =
334 themePtr->rootStyle->cache = themePtr->cache;
335 Tcl_SetHashValue(entryPtr, themePtr->rootStyle);
707 stylePtr->parentStyle = themePtr->rootStyle;

Completed in 142 milliseconds