Lines Matching defs:styleToUse
204 RenderStyle* styleToUse = textObj->style(isFirstLineStyle());
205 const Font& font = styleToUse->font();
209 TextRun textRun = constructTextRun(styleToUse, font, respectHyphen ? &charactersWithHyphen : 0);
525 RenderStyle* styleToUse = rendererToUse->style(isFirstLineStyle());
527 adjustedPaintOffset.move(0, styleToUse->isHorizontalWritingMode() ? 0 : -logicalHeight());
533 RenderCombineText* combinedText = styleToUse->hasTextCombine() && textRenderer()->isCombineText() && toRenderCombineText(textRenderer())->isCombined() ? toRenderCombineText(textRenderer()) : 0;
547 float textStrokeWidth = styleToUse->textStrokeWidth();
550 const ShadowData* textShadow = (context->printing() || paintInfo.forceBlackText()) ? 0 : styleToUse->textShadow();
557 textFillColor = rendererToUse->resolveColor(styleToUse, CSSPropertyWebkitTextFillColor);
561 if (styleToUse->printColorAdjust() == PrintColorAdjustEconomy)
571 textStrokeColor = rendererToUse->resolveColor(styleToUse, CSSPropertyWebkitTextStrokeColor);
577 emphasisMarkColor = rendererToUse->resolveColor(styleToUse, CSSPropertyWebkitTextEmphasisColor);
634 const Font& font = styleToUse->font();
646 paintCompositionBackground(context, boxOrigin, styleToUse, font,
651 paintDocumentMarkers(context, boxOrigin, styleToUse, font, true);
654 paintSelection(context, boxOrigin, styleToUse, font, selectionFillColor);
683 TextRun textRun = constructTextRun(styleToUse, font, string, maximumLength, hasHyphen() ? &charactersWithHyphen : 0);
700 bool hasTextEmphasis = getEmphasisMarkPosition(styleToUse, emphasisMarkPosition);
701 const AtomicString& emphasisMark = hasTextEmphasis ? styleToUse->textEmphasisMarkString() : nullAtom;
762 TextDecoration textDecorations = styleToUse->textDecorationsInEffect();
767 paintDecoration(context, boxOrigin, textDecorations, styleToUse->textDecorationStyle(), textShadow);
773 paintDocumentMarkers(context, boxOrigin, styleToUse, font, false);
1107 RenderStyle* styleToUse = renderer()->style(isFirstLineStyle());
1108 int baseline = styleToUse->fontMetrics().ascent();
1147 TextUnderlinePosition underlinePosition = styleToUse->textUnderlinePosition();
1148 const int underlineOffset = computeUnderlineOffset(underlinePosition, styleToUse->fontMetrics(), this, textDecorationThickness);
1150 const int underlineOffset = styleToUse->fontMetrics().ascent() + max<int>(1, ceilf(textDecorationThickness / 2.0));
1457 RenderStyle* styleToUse = text->style(isFirstLineStyle());
1458 ASSERT(styleToUse);
1459 const Font& font = styleToUse->font();
1463 return font.selectionRectForText(constructTextRun(styleToUse, font), IntPoint(logicalLeft(), 0), 0, from, to).maxX();