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

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

Issue 2562703003: Make AlgorithmForInputNode use original constraint space (Closed)
Patch Set: Make AlgorithmForInputNode use container constraint space Created 4 years 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_block_layout_algorithm_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
index 195b4b0a4bce9376fedcffa2aa5d7709c6723dfe..1edba9c7e7d1f302886a2921d4357862469f829d 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc
@@ -25,6 +25,7 @@ NGConstraintSpace* ConstructConstraintSpace(NGWritingMode writing_mode,
.SetAvailableSize(size)
.SetPercentageResolutionSize(size)
.SetTextDirection(direction)
+ .SetWritingMode(writing_mode)
.ToConstraintSpace();
}
@@ -387,7 +388,7 @@ TEST_F(NGBlockLayoutAlgorithmTest, CollapsingMarginsCase4) {
// </div>
TEST_F(NGBlockLayoutAlgorithmTest, CollapsingMarginsCase5) {
const int kVerticalDivMarginRight = 60;
- const int kVerticalDivWidth = 60;
+ const int kVerticalDivWidth = 50;
const int kHorizontalDivMarginLeft = 100;
style_->setWidth(Length(500, Fixed));

Powered by Google App Engine
This is Rietveld 408576698