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

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

Issue 2550343002: Move border-collapse to be generated in ComputedStyleBase (Closed)
Patch Set: Created 4 years 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ((1 << FirstInternalPseudoId) - 1) & ~((1 << FirstPublicPseudoId) - 1), 86 ((1 << FirstInternalPseudoId) - 1) & ~((1 << FirstPublicPseudoId) - 1),
87 ElementPseudoIdMask = (1 << (PseudoIdBefore - 1)) | 87 ElementPseudoIdMask = (1 << (PseudoIdBefore - 1)) |
88 (1 << (PseudoIdAfter - 1)) | 88 (1 << (PseudoIdAfter - 1)) |
89 (1 << (PseudoIdBackdrop - 1)) 89 (1 << (PseudoIdBackdrop - 1))
90 }; 90 };
91 91
92 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; 92 enum ColumnFill { ColumnFillBalance, ColumnFillAuto };
93 93
94 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll }; 94 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll };
95 95
96 enum class EBorderCollapse : unsigned { Separate = 0, Collapse = 1 };
97
98 // These have been defined in the order of their precedence for 96 // These have been defined in the order of their precedence for
99 // border-collapsing. Do not change this order! This order also must match the 97 // border-collapsing. Do not change this order! This order also must match the
100 // order in CSSValueKeywords.in. 98 // order in CSSValueKeywords.in.
101 enum EBorderStyle { 99 enum EBorderStyle {
102 BorderStyleNone, 100 BorderStyleNone,
103 BorderStyleHidden, 101 BorderStyleHidden,
104 BorderStyleInset, 102 BorderStyleInset,
105 BorderStyleGroove, 103 BorderStyleGroove,
106 BorderStyleOutset, 104 BorderStyleOutset,
107 BorderStyleRidge, 105 BorderStyleRidge,
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
711 ScrollSnapTypeNone, 709 ScrollSnapTypeNone,
712 ScrollSnapTypeMandatory, 710 ScrollSnapTypeMandatory,
713 ScrollSnapTypeProximity 711 ScrollSnapTypeProximity
714 }; 712 };
715 713
716 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; 714 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit };
717 715
718 } // namespace blink 716 } // namespace blink
719 717
720 #endif // ComputedStyleConstants_h 718 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698