OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:rootStyle
(Results
1 - 9
of
9
) sorted by null
/external/webkit/Source/WebCore/css/
StyleMedia.cpp
66
RefPtr<RenderStyle>
rootStyle
= styleSelector->styleForElement(documentElement, 0 /*defaultParent*/, false /*allowSharing*/, true /*resolveForRootDefault*/);
74
MediaQueryEvaluator screenEval(type(), m_frame,
rootStyle
.get());
CSSPrimitiveValue.h
139
int computeLengthInt(RenderStyle* currStyle, RenderStyle*
rootStyle
);
140
int computeLengthInt(RenderStyle* currStyle, RenderStyle*
rootStyle
, double multiplier);
141
int computeLengthIntForLength(RenderStyle* currStyle, RenderStyle*
rootStyle
);
142
int computeLengthIntForLength(RenderStyle* currStyle, RenderStyle*
rootStyle
, double multiplier);
143
short computeLengthShort(RenderStyle* currStyle, RenderStyle*
rootStyle
);
144
short computeLengthShort(RenderStyle* currStyle, RenderStyle*
rootStyle
, double multiplier);
145
float computeLengthFloat(RenderStyle* currStyle, RenderStyle*
rootStyle
, bool computingFontSize = false);
146
float computeLengthFloat(RenderStyle* currStyle, RenderStyle*
rootStyle
, double multiplier, bool computingFontSize = false);
147
double computeLengthDouble(RenderStyle* currentStyle, RenderStyle*
rootStyle
, double multiplier = 1.0, bool computingFontSize = false);
CSSPrimitiveValue.cpp
252
int CSSPrimitiveValue::computeLengthInt(RenderStyle* style, RenderStyle*
rootStyle
)
254
return roundForImpreciseConversion<int, INT_MAX, INT_MIN>(computeLengthDouble(style,
rootStyle
));
257
int CSSPrimitiveValue::computeLengthInt(RenderStyle* style, RenderStyle*
rootStyle
, double multiplier)
259
return roundForImpreciseConversion<int, INT_MAX, INT_MIN>(computeLengthDouble(style,
rootStyle
, multiplier));
264
int CSSPrimitiveValue::computeLengthIntForLength(RenderStyle* style, RenderStyle*
rootStyle
)
266
return roundForImpreciseConversion<int, intMaxForLength, intMinForLength>(computeLengthDouble(style,
rootStyle
));
269
int CSSPrimitiveValue::computeLengthIntForLength(RenderStyle* style, RenderStyle*
rootStyle
, double multiplier)
271
return roundForImpreciseConversion<int, intMaxForLength, intMinForLength>(computeLengthDouble(style,
rootStyle
, multiplier));
274
short CSSPrimitiveValue::computeLengthShort(RenderStyle* style, RenderStyle*
rootStyle
)
276
return roundForImpreciseConversion<short, SHRT_MAX, SHRT_MIN>(computeLengthDouble(style,
rootStyle
));
[
all
...]
CSSGradientValue.cpp
112
void CSSGradientValue::addStops(Gradient* gradient, RenderObject* renderer, RenderStyle*
rootStyle
, float maxLengthForRepeat)
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)
393
return value->computeLengthFloat(style,
rootStyle
, zoomFactor);
397
FloatPoint CSSGradientValue::computeEndPoint(CSSPrimitiveValue* first, CSSPrimitiveValue* second, RenderStyle* style, RenderStyle*
rootStyle
, const IntSize& size)
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();
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
, size)
[
all
...]
CSSGradientValue.h
77
void addStops(Gradient*, RenderObject*, RenderStyle*
rootStyle
, float maxLengthForRepeat = 0);
83
FloatPoint computeEndPoint(CSSPrimitiveValue*, CSSPrimitiveValue*, RenderStyle*, RenderStyle*
rootStyle
, const IntSize&);
157
float resolveRadius(CSSPrimitiveValue*, RenderStyle*, RenderStyle*
rootStyle
, float* widthOrHeight = 0);
MediaQueryMatcher.cpp
90
RefPtr<RenderStyle>
rootStyle
= styleSelector->styleForElement(documentElement, 0 /*defaultParent*/, false /*allowSharing*/, true /*resolveForRootDefault*/);
92
return adoptPtr(new MediaQueryEvaluator(mediaType(), m_document->frame(),
rootStyle
.get()));
MediaQueryEvaluator.cpp
313
RenderStyle*
rootStyle
= frame->document()->documentElement()->renderStyle();
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();
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();
339
return value->isPrimitiveValue() && compareValue(view->layoutHeight(), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style,
rootStyle
), op);
347
RenderStyle*
rootStyle
= frame->document()->documentElement()->renderStyle();
350
return value->isPrimitiveValue() && compareValue(view->layoutWidth(), static_cast<CSSPrimitiveValue*>(value)->computeLengthInt(style,
rootStyle
), op);
CSSStyleSelector.h
186
static bool createTransformOperations(CSSValue* inValue, RenderStyle* inStyle, RenderStyle*
rootStyle
, TransformOperations& outOperations);
CSSStyleSelector.cpp
[
all
...]
Completed in 307 milliseconds