Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(486)

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp

Issue 2331793002: Apply first-line transform-text style (Closed)
Patch Set: bug 129669 Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineTextBox.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
index 4a8558c2fee103c0a5b997c6737bad580ea39695..df1d153ecadb2fe4d9f1c241fbe5647802fc275e 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
@@ -607,6 +607,11 @@ String InlineTextBox::text() const
return getLineLayoutItem().text().substring(start(), len());
}
+void InlineTextBox::transformText()
+{
+ getLineLayoutItem().applyTextTransformFromTo(start(), len(), getLineLayoutItem().style(isFirstLineStyle()));
+}
+
#ifndef NDEBUG
void InlineTextBox::showBox(int printedCharacters) const
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineTextBox.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698