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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 } | 367 } |
368 | 368 |
369 enum TextDecorationStyle { | 369 enum TextDecorationStyle { |
370 TextDecorationStyleSolid, | 370 TextDecorationStyleSolid, |
371 TextDecorationStyleDouble, | 371 TextDecorationStyleDouble, |
372 TextDecorationStyleDotted, | 372 TextDecorationStyleDotted, |
373 TextDecorationStyleDashed, | 373 TextDecorationStyleDashed, |
374 TextDecorationStyleWavy | 374 TextDecorationStyleWavy |
375 }; | 375 }; |
376 | 376 |
| 377 static const size_t TextDecorationSkipBits = 3; |
| 378 enum TextDecorationSkip { |
| 379 TextDecorationSkipNone = 0x0, |
| 380 TextDecorationSkipObjects = 0x1, |
| 381 TextDecorationSkipInk = 0x2 |
| 382 }; |
| 383 inline TextDecorationSkip operator|(TextDecorationSkip a, |
| 384 TextDecorationSkip b) { |
| 385 return TextDecorationSkip(static_cast<unsigned>(a) | |
| 386 static_cast<unsigned>(b)); |
| 387 } |
| 388 inline TextDecorationSkip& operator|=(TextDecorationSkip& a, |
| 389 TextDecorationSkip b) { |
| 390 return a = a | b; |
| 391 } |
| 392 |
377 enum TextAlignLast { | 393 enum TextAlignLast { |
378 TextAlignLastAuto, | 394 TextAlignLastAuto, |
379 TextAlignLastStart, | 395 TextAlignLastStart, |
380 TextAlignLastEnd, | 396 TextAlignLastEnd, |
381 TextAlignLastLeft, | 397 TextAlignLastLeft, |
382 TextAlignLastRight, | 398 TextAlignLastRight, |
383 TextAlignLastCenter, | 399 TextAlignLastCenter, |
384 TextAlignLastJustify | 400 TextAlignLastJustify |
385 }; | 401 }; |
386 | 402 |
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 ScrollSnapTypeNone, | 717 ScrollSnapTypeNone, |
702 ScrollSnapTypeMandatory, | 718 ScrollSnapTypeMandatory, |
703 ScrollSnapTypeProximity | 719 ScrollSnapTypeProximity |
704 }; | 720 }; |
705 | 721 |
706 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; | 722 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; |
707 | 723 |
708 } // namespace blink | 724 } // namespace blink |
709 | 725 |
710 #endif // ComputedStyleConstants_h | 726 #endif // ComputedStyleConstants_h |
OLD | NEW |