| 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 581 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 592 | 592 |
| 593 enum ContentDistributionType { | 593 enum ContentDistributionType { |
| 594 ContentDistributionDefault, | 594 ContentDistributionDefault, |
| 595 ContentDistributionSpaceBetween, | 595 ContentDistributionSpaceBetween, |
| 596 ContentDistributionSpaceAround, | 596 ContentDistributionSpaceAround, |
| 597 ContentDistributionSpaceEvenly, | 597 ContentDistributionSpaceEvenly, |
| 598 ContentDistributionStretch | 598 ContentDistributionStretch |
| 599 }; | 599 }; |
| 600 | 600 |
| 601 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). | 601 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). |
| 602 static const float maximumAllowedFontSize = 1000000.0f; | 602 static const float maximumAllowedFontSize = 10000.0f; |
| 603 | 603 |
| 604 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 604 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 605 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 605 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 606 | 606 |
| 607 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 607 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 608 | 608 |
| 609 enum ScrollSnapType { | 609 enum ScrollSnapType { |
| 610 ScrollSnapTypeNone, | 610 ScrollSnapTypeNone, |
| 611 ScrollSnapTypeMandatory, | 611 ScrollSnapTypeMandatory, |
| 612 ScrollSnapTypeProximity | 612 ScrollSnapTypeProximity |
| 613 }; | 613 }; |
| 614 | 614 |
| 615 enum AutoRepeatType { | 615 enum AutoRepeatType { |
| 616 NoAutoRepeat, | 616 NoAutoRepeat, |
| 617 AutoFill, | 617 AutoFill, |
| 618 AutoFit | 618 AutoFit |
| 619 }; | 619 }; |
| 620 | 620 |
| 621 } // namespace blink | 621 } // namespace blink |
| 622 | 622 |
| 623 #endif // ComputedStyleConstants_h | 623 #endif // ComputedStyleConstants_h |
| OLD | NEW |