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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2931563002: [LayoutNG] Implement 'text-align-last' (Closed)
Patch Set: Rebase Created 3 years, 6 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
Index: third_party/WebKit/Source/core/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index a3ae4a9eeec76ea8710c257c72f7c22fdae3d5f3..07b331879b3ae61969bb0aa18c65553a2018bc38 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -2427,6 +2427,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
Hyphenation* GetHyphenation() const;
const AtomicString& HyphenString() const;
+ // text-align utility functions.
+ using ComputedStyleBase::GetTextAlign;
+ ETextAlign GetTextAlign(bool is_last_line) const;
+
// Line-height utility functions.
const Length& SpecifiedLineHeight() const;
int ComputedLineHeight() const;

Powered by Google App Engine
This is Rietveld 408576698