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

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

Issue 2829593002: (CANCELED) [LayoutNG] Use ChildrenInline() to determine if children are inline (Closed)
Patch Set: Add TestExpectations Created 3 years, 8 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_block_node_test.cc
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc b/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc
index d3becbc086b9845c4ec174e69290d1588d4a7e2e..6be6c956a70ff34ec20592bee074fb3a64ed296b 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc
+++ b/third_party/WebKit/Source/core/layout/ng/ng_block_node_test.cc
@@ -109,7 +109,7 @@ TEST_F(NGBlockNodeForTest, ChildFloatOnly) {
NGBlockNode* container =
new NGBlockNode(GetLayoutObjectByElementId("container"));
NGLayoutInputNode* child1 = container->FirstChild();
- EXPECT_TRUE(child1 && child1->IsBlock());
+ EXPECT_TRUE(child1 && child1->IsInline());
NGLayoutInputNode* child2 = child1->NextSibling();
EXPECT_EQ(child2, nullptr);
}
@@ -127,7 +127,7 @@ TEST_F(NGBlockNodeForTest, ChildFloatWithSpaces) {
NGBlockNode* container =
new NGBlockNode(GetLayoutObjectByElementId("container"));
NGLayoutInputNode* child1 = container->FirstChild();
- EXPECT_TRUE(child1 && child1->IsBlock());
+ EXPECT_TRUE(child1 && child1->IsInline());
NGLayoutInputNode* child2 = child1->NextSibling();
EXPECT_EQ(child2, nullptr);
}

Powered by Google App Engine
This is Rietveld 408576698