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

Side by Side Diff: Source/core/style/ComputedStyle.h

Issue 778003003: List marker pseudo elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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, 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 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // It is mutable so we can pass around const ComputedStyles to resolve l engths. 253 // It is mutable so we can pass around const ComputedStyles to resolve l engths.
254 mutable unsigned hasViewportUnits : 1; 254 mutable unsigned hasViewportUnits : 1;
255 255
256 // 32 bits 256 // 32 bits
257 257
258 unsigned pageBreakBefore : 2; // EPageBreak 258 unsigned pageBreakBefore : 2; // EPageBreak
259 unsigned pageBreakAfter : 2; // EPageBreak 259 unsigned pageBreakAfter : 2; // EPageBreak
260 unsigned pageBreakInside : 2; // EPageBreak 260 unsigned pageBreakInside : 2; // EPageBreak
261 261
262 unsigned styleType : 6; // PseudoId 262 unsigned styleType : 6; // PseudoId
263 unsigned pseudoBits : 8; 263 unsigned pseudoBits : 9; // # public pseudoIds - 1
264 unsigned explicitInheritance : 1; // Explicitly inherits a non-inherited property 264 unsigned explicitInheritance : 1; // Explicitly inherits a non-inherited property
265 unsigned unique : 1; // Style can not be shared. 265 unsigned unique : 1; // Style can not be shared.
266 266
267 unsigned emptyState : 1; 267 unsigned emptyState : 1;
268 268
269 unsigned affectedByFocus : 1; 269 unsigned affectedByFocus : 1;
270 unsigned affectedByHover : 1; 270 unsigned affectedByHover : 1;
271 unsigned affectedByActive : 1; 271 unsigned affectedByActive : 1;
272 unsigned affectedByDrag : 1; 272 unsigned affectedByDrag : 1;
273 273
(...skipping 1602 matching lines...) Expand 10 before | Expand all | Expand 10 after
1876 } 1876 }
1877 1877
1878 inline bool ComputedStyle::hasPseudoElementStyle() const 1878 inline bool ComputedStyle::hasPseudoElementStyle() const
1879 { 1879 {
1880 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; 1880 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK;
1881 } 1881 }
1882 1882
1883 } // namespace blink 1883 } // namespace blink
1884 1884
1885 #endif // ComputedStyle_h 1885 #endif // ComputedStyle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698