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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
348 Right, | 348 Right, |
349 Center, | 349 Center, |
350 Justify, | 350 Justify, |
351 WebkitLeft, | 351 WebkitLeft, |
352 WebkitRight, | 352 WebkitRight, |
353 WebkitCenter, | 353 WebkitCenter, |
354 Start, | 354 Start, |
355 End, | 355 End, |
356 }; | 356 }; |
357 | 357 |
358 enum class ETextTransform : unsigned { Capitalize, Uppercase, Lowercase, None }; | |
359 | |
360 static const size_t TextDecorationBits = 4; | 358 static const size_t TextDecorationBits = 4; |
361 enum TextDecoration { | 359 enum TextDecoration { |
362 TextDecorationNone = 0x0, | 360 TextDecorationNone = 0x0, |
363 TextDecorationUnderline = 0x1, | 361 TextDecorationUnderline = 0x1, |
364 TextDecorationOverline = 0x2, | 362 TextDecorationOverline = 0x2, |
365 TextDecorationLineThrough = 0x4, | 363 TextDecorationLineThrough = 0x4, |
366 TextDecorationBlink = 0x8 | 364 TextDecorationBlink = 0x8 |
367 }; | 365 }; |
368 inline TextDecoration operator|(TextDecoration a, TextDecoration b) { | 366 inline TextDecoration operator|(TextDecoration a, TextDecoration b) { |
369 return TextDecoration(int(a) | int(b)); | 367 return TextDecoration(int(a) | int(b)); |
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
715 ScrollSnapTypeNone, | 713 ScrollSnapTypeNone, |
716 ScrollSnapTypeMandatory, | 714 ScrollSnapTypeMandatory, |
717 ScrollSnapTypeProximity | 715 ScrollSnapTypeProximity |
718 }; | 716 }; |
719 | 717 |
720 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; | 718 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; |
721 | 719 |
722 } // namespace blink | 720 } // namespace blink |
723 | 721 |
724 #endif // ComputedStyleConstants_h | 722 #endif // ComputedStyleConstants_h |
OLD | NEW |