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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.h

Issue 1421423003: Require spanners to have the multicol container as their nearest block formatting context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test for bug 529737 Created 5 years, 2 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/LayoutBlock.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.h b/third_party/WebKit/Source/core/layout/LayoutBlock.h
index eb344ca69620b1060b448059b055069ed14e2685..b7c5cf8ea9bfbfcceecb8b39974603c141c97bba 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.h
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.h
@@ -132,6 +132,8 @@ public:
LayoutUnit minLineHeightForReplacedObject(bool isFirstLine, LayoutUnit replacedHeight) const;
+ bool createsNewFormattingContext() const;
+
const LineBoxList& lineBoxes() const { return m_lineBoxes; }
LineBoxList* lineBoxes() { return &m_lineBoxes; }
@@ -448,8 +450,6 @@ protected:
// is 800. AssociateWithFormerPage will simply return 800.
LayoutUnit nextPageLogicalTop(LayoutUnit logicalOffset, PageBoundaryRule) const;
- bool createsNewFormattingContext() const;
-
// Paginated content inside this block was laid out.
// |logicalTopOffsetAfterPagination| is the logical top offset of the child content after
// applying any forced or unforced break, if needed.

Powered by Google App Engine
This is Rietveld 408576698