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

Unified Diff: Source/core/rendering/style/StyleRareNonInheritedData.h

Issue 140253004: Implement 'scroll-behavior' parsing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address review comments Created 6 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: Source/core/rendering/style/StyleRareNonInheritedData.h
diff --git a/Source/core/rendering/style/StyleRareNonInheritedData.h b/Source/core/rendering/style/StyleRareNonInheritedData.h
index bf09ba8fe452cb857fbd868ccf1cec48ebb2c167..93401c7a68a949c40195994f3132cdfaae96c7a2 100755
--- a/Source/core/rendering/style/StyleRareNonInheritedData.h
+++ b/Source/core/rendering/style/StyleRareNonInheritedData.h
@@ -197,6 +197,10 @@ public:
unsigned m_justifySelf : 4; // ItemPosition
unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment
+ // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavior has a third
+ // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
+ unsigned m_scrollBehavior: 2;
+
private:
StyleRareNonInheritedData();
StyleRareNonInheritedData(const StyleRareNonInheritedData&);
« no previous file with comments | « Source/core/rendering/style/RenderStyle.h ('k') | Source/core/rendering/style/StyleRareNonInheritedData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698