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

Unified Diff: third_party/WebKit/Source/core/style/StyleMultiColData.cpp

Issue 1681273003: Add CSS parser support for break-after, break-before and break-inside. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase master Created 4 years, 10 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 | « third_party/WebKit/Source/core/style/StyleMultiColData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/style/StyleMultiColData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleMultiColData.cpp b/third_party/WebKit/Source/core/style/StyleMultiColData.cpp
index ed85492753977865a18ca000635f798ef8b71a12..275b3c77faf36007417396f0cb87c238c299bda1 100644
--- a/third_party/WebKit/Source/core/style/StyleMultiColData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleMultiColData.cpp
@@ -35,9 +35,6 @@ StyleMultiColData::StyleMultiColData()
, m_normalGap(true)
, m_fill(ComputedStyle::initialColumnFill())
, m_columnSpan(false)
- , m_breakBefore(ComputedStyle::initialPageBreak())
- , m_breakAfter(ComputedStyle::initialPageBreak())
- , m_breakInside(ComputedStyle::initialPageBreak())
{
}
@@ -53,19 +50,15 @@ StyleMultiColData::StyleMultiColData(const StyleMultiColData& o)
, m_normalGap(o.m_normalGap)
, m_fill(o.m_fill)
, m_columnSpan(o.m_columnSpan)
- , m_breakBefore(o.m_breakBefore)
- , m_breakAfter(o.m_breakAfter)
- , m_breakInside(o.m_breakInside)
{
}
bool StyleMultiColData::operator==(const StyleMultiColData& o) const
{
return m_width == o.m_width && m_count == o.m_count && m_gap == o.m_gap
- && m_rule == o.m_rule && m_visitedLinkColumnRuleColor == o.m_visitedLinkColumnRuleColor && m_breakBefore == o.m_breakBefore
+ && m_rule == o.m_rule && m_visitedLinkColumnRuleColor == o.m_visitedLinkColumnRuleColor
&& m_autoWidth == o.m_autoWidth && m_autoCount == o.m_autoCount && m_normalGap == o.m_normalGap
- && m_fill == o.m_fill && m_columnSpan == o.m_columnSpan
- && m_breakAfter == o.m_breakAfter && m_breakInside == o.m_breakInside;
+ && m_fill == o.m_fill && m_columnSpan == o.m_columnSpan;
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleMultiColData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698