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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 | 187 |
188 // CSS3 Image Values | 188 // CSS3 Image Values |
189 enum ObjectFit { | 189 enum ObjectFit { |
190 kObjectFitFill, | 190 kObjectFitFill, |
191 kObjectFitContain, | 191 kObjectFitContain, |
192 kObjectFitCover, | 192 kObjectFitCover, |
193 kObjectFitNone, | 193 kObjectFitNone, |
194 kObjectFitScaleDown | 194 kObjectFitScaleDown |
195 }; | 195 }; |
196 | 196 |
197 enum class LineBreak { kAuto, kLoose, kNormal, kStrict, kAfterWhiteSpace }; | |
198 | |
199 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; | 197 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; |
200 | 198 |
201 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; | 199 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; |
202 | 200 |
203 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; | 201 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; |
204 | 202 |
205 static const size_t kTextDecorationBits = 4; | 203 static const size_t kTextDecorationBits = 4; |
206 enum class TextDecoration : unsigned { | 204 enum class TextDecoration : unsigned { |
207 kNone = 0x0, | 205 kNone = 0x0, |
208 kUnderline = 0x1, | 206 kUnderline = 0x1, |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 // fraction, which leaves 20 bits for the integer part, making 1048575 | 422 // fraction, which leaves 20 bits for the integer part, making 1048575 |
425 // the largest number. | 423 // the largest number. |
426 | 424 |
427 static const int kBorderWidthFractionalBits = 6; | 425 static const int kBorderWidthFractionalBits = 6; |
428 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 426 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
429 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 427 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
430 | 428 |
431 } // namespace blink | 429 } // namespace blink |
432 | 430 |
433 #endif // ComputedStyleConstants_h | 431 #endif // ComputedStyleConstants_h |
OLD | NEW |