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

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

Issue 2145823002: Implement the overflow-anchor CSS property as an opt-out for ScrollAnchoring (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Put opt-out behind RuntimeEnabledFeature and update tests Created 4 years, 5 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.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
index b0b2204dec5d9fe9f107349381a05cb29b66ccee..8f5d6fb33f8b9fe0804b06bc60f51b422a48628d 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp
@@ -294,6 +294,7 @@ void ComputedStyle::copyNonInheritedFromCached(const ComputedStyle& other)
// See comments for each skipped flag below.
m_nonInheritedData.m_effectiveDisplay = other.m_nonInheritedData.m_effectiveDisplay;
m_nonInheritedData.m_originalDisplay = other.m_nonInheritedData.m_originalDisplay;
+ m_nonInheritedData.m_overflowAnchor = other.m_nonInheritedData.m_overflowAnchor;
m_nonInheritedData.m_overflowX = other.m_nonInheritedData.m_overflowX;
m_nonInheritedData.m_overflowY = other.m_nonInheritedData.m_overflowY;
m_nonInheritedData.m_verticalAlign = other.m_nonInheritedData.m_verticalAlign;
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | third_party/WebKit/Source/core/style/ComputedStyleConstants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698