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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyle.h

Issue 2657073003: Moved overflow-anchor property to be generated in ComputedStyleBase. (Closed)
Patch Set: Rebase Created 3 years, 11 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/style/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index f8b43e85254401b46badced6ed2d3c03c967c555..905e41f89e85dba1c9a096152e00ac3caaf0b481 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -222,7 +222,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
bool operator==(const NonInheritedData& other) const {
return m_effectiveDisplay == other.m_effectiveDisplay &&
m_originalDisplay == other.m_originalDisplay &&
- m_overflowAnchor == other.m_overflowAnchor &&
m_overflowX == other.m_overflowX &&
m_overflowY == other.m_overflowY &&
m_verticalAlign == other.m_verticalAlign &&
@@ -251,7 +250,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
unsigned m_effectiveDisplay : 5; // EDisplay
unsigned m_originalDisplay : 5; // EDisplay
- unsigned m_overflowAnchor : 2; // EOverflowAnchor
unsigned m_overflowX : 3; // EOverflow
unsigned m_overflowY : 3; // EOverflow
unsigned m_verticalAlign : 4; // EVerticalAlign
@@ -307,8 +305,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
m_nonInheritedData.m_effectiveDisplay =
m_nonInheritedData.m_originalDisplay =
static_cast<unsigned>(initialDisplay());
- m_nonInheritedData.m_overflowAnchor =
- static_cast<unsigned>(initialOverflowAnchor());
m_nonInheritedData.m_overflowX = static_cast<unsigned>(initialOverflowX());
m_nonInheritedData.m_overflowY = static_cast<unsigned>(initialOverflowY());
m_nonInheritedData.m_verticalAlign =
@@ -1476,18 +1472,6 @@ class CORE_EXPORT ComputedStyle : public ComputedStyleBase,
SET_VAR(m_rareNonInheritedData, m_outline.m_offset, v);
}
- // Overflow properties.
- // overflow-anchor
- static EOverflowAnchor initialOverflowAnchor() {
- return EOverflowAnchor::kAuto;
- }
- EOverflowAnchor overflowAnchor() const {
- return static_cast<EOverflowAnchor>(m_nonInheritedData.m_overflowAnchor);
- }
- void setOverflowAnchor(EOverflowAnchor v) {
- m_nonInheritedData.m_overflowAnchor = static_cast<unsigned>(v);
- }
-
// overflow-x
static EOverflow initialOverflowX() { return EOverflow::Visible; }
EOverflow overflowX() const {
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSProperties.json5 ('k') | third_party/WebKit/Source/core/style/ComputedStyle.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698