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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED
, SOLID, DOUBLE }; | 84 enum EBorderStyle { BNONE, BHIDDEN, INSET, GROOVE, OUTSET, RIDGE, DOTTED, DASHED
, SOLID, DOUBLE }; |
85 | 85 |
86 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL }
; | 86 enum EBorderPrecedence { BOFF, BTABLE, BCOLGROUP, BCOL, BROWGROUP, BROW, BCELL }
; |
87 | 87 |
88 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; | 88 enum OutlineIsAuto { AUTO_OFF = 0, AUTO_ON }; |
89 | 89 |
90 enum EPosition { | 90 enum EPosition { |
91 StaticPosition = 0, | 91 StaticPosition = 0, |
92 RelativePosition = 1, | 92 RelativePosition = 1, |
93 AbsolutePosition = 2, | 93 AbsolutePosition = 2, |
94 StickyPosition = 3, | |
95 // This value is required to pack our bits efficiently in RenderObject. | 94 // This value is required to pack our bits efficiently in RenderObject. |
| 95 // FIXME: Is this still true now that we've remove position: sticky. |
96 FixedPosition = 6 | 96 FixedPosition = 6 |
97 }; | 97 }; |
98 | 98 |
99 enum EFloat { | 99 enum EFloat { |
100 NoFloat, LeftFloat, RightFloat | 100 NoFloat, LeftFloat, RightFloat |
101 }; | 101 }; |
102 | 102 |
103 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD }; | 103 enum EMarginCollapse { MCOLLAPSE, MSEPARATE, MDISCARD }; |
104 | 104 |
105 // Box decoration attributes. Not inherited. | 105 // Box decoration attributes. Not inherited. |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
529 static const float maximumAllowedFontSize = 1000000.0f; | 529 static const float maximumAllowedFontSize = 1000000.0f; |
530 | 530 |
531 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 531 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
532 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 532 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
533 | 533 |
534 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 534 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
535 | 535 |
536 } // namespace WebCore | 536 } // namespace WebCore |
537 | 537 |
538 #endif // RenderStyleConstants_h | 538 #endif // RenderStyleConstants_h |
OLD | NEW |