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

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

Issue 2636353002: [LayoutNG] Remove the state machine from ng_out_of_flow_layout_part. (Closed)
Patch Set: rebase. Created 3 years, 11 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 | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc » ('j') | 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_absolute_utils.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h
index 1513af443b68205fae6bc5a7c39d1007a9bee932..91e0eaf5cba0dadd915b82c31cfc2ccc5737ec3c 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.h
@@ -43,6 +43,11 @@ CORE_EXPORT bool AbsoluteNeedsChildInlineSize(const ComputedStyle&);
// estimated block size.
CORE_EXPORT bool AbsoluteNeedsChildBlockSize(const ComputedStyle&);
+// True if the container will contain an absolute child.
+CORE_EXPORT bool IsContainingBlockForAbsoluteChild(
+ const ComputedStyle& container_style,
+ const ComputedStyle& child_style);
+
// Compute part of position that depends on child's inline_size
// returns partially filled position.
CORE_EXPORT NGAbsolutePhysicalPosition
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/ng/ng_absolute_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698