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
reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
8 * | 8 * |
9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
366 TextDecorationStyleDouble, | 366 TextDecorationStyleDouble, |
367 TextDecorationStyleDotted, | 367 TextDecorationStyleDotted, |
368 TextDecorationStyleDashed, | 368 TextDecorationStyleDashed, |
369 TextDecorationStyleWavy | 369 TextDecorationStyleWavy |
370 }; | 370 }; |
371 | 371 |
372 enum TextAlignLast { | 372 enum TextAlignLast { |
373 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft,
TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify | 373 TextAlignLastAuto, TextAlignLastStart, TextAlignLastEnd, TextAlignLastLeft,
TextAlignLastRight, TextAlignLastCenter, TextAlignLastJustify |
374 }; | 374 }; |
375 | 375 |
| 376 enum TextJustify { |
| 377 TextJustifyAuto, TextJustifyNone, TextJustifyInterWord, TextJustifyDistribut
e |
| 378 }; |
| 379 |
376 #if ENABLE(CSS3_TEXT) | 380 #if ENABLE(CSS3_TEXT) |
377 enum TextUnderlinePosition { | 381 enum TextUnderlinePosition { |
378 // FIXME: Implement support for 'under left' and 'under right' values. | 382 // FIXME: Implement support for 'under left' and 'under right' values. |
379 TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, Text
UnderlinePositionUnder = 0x4 | 383 TextUnderlinePositionAuto = 0x1, TextUnderlinePositionAlphabetic = 0x2, Text
UnderlinePositionUnder = 0x4 |
380 }; | 384 }; |
381 #endif // CSS3_TEXT | 385 #endif // CSS3_TEXT |
382 | 386 |
383 enum EPageBreak { | 387 enum EPageBreak { |
384 PBAUTO, PBALWAYS, PBAVOID | 388 PBAUTO, PBALWAYS, PBAVOID |
385 }; | 389 }; |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 enum EIsolation { IsolationAuto, IsolationIsolate }; | 520 enum EIsolation { IsolationAuto, IsolationIsolate }; |
517 | 521 |
518 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). | 522 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). |
519 static const float maximumAllowedFontSize = 1000000.0f; | 523 static const float maximumAllowedFontSize = 1000000.0f; |
520 | 524 |
521 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 525 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
522 | 526 |
523 } // namespace WebCore | 527 } // namespace WebCore |
524 | 528 |
525 #endif // RenderStyleConstants_h | 529 #endif // RenderStyleConstants_h |
OLD | NEW |