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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 | 183 |
184 // CSS3 User Select Values | 184 // CSS3 User Select Values |
185 | 185 |
186 enum EUserSelect { | 186 enum EUserSelect { |
187 SELECT_NONE, SELECT_TEXT, SELECT_ALL | 187 SELECT_NONE, SELECT_TEXT, SELECT_ALL |
188 }; | 188 }; |
189 | 189 |
190 // CSS3 Image Values | 190 // CSS3 Image Values |
191 enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone,
ObjectFitScaleDown }; | 191 enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone,
ObjectFitScaleDown }; |
192 | 192 |
193 // Word Break Values. Matches WinIE, rather than CSS3 | 193 // Word Break Values. Matches WinIE and CSS3 |
194 | 194 |
195 enum EWordBreak { | 195 enum EWordBreak { |
196 NormalWordBreak, BreakAllWordBreak, BreakWordBreak | 196 NormalWordBreak, BreakAllWordBreak, KeepAllWordBreak, BreakWordBreak |
197 }; | 197 }; |
198 | 198 |
199 enum EOverflowWrap { | 199 enum EOverflowWrap { |
200 NormalOverflowWrap, BreakOverflowWrap | 200 NormalOverflowWrap, BreakOverflowWrap |
201 }; | 201 }; |
202 | 202 |
203 enum LineBreak { | 203 enum LineBreak { |
204 LineBreakAuto, LineBreakLoose, LineBreakNormal, LineBreakStrict, LineBreakAf
terWhiteSpace | 204 LineBreakAuto, LineBreakLoose, LineBreakNormal, LineBreakStrict, LineBreakAf
terWhiteSpace |
205 }; | 205 }; |
206 | 206 |
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
553 static const float maximumAllowedFontSize = 1000000.0f; | 553 static const float maximumAllowedFontSize = 1000000.0f; |
554 | 554 |
555 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 555 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
556 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 556 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
557 | 557 |
558 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 558 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
559 | 559 |
560 } // namespace blink | 560 } // namespace blink |
561 | 561 |
562 #endif // ComputedStyleConstants_h | 562 #endif // ComputedStyleConstants_h |
OLD | NEW |