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

Unified Diff: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc

Issue 2347773002: [LayoutNG] Fix broken layout while using CSS's writing modes. (Closed)
Patch Set: synced to the head 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
Index: third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
index b5db6a685177a34b8ea5f1832280175f52c4a43f..50281b32ce9846b65029ff0d7fb3dc2c3db65635 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_opportunity_iterator.cc
@@ -70,6 +70,7 @@ NGConstraintSpace* NGLayoutOpportunityIterator::Next() {
if (filtered_exclusions_.isEmpty() && current_exclusion_idx_ == 0) {
current_exclusion_idx_++;
return new NGConstraintSpace(constraint_space_->WritingMode(),
+ constraint_space_->Direction(),
constraint_space_->PhysicalSpace());
}

Powered by Google App Engine
This is Rietveld 408576698