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 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
91 (1 << (kPseudoIdBackdrop - kFirstPublicPseudoId)) | 91 (1 << (kPseudoIdBackdrop - kFirstPublicPseudoId)) |
92 }; | 92 }; |
93 | 93 |
94 enum ColumnFill { kColumnFillBalance, kColumnFillAuto }; | 94 enum ColumnFill { kColumnFillBalance, kColumnFillAuto }; |
95 | 95 |
96 enum ColumnSpan { kColumnSpanNone = 0, kColumnSpanAll }; | 96 enum ColumnSpan { kColumnSpanNone = 0, kColumnSpanAll }; |
97 | 97 |
98 // These have been defined in the order of their precedence for | 98 // 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 | 99 // border-collapsing. Do not change this order! This order also must match the |
100 // order in CSSValueKeywords.in. | 100 // order in CSSValueKeywords.in. |
101 enum EBorderStyle { | 101 enum class EBorderStyle { |
102 kBorderStyleNone, | 102 kNone, |
103 kBorderStyleHidden, | 103 kHidden, |
104 kBorderStyleInset, | 104 kInset, |
105 kBorderStyleGroove, | 105 kGroove, |
106 kBorderStyleOutset, | 106 kOutset, |
107 kBorderStyleRidge, | 107 kRidge, |
108 kBorderStyleDotted, | 108 kDotted, |
109 kBorderStyleDashed, | 109 kDashed, |
110 kBorderStyleSolid, | 110 kSolid, |
111 kBorderStyleDouble | 111 kDouble |
112 }; | 112 }; |
113 | 113 |
114 enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn }; | 114 enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn }; |
115 | 115 |
116 enum EMarginCollapse { | 116 enum EMarginCollapse { |
117 kMarginCollapseCollapse, | 117 kMarginCollapseCollapse, |
118 kMarginCollapseSeparate, | 118 kMarginCollapseSeparate, |
119 kMarginCollapseDiscard | 119 kMarginCollapseDiscard |
120 }; | 120 }; |
121 | 121 |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
474 // fraction, which leaves 20 bits for the integer part, making 1048575 | 474 // fraction, which leaves 20 bits for the integer part, making 1048575 |
475 // the largest number. | 475 // the largest number. |
476 | 476 |
477 static const int kBorderWidthFractionalBits = 6; | 477 static const int kBorderWidthFractionalBits = 6; |
478 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 478 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
479 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 479 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
480 | 480 |
481 } // namespace blink | 481 } // namespace blink |
482 | 482 |
483 #endif // ComputedStyleConstants_h | 483 #endif // ComputedStyleConstants_h |
OLD | NEW |