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

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

Issue 2883353005: [LayoutNG] Refactor main-loop of block layout algorithm. (Closed)
Patch Set: rebase unused var. 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 | « third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
index 1ca009956329ba579eea408887ba52609da840a3..ae697ca92989c53d76e8391dbf45f9528762d669 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_layout_input_node.h
@@ -31,6 +31,10 @@ class CORE_EXPORT NGLayoutInputNode
bool IsFloating() const { return IsBlock() && Style().IsFloating(); }
+ bool IsOutOfFlowPositioned() const {
+ return IsBlock() && Style().HasOutOfFlowPosition();
+ }
+
virtual ~NGLayoutInputNode(){};
// Performs layout on this input node, will return the layout result.
« no previous file with comments | « third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698