| 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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. | 117 // Box decoration attributes. Not inherited. |
| 118 | 118 |
| 119 enum class EBoxDecorationBreak { kSlice, kClone }; | 119 enum class EBoxDecorationBreak { kSlice, kClone }; |
| 120 | 120 |
| 121 // Box attributes. Not inherited. | |
| 122 | |
| 123 enum class EBoxSizing : unsigned { kContentBox, kBorderBox }; | |
| 124 | |
| 125 // Random visual rendering model attributes. Not inherited. | 121 // Random visual rendering model attributes. Not inherited. |
| 126 | 122 |
| 127 enum class EVerticalAlign : unsigned { | 123 enum class EVerticalAlign : unsigned { |
| 128 kBaseline, | 124 kBaseline, |
| 129 kMiddle, | 125 kMiddle, |
| 130 kSub, | 126 kSub, |
| 131 kSuper, | 127 kSuper, |
| 132 kTextTop, | 128 kTextTop, |
| 133 kTextBottom, | 129 kTextBottom, |
| 134 kTop, | 130 kTop, |
| (...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 // fraction, which leaves 20 bits for the integer part, making 1048575 | 473 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 478 // the largest number. | 474 // the largest number. |
| 479 | 475 |
| 480 static const int kBorderWidthFractionalBits = 6; | 476 static const int kBorderWidthFractionalBits = 6; |
| 481 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 477 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 482 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 478 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 483 | 479 |
| 484 } // namespace blink | 480 } // namespace blink |
| 485 | 481 |
| 486 #endif // ComputedStyleConstants_h | 482 #endif // ComputedStyleConstants_h |
| OLD | NEW |