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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
501 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a & b; } | 501 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a & b; } |
502 | 502 |
503 enum EIsolation { IsolationAuto, IsolationIsolate }; | 503 enum EIsolation { IsolationAuto, IsolationIsolate }; |
504 | 504 |
505 enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript }; | 505 enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript }; |
506 | 506 |
507 enum ItemPosition { | 507 enum ItemPosition { |
508 ItemPositionAuto, | 508 ItemPositionAuto, |
509 ItemPositionStretch, | 509 ItemPositionStretch, |
510 ItemPositionBaseline, | 510 ItemPositionBaseline, |
511 ItemPositionLastBaseline, | |
511 ItemPositionCenter, | 512 ItemPositionCenter, |
512 ItemPositionStart, | 513 ItemPositionStart, |
513 ItemPositionEnd, | 514 ItemPositionEnd, |
514 ItemPositionSelfStart, | 515 ItemPositionSelfStart, |
515 ItemPositionSelfEnd, | 516 ItemPositionSelfEnd, |
516 ItemPositionFlexStart, | 517 ItemPositionFlexStart, |
517 ItemPositionFlexEnd, | 518 ItemPositionFlexEnd, |
518 ItemPositionLeft, | 519 ItemPositionLeft, |
519 ItemPositionRight | 520 ItemPositionRight |
520 }; | 521 }; |
521 | 522 |
522 enum OverflowAlignment { | 523 enum OverflowAlignment { |
523 OverflowAlignmentDefault, | 524 OverflowAlignmentDefault, |
524 OverflowAlignmentTrue, | 525 OverflowAlignmentTrue, |
525 OverflowAlignmentSafe | 526 OverflowAlignmentSafe |
526 }; | 527 }; |
527 | 528 |
529 enum LegacyPosition { | |
530 LegacyPositionFalse, | |
531 LegacyPositionTrue | |
Julien - ping for review
2014/06/26 17:37:20
Maybe better naming LegacyPosition vs NotALegacyPo
jfernandez
2014/06/26 22:36:05
Done.
| |
532 }; | |
533 | |
528 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). | 534 // Reasonable maximum to prevent insane font sizes from causing crashes on some platforms (such as Windows). |
529 static const float maximumAllowedFontSize = 1000000.0f; | 535 static const float maximumAllowedFontSize = 1000000.0f; |
530 | 536 |
531 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 537 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
532 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 538 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
533 | 539 |
534 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; | 540 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox } ; |
535 | 541 |
536 } // namespace WebCore | 542 } // namespace WebCore |
537 | 543 |
538 #endif // RenderStyleConstants_h | 544 #endif // RenderStyleConstants_h |
OLD | NEW |