Index: third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
diff --git a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
index 5e92b80a77193376c0294c85199a66a6695ff63d..de48825bae6b51e3f420d49b431d536febdfb2e0 100644 |
--- a/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
+++ b/third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp |
@@ -125,6 +125,8 @@ void InlineFlowBox::addToLine(InlineBox* child) |
} |
if (childStyle.hasTextCombine() || childStyle.getTextEmphasisMark() != TextEmphasisMarkNone) |
shouldClearDescendantsHaveSameLineHeightAndBaseline = true; |
+ if (isFirstLineStyle() && child->isInlineTextBox()) |
+ toInlineTextBox(child)->transformText(); |
} else { |
if (child->getLineLayoutItem().isBR()) { |
// FIXME: This is dumb. We only turn off because current layout test results expect the <br> to be 0-height on the baseline. |