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

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

Issue 2893493003: Respect the clearance while positioning pending floats. (Closed)
Patch Set: git rebase-update 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
Index: third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h
diff --git a/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h b/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h
index 8cc4caefbf170b7c74ca5fb820b4ff408941cb16..c57d842e4b12c68e78339e99afc3287e0a98533f 100644
--- a/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h
+++ b/third_party/WebKit/Source/core/layout/ng/ng_unpositioned_float.h
@@ -10,6 +10,7 @@
#include "core/layout/ng/ng_block_break_token.h"
#include "core/layout/ng/ng_block_node.h"
#include "core/layout/ng/ng_exclusion.h"
+#include "core/style/ComputedStyleConstants.h"
#include "platform/wtf/Optional.h"
#include "platform/wtf/RefPtr.h"
@@ -89,6 +90,7 @@ struct CORE_EXPORT NGUnpositionedFloat
bool IsLeft() const;
bool IsRight() const;
+ EClear ClearType() const;
private:
NGUnpositionedFloat(const NGBoxStrut& margins,

Powered by Google App Engine
This is Rietveld 408576698