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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 enum EUserDrag { | 198 enum EUserDrag { |
199 DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT | 199 DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT |
200 }; | 200 }; |
201 | 201 |
202 // CSS3 User Select Values | 202 // CSS3 User Select Values |
203 | 203 |
204 enum EUserSelect { | 204 enum EUserSelect { |
205 SELECT_NONE, SELECT_TEXT, SELECT_ALL | 205 SELECT_NONE, SELECT_TEXT, SELECT_ALL |
206 }; | 206 }; |
207 | 207 |
| 208 // CSS3 Image Values |
| 209 enum EObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone
, ObjectFitScaleDown }; |
| 210 |
208 // Word Break Values. Matches WinIE, rather than CSS3 | 211 // Word Break Values. Matches WinIE, rather than CSS3 |
209 | 212 |
210 enum EWordBreak { | 213 enum EWordBreak { |
211 NormalWordBreak, BreakAllWordBreak, BreakWordBreak | 214 NormalWordBreak, BreakAllWordBreak, BreakWordBreak |
212 }; | 215 }; |
213 | 216 |
214 enum EOverflowWrap { | 217 enum EOverflowWrap { |
215 NormalOverflowWrap, BreakOverflowWrap | 218 NormalOverflowWrap, BreakOverflowWrap |
216 }; | 219 }; |
217 | 220 |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). | 504 // Reasonable maximum to prevent insane font sizes from causing crashes on some
platforms (such as Windows). |
502 static const float maximumAllowedFontSize = 1000000.0f; | 505 static const float maximumAllowedFontSize = 1000000.0f; |
503 | 506 |
504 #if ENABLE(CSS3_TEXT) | 507 #if ENABLE(CSS3_TEXT) |
505 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 508 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
506 #endif | 509 #endif |
507 | 510 |
508 } // namespace WebCore | 511 } // namespace WebCore |
509 | 512 |
510 #endif // RenderStyleConstants_h | 513 #endif // RenderStyleConstants_h |
OLD | NEW |