OLD | NEW |
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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 unsigned m_runningBackdropFilterAnimationOnCompositor : 1; | 182 unsigned m_runningBackdropFilterAnimationOnCompositor : 1; |
183 | 183 |
184 unsigned m_effectiveBlendMode: 5; // EBlendMode | 184 unsigned m_effectiveBlendMode: 5; // EBlendMode |
185 | 185 |
186 unsigned m_touchAction : TouchActionBits; // TouchAction | 186 unsigned m_touchAction : TouchActionBits; // TouchAction |
187 | 187 |
188 unsigned m_objectFit : 3; // ObjectFit | 188 unsigned m_objectFit : 3; // ObjectFit |
189 | 189 |
190 unsigned m_isolation : 1; // Isolation | 190 unsigned m_isolation : 1; // Isolation |
191 | 191 |
| 192 unsigned m_contain : 3; // Containment |
| 193 |
192 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi
or has a third | 194 // ScrollBehavior. 'scroll-behavior' has 2 accepted values, but ScrollBehavi
or has a third |
193 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are
needed. | 195 // value (that can only be specified using CSSOM scroll APIs) so 2 bits are
needed. |
194 unsigned m_scrollBehavior: 2; | 196 unsigned m_scrollBehavior: 2; |
195 | 197 |
196 unsigned m_scrollSnapType: 2; // ScrollSnapType | 198 unsigned m_scrollSnapType: 2; // ScrollSnapType |
197 | 199 |
198 // Plugins require accelerated compositing for reasons external to blink. | 200 // Plugins require accelerated compositing for reasons external to blink. |
199 // In which case, we need to update the ComputedStyle on the LayoutEmbeddedO
bject, | 201 // In which case, we need to update the ComputedStyle on the LayoutEmbeddedO
bject, |
200 // so store this bit so that the style actually changes when the plugin | 202 // so store this bit so that the style actually changes when the plugin |
201 // becomes composited. | 203 // becomes composited. |
202 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; | 204 unsigned m_requiresAcceleratedCompositingForExternalReasons: 1; |
203 | 205 |
204 // Whether the transform (if it exists) is stored in the element's inline st
yle. | 206 // Whether the transform (if it exists) is stored in the element's inline st
yle. |
205 unsigned m_hasInlineTransform : 1; | 207 unsigned m_hasInlineTransform : 1; |
206 unsigned m_resize : 2; // EResize | 208 unsigned m_resize : 2; // EResize |
207 unsigned m_hasCompositorProxy : 1; | 209 unsigned m_hasCompositorProxy : 1; |
208 | 210 |
209 // Style adjustment for appearance is disabled when certain properties are s
et. | 211 // Style adjustment for appearance is disabled when certain properties are s
et. |
210 unsigned m_hasAuthorBackground : 1; // Whether there is a author-defined bac
kground. | 212 unsigned m_hasAuthorBackground : 1; // Whether there is a author-defined bac
kground. |
211 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. | 213 unsigned m_hasAuthorBorder : 1; // Whether there is a author-defined border. |
212 | 214 |
213 private: | 215 private: |
214 StyleRareNonInheritedData(); | 216 StyleRareNonInheritedData(); |
215 StyleRareNonInheritedData(const StyleRareNonInheritedData&); | 217 StyleRareNonInheritedData(const StyleRareNonInheritedData&); |
216 }; | 218 }; |
217 | 219 |
218 } // namespace blink | 220 } // namespace blink |
219 | 221 |
220 #endif // StyleRareNonInheritedData_h | 222 #endif // StyleRareNonInheritedData_h |
OLD | NEW |