Searched defs:styleToUse (Results 1 - 18 of 18) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/rendering/
H A DRenderSlider.cpp67 RenderStyle* styleToUse = style(); local
69 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
70 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
74 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
75 m_maxPreferredLogicalWidth = max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
76 m_minPreferredLogicalWidth = max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
79 if (styleToUse->maxWidth().isFixed()) {
80 m_maxPreferredLogicalWidth = min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse
[all...]
H A DRenderFileUploadControl.cpp176 RenderStyle* styleToUse = style(); local
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 = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
185 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
188 if (styleToUse->maxWidth().isFixed()) {
189 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse
[all...]
H A DRenderTextControl.cpp261 RenderStyle* styleToUse = style(); local
263 if (styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0)
264 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
268 if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) {
269 m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
270 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
273 if (styleToUse->logicalMaxWidth().isFixed()) {
274 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse
[all...]
H A DRenderReplaced.cpp450 RenderStyle* styleToUse = style(); local
451 if (styleToUse->logicalWidth().isPercent() || styleToUse->logicalMaxWidth().isPercent())
454 if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) {
455 m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
456 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
459 if (styleToUse->logicalMaxWidth().isFixed()) {
460 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMaxWidth().value()));
461 m_minPreferredLogicalWidth = std::min(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse
[all...]
H A DRenderBoxModelObject.cpp126 RenderStyle* styleToUse = style(); local
127 ASSERT(styleToUse);
128 return hasBackground() || styleToUse->hasBorder() || styleToUse->hasAppearance() || styleToUse->boxShadow();
135 RenderStyle* styleToUse = style(); local
137 setInline(styleToUse->isDisplayInlineType());
138 setPositionState(styleToUse->position());
139 setHorizontalWritingMode(styleToUse->isHorizontalWritingMode());
H A DRenderMenuList.cpp349 RenderStyle* styleToUse = style(); local
351 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
352 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
356 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
357 m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
358 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
361 if (styleToUse->maxWidth().isFixed()) {
362 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse
[all...]
H A DRenderDeprecatedFlexibleBox.cpp223 RenderStyle* styleToUse = style(); local
225 if (styleToUse->width().isFixed() && styleToUse->width().value() > 0)
226 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->width().value());
230 if (styleToUse->minWidth().isFixed() && styleToUse->minWidth().value() > 0) {
231 m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
232 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->minWidth().value()));
235 if (styleToUse->maxWidth().isFixed()) {
236 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse
[all...]
H A DInlineTextBox.cpp218 RenderStyle* styleToUse = renderer().style(isFirstLineStyle()); local
219 const Font& font = styleToUse->font();
223 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
432 RenderStyle* styleToUse = renderer().style(isFirstLineStyle()); local
434 adjustedPaintOffset.move(0, styleToUse->isHorizontalWritingMode() ? 0 : -logicalHeight());
440 RenderCombineText* combinedText = styleToUse->hasTextCombine() && renderer().isCombineText() && toRenderCombineText(renderer()).isCombined() ? &toRenderCombineText(renderer()) : 0;
451 TextPainter::Style textStyle = TextPainter::textPaintingStyle(renderer(), styleToUse, paintInfo.forceBlackText(), isPrinting);
457 const Font& font = styleToUse->font();
467 paintCompositionBackgrounds(context, boxOrigin, styleToUse, font, useCustomUnderlines);
470 paintDocumentMarkers(context, boxOrigin, styleToUse, fon
902 RenderStyle* styleToUse = renderer().style(isFirstLineStyle()); local
1198 RenderStyle* styleToUse = text.style(isFirstLineStyle()); local
1235 RenderStyle* styleToUse = renderer().style(isFirstLineStyle()); local
[all...]
H A DRenderBox.h299 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); variable
300 return m_marginBox.start(styleToUse->writingMode(), styleToUse->direction());
304 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); variable
305 return m_marginBox.end(styleToUse->writingMode(), styleToUse->direction());
311 const RenderStyle* styleToUse = overrideStyle ? overrideStyle : style(); local
312 m_marginBox.setStart(styleToUse->writingMode(), styleToUse->direction(), value);
316 const RenderStyle* styleToUse local
[all...]
H A DRenderTable.cpp681 RenderStyle* styleToUse = style(); local
683 if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) {
684 m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
685 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
689 if (styleToUse->logicalMaxWidth().isFixed()) {
691 m_maxPreferredLogicalWidth = std::min(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMaxWidth().value()));
H A DRenderBlockLineLayout.cpp785 RenderStyle* styleToUse = style(); local
835 VisualDirectionOverride override = (styleToUse->rtlOrdering() == VisualOrder ? (styleToUse->direction() == LTR ? VisualLeftToRightOverride : VisualRightToLeftOverride) : NoVisualOverride);
836 if (isNewUBAParagraph && styleToUse->unicodeBidi() == Plaintext && !resolver.context()->parent()) {
838 resolver.setStatus(BidiStatus(direction, isOverride(styleToUse->unicodeBidi())));
1198 RenderStyle* styleToUse = style(); local
1210 bool allowImagesToBreak = !document().inQuirksMode() || !isTableCell() || !styleToUse->logicalWidth().isIntrinsicOrAuto();
1213 autoWrap = oldAutoWrap = styleToUse->autoWrap();
1222 LayoutUnit textIndent = minimumValueForLength(styleToUse->textIndent(), cw);
1400 childMin, childMax, stripFrontSpaces, styleToUse
[all...]
H A DRenderText.cpp911 RenderStyle* styleToUse = style(); local
912 const Font& f = styleToUse->font(); // FIXME: This ignores first-line.
913 float wordSpacing = styleToUse->wordSpacing();
915 LazyLineBreakIterator breakIterator(m_text, styleToUse->locale());
927 bool breakAll = (styleToUse->wordBreak() == BreakAllWordBreak || styleToUse->wordBreak() == BreakWordBreak) && styleToUse->autoWrap();
932 TextDirection textDirection = styleToUse->direction();
933 if (isOverride(styleToUse->unicodeBidi())) {
964 if (styleToUse
[all...]
H A DRenderObject.cpp2769 RenderStyle* styleToUse = 0; local
2774 styleToUse = curr->style(firstlineStyle);
2775 currDecs = styleToUse->textDecoration();
2777 resultColor = styleToUse->visitedDependentDecorationColor();
2778 resultStyle = styleToUse->textDecorationStyle();
2806 styleToUse = curr->style(firstlineStyle);
2807 resultColor = styleToUse->visitedDependentDecorationColor();
H A DRenderObject.h812 inline Color resolveColor(const RenderStyle* styleToUse, int colorProperty) const argument
814 return styleToUse->visitedDependentColor(colorProperty);
H A DRenderBlock.cpp3187 RenderStyle* styleToUse = style(); local
3188 if (!isTableCell() && styleToUse->logicalWidth().isFixed() && styleToUse->logicalWidth().value() >= 0
3189 && !(isDeprecatedFlexItem() && !styleToUse->logicalWidth().intValue()))
3190 m_minPreferredLogicalWidth = m_maxPreferredLogicalWidth = adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalWidth().value());
3194 if (styleToUse->logicalMinWidth().isFixed() && styleToUse->logicalMinWidth().value() > 0) {
3195 m_maxPreferredLogicalWidth = std::max(m_maxPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
3196 m_minPreferredLogicalWidth = std::max(m_minPreferredLogicalWidth, adjustContentBoxLogicalWidthForBoxSizing(styleToUse->logicalMinWidth().value()));
3199 if (styleToUse
3243 RenderStyle* styleToUse = style(); local
[all...]
H A DRenderBox.cpp267 RenderStyle* styleToUse = style(); local
275 setFloating(!isOutOfFlowPositioned() && styleToUse->isFloating());
278 if (!styleToUse->isOverflowVisible() && isRenderBlock() && !isViewObject) {
293 setHasTransform(styleToUse->hasTransformRelatedProperty());
294 setHasReflection(styleToUse->boxReflect());
525 RenderStyle* styleToUse = style(); local
526 if (!styleToUse->logicalMaxWidth().isMaxSizeNone())
527 logicalWidth = std::min(logicalWidth, computeLogicalWidthUsing(MaxSize, styleToUse->logicalMaxWidth(), availableWidth, cb));
528 return std::max(logicalWidth, computeLogicalWidthUsing(MinSize, styleToUse->logicalMinWidth(), availableWidth, cb));
533 RenderStyle* styleToUse local
544 RenderStyle* styleToUse = style(); local
1757 RenderStyle* styleToUse = style(); local
1932 RenderStyle* styleToUse = style(); local
3171 RenderStyle* styleToUse = style(); local
[all...]
/external/chromium_org/third_party/WebKit/Source/core/paint/
H A DInlinePainter.cpp28 RenderStyle* styleToUse = m_renderInline.style(); local
29 if (!styleToUse->hasOutline())
32 if (styleToUse->outlineStyleIsAuto()) {
35 ObjectPainter(m_renderInline).paintFocusRing(paintInfo, paintOffset, styleToUse);
40 if (styleToUse->outlineStyle() == BNONE)
54 Color outlineColor = m_renderInline.resolveColor(styleToUse, CSSPropertyOutlineColor);
73 RenderStyle* styleToUse = m_renderInline.style(); local
74 int outlineWidth = styleToUse->outlineWidth();
75 EBorderStyle outlineStyle = styleToUse->outlineStyle();
H A DObjectPainter.cpp30 RenderStyle* styleToUse = m_renderObject.style(); local
31 if (!styleToUse->hasOutline())
34 LayoutUnit outlineWidth = styleToUse->outlineWidth();
36 int outlineOffset = styleToUse->outlineOffset();
38 if (styleToUse->outlineStyleIsAuto()) {
41 paintFocusRing(paintInfo, paintRect.location(), styleToUse);
46 if (styleToUse->outlineStyle() == BNONE)
59 EBorderStyle outlineStyle = styleToUse->outlineStyle();
60 Color outlineColor = m_renderObject.resolveColor(styleToUse, CSSPropertyOutlineColor);

Completed in 244 milliseconds