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

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

Issue 1485973005: Add CSS support for Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test expectation Created 5 years 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/StyleRareNonInheritedData.cpp
diff --git a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
index 66e520e3f9201bcbc03389b00dc3c847fe952649..b432ac92de4664a4b3f82069edf108358e15609c 100644
--- a/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
+++ b/third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp
@@ -118,6 +118,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData()
, m_touchAction(ComputedStyle::initialTouchAction())
, m_objectFit(ComputedStyle::initialObjectFit())
, m_isolation(ComputedStyle::initialIsolation())
+ , m_contain(ComputedStyle::initialContain())
, m_scrollBehavior(ComputedStyle::initialScrollBehavior())
, m_scrollSnapType(ComputedStyle::initialScrollSnapType())
, m_requiresAcceleratedCompositingForExternalReasons(false)
@@ -199,6 +200,7 @@ StyleRareNonInheritedData::StyleRareNonInheritedData(const StyleRareNonInherited
, m_touchAction(o.m_touchAction)
, m_objectFit(o.m_objectFit)
, m_isolation(o.m_isolation)
+ , m_contain(o.m_contain)
, m_scrollBehavior(o.m_scrollBehavior)
, m_scrollSnapType(o.m_scrollSnapType)
, m_requiresAcceleratedCompositingForExternalReasons(o.m_requiresAcceleratedCompositingForExternalReasons)
@@ -289,6 +291,7 @@ bool StyleRareNonInheritedData::operator==(const StyleRareNonInheritedData& o) c
&& m_touchAction == o.m_touchAction
&& m_objectFit == o.m_objectFit
&& m_isolation == o.m_isolation
+ && m_contain == o.m_contain
&& m_scrollBehavior == o.m_scrollBehavior
&& m_scrollSnapType == o.m_scrollSnapType
&& m_requiresAcceleratedCompositingForExternalReasons == o.m_requiresAcceleratedCompositingForExternalReasons

Powered by Google App Engine
This is Rietveld 408576698