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

Side by Side Diff: Source/core/rendering/style/StyleRareNonInheritedData.h

Issue 333423005: [CSS Grid Layout] Implement 'justify-items' parsing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch rebased. Created 6 years, 5 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
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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 unsigned m_hasAspectRatio : 1; // Whether or not an aspect ratio has been sp ecified. 183 unsigned m_hasAspectRatio : 1; // Whether or not an aspect ratio has been sp ecified.
184 184
185 unsigned m_effectiveBlendMode: 5; // EBlendMode 185 unsigned m_effectiveBlendMode: 5; // EBlendMode
186 186
187 unsigned m_touchAction : TouchActionBits; // TouchAction 187 unsigned m_touchAction : TouchActionBits; // TouchAction
188 188
189 unsigned m_objectFit : 3; // ObjectFit 189 unsigned m_objectFit : 3; // ObjectFit
190 190
191 unsigned m_isolation : 1; // Isolation 191 unsigned m_isolation : 1; // Isolation
192 192
193 unsigned m_justifyItems : 4; // ItemPosition
194 unsigned m_justifyItemsOverflowAlignment : 2; // OverflowAlignment
195 unsigned m_justifyItemsPositionType: 1; // Whether or not alignment uses the 'legacy' keyword.
196
193 unsigned m_justifySelf : 4; // ItemPosition 197 unsigned m_justifySelf : 4; // ItemPosition
194 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment 198 unsigned m_justifySelfOverflowAlignment : 2; // OverflowAlignment
195 199
196 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third 200 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi or has a third
197 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed. 201 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are needed.
198 unsigned m_scrollBehavior: 2; 202 unsigned m_scrollBehavior: 2;
199 203
200 // Plugins require accelerated compositing for reasons external to blink. 204 // Plugins require accelerated compositing for reasons external to blink.
201 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect, 205 // In which case, we need to update the RenderStyle on the RenderEmbeddedObj ect,
202 // so store this bit so that the style actually changes when the plugin 206 // so store this bit so that the style actually changes when the plugin
203 // becomes composited. 207 // becomes composited.
204 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; 208 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1;
205 209
206 private: 210 private:
207 StyleRareNonInheritedData(); 211 StyleRareNonInheritedData();
208 StyleRareNonInheritedData(const StyleRareNonInheritedData&); 212 StyleRareNonInheritedData(const StyleRareNonInheritedData&);
209 }; 213 };
210 214
211 } // namespace WebCore 215 } // namespace WebCore
212 216
213 #endif // StyleRareNonInheritedData_h 217 #endif // StyleRareNonInheritedData_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698