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

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

Issue 1519123003: Implement Style Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add test Created 4 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 e44f182d5d4ebe55bb09ec6a67bed842cc87a865..a3b8455740ec2f75e1099c5d73d34fe95edcae74 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -828,6 +828,7 @@ public:
Containment contain() const { return static_cast<Containment>(rareNonInheritedData->m_contain); }
bool containsPaint() const { return rareNonInheritedData->m_contain & ContainsPaint; }
+ bool containsStyle() const { return rareNonInheritedData->m_contain & ContainsStyle; }
EBoxSizing boxSizing() const { return m_box->boxSizing(); }
EUserModify userModify() const { return static_cast<EUserModify>(rareInheritedData->userModify); }

Powered by Google App Engine
This is Rietveld 408576698