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

Unified Diff: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h

Issue 2906233002: [LayoutNG] Use logical left of the line box to apply text-align (Closed)
Patch Set: Fix NGInlineLayoutAlgorithmTest.TextFloatsAroundFloatsBefore Created 3 years, 7 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 | « no previous file | third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
diff --git a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
index 7e9e601c788089fe22635ceeef3d4f8be44c3366..6e211718081d091776db873c4e9c993f4f67207a 100644
--- a/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
+++ b/third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h
@@ -75,6 +75,10 @@ class CORE_EXPORT NGInlineLayoutAlgorithm final
NGLineBoxFragmentBuilder*,
NGTextFragmentBuilder*);
+ void ApplyTextAlign(LayoutUnit* line_left,
+ LayoutUnit inline_size,
+ LayoutUnit available_width);
+
// Finds the next layout opportunity for the next text fragment.
void FindNextLayoutOpportunity();
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698