| Index: Source/core/rendering/InlineTextBox.cpp
|
| diff --git a/Source/core/rendering/InlineTextBox.cpp b/Source/core/rendering/InlineTextBox.cpp
|
| index f9082487d529c95ed2706aa2e3838e306f012d84..6c9a772632123e6dc5cbd28d298d74cd46ee1854 100644
|
| --- a/Source/core/rendering/InlineTextBox.cpp
|
| +++ b/Source/core/rendering/InlineTextBox.cpp
|
| @@ -922,10 +922,8 @@ static int computeUnderlineOffset(const TextUnderlinePosition underlinePosition,
|
| // pixel gap, if underline is thick then use a bigger gap.
|
| const int gap = std::max<int>(1, ceilf(textDecorationThickness / 2.f));
|
|
|
| - // According to the specification TextUnderlinePositionAuto should default to 'alphabetic' for horizontal text
|
| - // and to 'under Left' for vertical text (e.g. japanese). We support only horizontal text for now.
|
| + // FIXME: We support only horizontal text for now.
|
| switch (underlinePosition) {
|
| - case TextUnderlinePositionAlphabetic:
|
| case TextUnderlinePositionAuto:
|
| return fontMetrics.ascent() + gap; // Position underline near the alphabetic baseline.
|
| case TextUnderlinePositionUnder: {
|
|
|