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. |