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

Unified Diff: Source/core/layout/line/LineLayoutState.h

Issue 1102953002: BR styled clear is ignored while partially relayouting. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comment updated. Created 5 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 | « Source/core/layout/LayoutBlockFlowLine.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/line/LineLayoutState.h
diff --git a/Source/core/layout/line/LineLayoutState.h b/Source/core/layout/line/LineLayoutState.h
index 9ea76fcdea0ee916bea020e31b2c81933c2d3219..ab0ccec9b108a24a52eee52908ab72e99787a76b 100644
--- a/Source/core/layout/line/LineLayoutState.h
+++ b/Source/core/layout/line/LineLayoutState.h
@@ -41,6 +41,7 @@ public:
, m_endLineMatched(false)
, m_hasInlineChild(false)
, m_isFullLayout(fullLayout)
+ , m_containsBRWithClear(false)
, m_paintInvalidationLogicalTop(paintInvalidationLogicalTop)
, m_paintInvalidationLogicalBottom(paintInvalidationLogicalBottom)
, m_adjustedLogicalLineTop(0)
@@ -72,6 +73,9 @@ public:
bool hasInlineChild() const { return m_hasInlineChild; }
void setHasInlineChild(bool hasInlineChild) { m_hasInlineChild = hasInlineChild; }
+ bool containsBRWithClear() const { return m_containsBRWithClear; }
+ void setContainsBRWithClear(bool containsBRWithClear) { m_containsBRWithClear = containsBRWithClear; }
+
LineInfo& lineInfo() { return m_lineInfo; }
const LineInfo& lineInfo() const { return m_lineInfo; }
@@ -108,6 +112,8 @@ private:
bool m_isFullLayout;
+ bool m_containsBRWithClear;
+
// FIXME: Should this be a range object instead of two ints?
LayoutUnit& m_paintInvalidationLogicalTop;
LayoutUnit& m_paintInvalidationLogicalBottom;
« no previous file with comments | « Source/core/layout/LayoutBlockFlowLine.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698