| Index: Source/core/rendering/InlineTextBox.cpp
|
| diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
|
| index ea9d086717a5e08c1a546ab9a6a699d1b9b17741..4563d4bd3e4b823cead47d22d3451821d452ac31 100644
|
| --- a/Source/core/rendering/InlineTextBox.cpp
|
| +++ b/Source/core/rendering/InlineTextBox.cpp
|
| @@ -1102,6 +1102,17 @@ void InlineTextBox::paintDecoration(GraphicsContext* context, const FloatPoint&
|
|
|
| context->setStrokeThickness(textDecorationThickness);
|
|
|
| + switch (decorationStyle) {
|
| + case TextDecorationStyleDotted:
|
| + case TextDecorationStyleDashed:
|
| + context->setShouldAntialias(RenderBoxModelObject::shouldAntialiasLines(context));
|
| + break;
|
| + case TextDecorationStyleSolid:
|
| + case TextDecorationStyleDouble:
|
| + case TextDecorationStyleWavy:
|
| + break;
|
| + }
|
| +
|
| float extraOffset = 0;
|
| if (!linesAreOpaque && shadowCount > 1) {
|
| FloatRect clipRect(localOrigin, FloatSize(width, baseline + 2));
|
|
|