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

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

Issue 1530303003: Implement Layout Containment (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add additional test case and descriptions 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/ComputedStyle.h
diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.h b/third_party/WebKit/Source/core/style/ComputedStyle.h
index 2e1b0ea97fb95b994955fc741a22ad68f2f8a740..a13ce90027d920eb87b899b81bf0de6f0820921b 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyle.h
+++ b/third_party/WebKit/Source/core/style/ComputedStyle.h
@@ -827,6 +827,7 @@ public:
Containment contain() const { return static_cast<Containment>(rareNonInheritedData->m_contain); }
bool containsPaint() const { return rareNonInheritedData->m_contain & ContainsPaint; }
+ bool containsLayout() const { return rareNonInheritedData->m_contain & ContainsLayout; }
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