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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 190
191 unsigned m_touchAction : TouchActionBits; // TouchAction 191 unsigned m_touchAction : TouchActionBits; // TouchAction
192 192
193 unsigned m_objectFit : 3; // ObjectFit 193 unsigned m_objectFit : 3; // ObjectFit
194 194
195 unsigned m_isolation : 1; // Isolation 195 unsigned m_isolation : 1; // Isolation
196 196
197 unsigned m_justifySelf : 4; // ItemPosition 197 unsigned m_justifySelf : 4; // ItemPosition
198 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment 198 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment
199 199
200 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third
201 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
202 unsigned m_scrollBehavior: 2;
203
200 private: 204 private:
201 StyleRareNonInheritedData(); 205 StyleRareNonInheritedData();
202 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 206 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
203 }; 207 };
204 208
205 } // namespace WebCore 209 } // namespace WebCore
206 210
207 #endif // StyleRareNonInheritedData_h 211 #endif // StyleRareNonInheritedData_h
OLDNEW
« 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