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

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

Issue 2943983002: [LayoutNG] Implement CSS 'text-indent' property (Closed)
Patch Set: Cleanup 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 ba4d9182f3676ad6bcb763dfd5bbb72ca62a9b66..a0ee09152df607474548578c6fd54e82c62fa4a6 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -1700,6 +1700,10 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
using ComputedStyleBase::GetTextAlign;
ETextAlign GetTextAlign(bool is_last_line) const;
+ // text-indent utility functions.
+ bool ShouldUseTextIndent(bool is_first_line,
+ bool is_after_forced_break) const;
+
// Line-height utility functions.
const Length& SpecifiedLineHeight() const;
int ComputedLineHeight() const;

Powered by Google App Engine
This is Rietveld 408576698