HomeSort by relevance Sort by last modified time
    Searched defs:styleToUse (Results 1 - 18 of 18) sorted by null

  /external/chromium_org/third_party/WebKit/Source/core/rendering/
RenderSlider.cpp 65 RenderStyle* styleToUse = style();
67 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
68 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
72 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
73 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
74 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
77 if (styleToUse->maxWidth().isFixed()) {
78 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()))
    [all...]
RenderFileUploadControl.cpp 176 RenderStyle* styleToUse = style();
178 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
179 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
183 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
184 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
185 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
188 if (styleToUse->maxWidth().isFixed()) {
189 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()))
    [all...]
RenderTextControl.cpp 263 RenderStyle* styleToUse = style();
265 if (styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0)
266 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
270 if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) {
271 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
272 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
275 if (styleToUse->logicalMaxWidth().isFixed()) {
276 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMaxWidth().value()))
    [all...]
RenderMenuList.cpp 335 RenderStyle* styleToUse = style();
337 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
338 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
342 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
343 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
344 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
347 if (styleToUse->maxWidth().isFixed()) {
348 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()))
    [all...]
RenderReplaced.cpp 484 RenderStyle* styleToUse = style();
485 if (styleToUse->logicalWidth().isPercent() || styleToUse->logicalMaxWidth().isPercent())
488 if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) {
489 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
490 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
493 if (styleToUse->logicalMaxWidth().isFixed()) {
494 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMaxWidth().value()));
495 m_minPreferredLogicalWidth = min(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMaxWidth().value()))
    [all...]
RenderDeprecatedFlexibleBox.cpp 232 RenderStyle* styleToUse = style();
234 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
235 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
239 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
240 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
241 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
244 if (styleToUse->maxWidth().isFixed()) {
245 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()))
    [all...]
RenderListBox.cpp 241 RenderStyle* styleToUse = style();
243 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
244 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
248 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
249 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
250 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
253 if (styleToUse->maxWidth().isFixed()) {
254 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->maxWidth().value()))
    [all...]
RenderTable.cpp     [all...]
InlineFlowBox.cpp     [all...]
InlineTextBox.cpp 210 RenderStyle* styleToUse = textRenderer().style(isFirstLineStyle());
211 const Font& font = styleToUse->font();
215 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
526 RenderStyle* styleToUse = rendererToUse.style(isFirstLineStyle());
528 adjustedPaintOffset.move(0, styleToUse->isHorizontalWritingMode() ? 0 : -logicalHeight());
534 RenderCombineText* combinedText = styleToUse->hasTextCombine() && textRenderer().isCombineText() && toRenderCombineText(textRenderer()).isCombined() ? &toRenderCombineText(textRenderer()) : 0;
548 float textStrokeWidth = styleToUse->textStrokeWidth();
551 const ShadowList* textShadow = (context->printing() || paintInfo.forceBlackText()) ? 0 : styleToUse->textShadow();
558 textFillColor = rendererToUse.resolveColor(styleToUse, CSSPropertyWebkitTextFillColor);
562 if (styleToUse->printColorAdjust() == PrintColorAdjustEconomy
    [all...]
RenderBox.h 298 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style();
299 return m_marginBox.start(styleToUse->writingMode(), styleToUse->direction());
303 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style();
304 return m_marginBox.end(styleToUse->writingMode(), styleToUse->direction());
310 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style();
311 m_marginBox.setStart(styleToUse->writingMode(), styleToUse->direction(), value);
315 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style()
    [all...]
RenderInline.cpp     [all...]
RenderText.cpp     [all...]
RenderBlockLineLayout.cpp     [all...]
RenderBoxModelObject.cpp 133 RenderStyle* styleToUse = style();
134 ASSERT(styleToUse);
135 return hasBackground() || styleToUse->hasBorder() || styleToUse->hasAppearance() || styleToUse->boxShadow();
142 RenderStyle* styleToUse = style();
144 setInline(styleToUse->isDisplayInlineType());
145 setPositionState(styleToUse->position());
146 setHorizontalWritingMode(styleToUse->isHorizontalWritingMode());
    [all...]
RenderObject.cpp     [all...]
RenderBlock.cpp     [all...]
RenderBox.cpp 277 RenderStyle* styleToUse = style();
285 setFloating(!isOutOfFlowPositioned() && styleToUse->isFloating());
288 if (!styleToUse->isOverflowVisible() && isRenderBlock() && !isViewObject) {
310 setHasTransform(styleToUse->hasTransformRelatedProperty());
311 setHasReflection(styleToUse->boxReflect());
546 RenderStyle* styleToUse = style();
547 if (!styleToUse->logicalMaxWidth().isUndefined())
548 logicalWidth = min(logicalWidth, computeLogicalWidthUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb));
549 return max(logicalWidth, computeLogicalWidthUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb));
554 RenderStyle* styleToUse = style()
    [all...]

Completed in 1081 milliseconds