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

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: Addressed comments 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
Index: Source/core/layout/line/LineLayoutState.h
diff --git a/Source/core/layout/line/LineLayoutState.h b/Source/core/layout/line/LineLayoutState.h
index 7ac7e8c96fd80a23a4d40c1a16d52765ecfdf89b..d112820274fc269585a13f39e843bfa8b48afaa5 100644
--- a/Source/core/layout/line/LineLayoutState.h
+++ b/Source/core/layout/line/LineLayoutState.h
@@ -42,6 +42,7 @@ public:
, m_checkForFloatsFromLastLine(false)
, m_hasInlineChild(false)
, m_isFullLayout(fullLayout)
+ , m_containsBRWithClear(false)
, m_paintInvalidationLogicalTop(paintInvalidationLogicalTop)
, m_paintInvalidationLogicalBottom(paintInvalidationLogicalBottom)
, m_adjustedLogicalLineTop(0)
@@ -76,6 +77,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; }
@@ -113,6 +117,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;
« Source/core/layout/LayoutBlockFlowLine.cpp ('K') | « Source/core/layout/LayoutBlockFlowLine.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698