| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 kObjectFitContain, | 193 kObjectFitContain, |
| 194 kObjectFitCover, | 194 kObjectFitCover, |
| 195 kObjectFitNone, | 195 kObjectFitNone, |
| 196 kObjectFitScaleDown | 196 kObjectFitScaleDown |
| 197 }; | 197 }; |
| 198 | 198 |
| 199 // Word Break Values. Matches WinIE and CSS3 | 199 // Word Break Values. Matches WinIE and CSS3 |
| 200 | 200 |
| 201 enum class EWordBreak { kNormal, kBreakAll, kKeepAll, kBreakWord }; | 201 enum class EWordBreak { kNormal, kBreakAll, kKeepAll, kBreakWord }; |
| 202 | 202 |
| 203 enum class EOverflowWrap { kNormal, kBreakWord }; | |
| 204 | |
| 205 enum class LineBreak { kAuto, kLoose, kNormal, kStrict, kAfterWhiteSpace }; | 203 enum class LineBreak { kAuto, kLoose, kNormal, kStrict, kAfterWhiteSpace }; |
| 206 | 204 |
| 207 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; | 205 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; |
| 208 | 206 |
| 209 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; | 207 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; |
| 210 | 208 |
| 211 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; | 209 enum EAnimPlayState { kAnimPlayStatePlaying, kAnimPlayStatePaused }; |
| 212 | 210 |
| 213 static const size_t kTextDecorationBits = 4; | 211 static const size_t kTextDecorationBits = 4; |
| 214 enum class TextDecoration : unsigned { | 212 enum class TextDecoration : unsigned { |
| (...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 // fraction, which leaves 20 bits for the integer part, making 1048575 | 451 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 454 // the largest number. | 452 // the largest number. |
| 455 | 453 |
| 456 static const int kBorderWidthFractionalBits = 6; | 454 static const int kBorderWidthFractionalBits = 6; |
| 457 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 455 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 458 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 456 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 459 | 457 |
| 460 } // namespace blink | 458 } // namespace blink |
| 461 | 459 |
| 462 #endif // ComputedStyleConstants_h | 460 #endif // ComputedStyleConstants_h |
| OLD | NEW |