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, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights 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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 // It is mutable so we can pass around const ComputedStyles to resolve l
engths. | 255 // It is mutable so we can pass around const ComputedStyles to resolve l
engths. |
256 mutable unsigned hasViewportUnits : 1; | 256 mutable unsigned hasViewportUnits : 1; |
257 | 257 |
258 // 32 bits | 258 // 32 bits |
259 | 259 |
260 unsigned pageBreakBefore : 2; // EPageBreak | 260 unsigned pageBreakBefore : 2; // EPageBreak |
261 unsigned pageBreakAfter : 2; // EPageBreak | 261 unsigned pageBreakAfter : 2; // EPageBreak |
262 unsigned pageBreakInside : 2; // EPageBreak | 262 unsigned pageBreakInside : 2; // EPageBreak |
263 | 263 |
264 unsigned styleType : 6; // PseudoId | 264 unsigned styleType : 6; // PseudoId |
265 unsigned pseudoBits : 8; | 265 unsigned pseudoBits : 9; // # public pseudoIds - 1 |
266 unsigned explicitInheritance : 1; // Explicitly inherits a non-inherited
property | 266 unsigned explicitInheritance : 1; // Explicitly inherits a non-inherited
property |
267 unsigned unique : 1; // Style can not be shared. | 267 unsigned unique : 1; // Style can not be shared. |
268 | 268 |
269 unsigned emptyState : 1; | 269 unsigned emptyState : 1; |
270 | 270 |
271 unsigned affectedByFocus : 1; | 271 unsigned affectedByFocus : 1; |
272 unsigned affectedByHover : 1; | 272 unsigned affectedByHover : 1; |
273 unsigned affectedByActive : 1; | 273 unsigned affectedByActive : 1; |
274 unsigned affectedByDrag : 1; | 274 unsigned affectedByDrag : 1; |
275 | 275 |
(...skipping 1601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1877 } | 1877 } |
1878 | 1878 |
1879 inline bool ComputedStyle::hasPseudoElementStyle() const | 1879 inline bool ComputedStyle::hasPseudoElementStyle() const |
1880 { | 1880 { |
1881 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1881 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
1882 } | 1882 } |
1883 | 1883 |
1884 } // namespace blink | 1884 } // namespace blink |
1885 | 1885 |
1886 #endif // ComputedStyle_h | 1886 #endif // ComputedStyle_h |
OLD | NEW |