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

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: 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 unsigned m_scrollBehavior: 2; // ScrollBehavior
Julien - ping for review 2014/01/22 16:24:35 It's bad that we are using an extra bit for no goo
ajuma 2014/01/22 19:50:20 Added a comment.
201
200 private: 202 private:
201 StyleRareNonInheritedData(); 203 StyleRareNonInheritedData();
202 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 204 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
203 }; 205 };
204 206
205 } // namespace WebCore 207 } // namespace WebCore
206 208
207 #endif // StyleRareNonInheritedData_h 209 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698