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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 }; | 107 }; |
108 | 108 |
109 enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn }; | 109 enum OutlineIsAuto { kOutlineIsAutoOff = 0, kOutlineIsAutoOn }; |
110 | 110 |
111 enum EMarginCollapse { | 111 enum EMarginCollapse { |
112 kMarginCollapseCollapse, | 112 kMarginCollapseCollapse, |
113 kMarginCollapseSeparate, | 113 kMarginCollapseSeparate, |
114 kMarginCollapseDiscard | 114 kMarginCollapseDiscard |
115 }; | 115 }; |
116 | 116 |
117 // Box decoration attributes. Not inherited. | |
118 | |
119 enum class EBoxDecorationBreak { kSlice, kClone }; | |
120 | |
121 // Random visual rendering model attributes. Not inherited. | 117 // Random visual rendering model attributes. Not inherited. |
122 | 118 |
123 enum class EVerticalAlign : unsigned { | 119 enum class EVerticalAlign : unsigned { |
124 kBaseline, | 120 kBaseline, |
125 kMiddle, | 121 kMiddle, |
126 kSub, | 122 kSub, |
127 kSuper, | 123 kSuper, |
128 kTextTop, | 124 kTextTop, |
129 kTextBottom, | 125 kTextBottom, |
130 kTop, | 126 kTop, |
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 // fraction, which leaves 20 bits for the integer part, making 1048575 | 469 // fraction, which leaves 20 bits for the integer part, making 1048575 |
474 // the largest number. | 470 // the largest number. |
475 | 471 |
476 static const int kBorderWidthFractionalBits = 6; | 472 static const int kBorderWidthFractionalBits = 6; |
477 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 473 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
478 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 474 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
479 | 475 |
480 } // namespace blink | 476 } // namespace blink |
481 | 477 |
482 #endif // ComputedStyleConstants_h | 478 #endif // ComputedStyleConstants_h |
OLD | NEW |