| 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 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 520 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a &
b; } | 520 inline TouchAction& operator&= (TouchAction& a, TouchAction b) { return a = a &
b; } |
| 521 | 521 |
| 522 enum EIsolation { IsolationAuto, IsolationIsolate }; | 522 enum EIsolation { IsolationAuto, IsolationIsolate }; |
| 523 | 523 |
| 524 enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript }; | 524 enum TouchActionDelay { TouchActionDelayNone, TouchActionDelayScript }; |
| 525 | 525 |
| 526 enum ItemPosition { | 526 enum ItemPosition { |
| 527 ItemPositionAuto, | 527 ItemPositionAuto, |
| 528 ItemPositionStretch, | 528 ItemPositionStretch, |
| 529 ItemPositionBaseline, | 529 ItemPositionBaseline, |
| 530 ItemPositionLastBaseline, |
| 530 ItemPositionCenter, | 531 ItemPositionCenter, |
| 531 ItemPositionStart, | 532 ItemPositionStart, |
| 532 ItemPositionEnd, | 533 ItemPositionEnd, |
| 533 ItemPositionSelfStart, | 534 ItemPositionSelfStart, |
| 534 ItemPositionSelfEnd, | 535 ItemPositionSelfEnd, |
| 535 ItemPositionFlexStart, | 536 ItemPositionFlexStart, |
| 536 ItemPositionFlexEnd, | 537 ItemPositionFlexEnd, |
| 537 ItemPositionLeft, | 538 ItemPositionLeft, |
| 538 ItemPositionRight | 539 ItemPositionRight |
| 539 }; | 540 }; |
| 540 | 541 |
| 541 enum OverflowAlignment { | 542 enum OverflowAlignment { |
| 542 OverflowAlignmentDefault, | 543 OverflowAlignmentDefault, |
| 543 OverflowAlignmentTrue, | 544 OverflowAlignmentTrue, |
| 544 OverflowAlignmentSafe | 545 OverflowAlignmentSafe |
| 545 }; | 546 }; |
| 546 | 547 |
| 548 enum ItemPositionType { |
| 549 NonLegacyPosition, |
| 550 LegacyPosition |
| 551 }; |
| 552 |
| 547 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). | 553 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). |
| 548 static const float maximumAllowedFontSize = 1000000.0f; | 554 static const float maximumAllowedFontSize = 1000000.0f; |
| 549 | 555 |
| 550 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 556 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 551 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 557 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 552 | 558 |
| 553 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 559 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 554 | 560 |
| 555 } // namespace WebCore | 561 } // namespace WebCore |
| 556 | 562 |
| 557 #endif // RenderStyleConstants_h | 563 #endif // RenderStyleConstants_h |
| OLD | NEW |