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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2729373003: Bit-mask incorrectly removed first-line pseudo bit. (Closed)
Patch Set: Created 3 years, 9 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, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 PseudoIdScrollbarButton, 75 PseudoIdScrollbarButton,
76 PseudoIdScrollbarTrack, 76 PseudoIdScrollbarTrack,
77 PseudoIdScrollbarTrackPiece, 77 PseudoIdScrollbarTrackPiece,
78 PseudoIdScrollbarCorner, 78 PseudoIdScrollbarCorner,
79 PseudoIdResizer, 79 PseudoIdResizer,
80 PseudoIdInputListButton, 80 PseudoIdInputListButton,
81 // Special values follow: 81 // Special values follow:
82 AfterLastInternalPseudoId, 82 AfterLastInternalPseudoId,
83 FirstPublicPseudoId = PseudoIdFirstLine, 83 FirstPublicPseudoId = PseudoIdFirstLine,
84 FirstInternalPseudoId = PseudoIdScrollbarThumb, 84 FirstInternalPseudoId = PseudoIdScrollbarThumb,
85 PublicPseudoIdMask = 85 ElementPseudoIdMask = (1 << (PseudoIdBefore - FirstPublicPseudoId)) |
86 ((1 << FirstInternalPseudoId) - 1) & ~((1 << FirstPublicPseudoId) - 1), 86 (1 << (PseudoIdAfter - FirstPublicPseudoId)) |
87 ElementPseudoIdMask = (1 << (PseudoIdBefore - 1)) | 87 (1 << (PseudoIdBackdrop - FirstPublicPseudoId))
88 (1 << (PseudoIdAfter - 1)) |
89 (1 << (PseudoIdBackdrop - 1))
90 }; 88 };
91 89
92 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; 90 enum ColumnFill { ColumnFillBalance, ColumnFillAuto };
93 91
94 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll }; 92 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll };
95 93
96 // These have been defined in the order of their precedence for 94 // These have been defined in the order of their precedence for
97 // border-collapsing. Do not change this order! This order also must match the 95 // border-collapsing. Do not change this order! This order also must match the
98 // order in CSSValueKeywords.in. 96 // order in CSSValueKeywords.in.
99 enum EBorderStyle { 97 enum EBorderStyle {
(...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after
568 ScrollSnapTypeNone, 566 ScrollSnapTypeNone,
569 ScrollSnapTypeMandatory, 567 ScrollSnapTypeMandatory,
570 ScrollSnapTypeProximity 568 ScrollSnapTypeProximity
571 }; 569 };
572 570
573 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 571 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
574 572
575 } // namespace blink 573 } // namespace blink
576 574
577 #endif // ComputedStyleConstants_h 575 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698