| 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 enum EFlexDirection { FlowRow, FlowRowReverse, FlowColumn, FlowColumnReverse }; | 108 enum EFlexDirection { FlowRow, FlowRowReverse, FlowColumn, FlowColumnReverse }; |
| 109 enum EFlexWrap { FlexNoWrap, FlexWrap, FlexWrapReverse }; | 109 enum EFlexWrap { FlexNoWrap, FlexWrap, FlexWrapReverse }; |
| 110 enum EJustifyContent { JustifyFlexStart, JustifyFlexEnd, JustifyCenter, JustifyS
paceBetween, JustifySpaceAround }; | 110 enum EJustifyContent { JustifyFlexStart, JustifyFlexEnd, JustifyCenter, JustifyS
paceBetween, JustifySpaceAround }; |
| 111 | 111 |
| 112 // CSS3 User Modify Properties | 112 // CSS3 User Modify Properties |
| 113 | 113 |
| 114 enum EUserModify { | 114 enum EUserModify { |
| 115 READ_ONLY, READ_WRITE, READ_WRITE_PLAINTEXT_ONLY | 115 READ_ONLY, READ_WRITE, READ_WRITE_PLAINTEXT_ONLY |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 // CSS3 User Drag Values | |
| 119 | |
| 120 enum EUserDrag { | |
| 121 DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT | |
| 122 }; | |
| 123 | |
| 124 // CSS3 User Select Values | 118 // CSS3 User Select Values |
| 125 | 119 |
| 126 enum EUserSelect { | 120 enum EUserSelect { |
| 127 SELECT_NONE, SELECT_TEXT, SELECT_ALL | 121 SELECT_NONE, SELECT_TEXT, SELECT_ALL |
| 128 }; | 122 }; |
| 129 | 123 |
| 130 // CSS3 Image Values | 124 // CSS3 Image Values |
| 131 enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone,
ObjectFitScaleDown }; | 125 enum ObjectFit { ObjectFitFill, ObjectFitContain, ObjectFitCover, ObjectFitNone,
ObjectFitScaleDown }; |
| 132 | 126 |
| 133 // Word Break Values. Matches WinIE, rather than CSS3 | 127 // Word Break Values. Matches WinIE, rather than CSS3 |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 static const float maximumAllowedFontSize = 1000000.0f; | 278 static const float maximumAllowedFontSize = 1000000.0f; |
| 285 | 279 |
| 286 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; | 280 enum TextIndentLine { TextIndentFirstLine, TextIndentEachLine }; |
| 287 enum TextIndentType { TextIndentNormal, TextIndentHanging }; | 281 enum TextIndentType { TextIndentNormal, TextIndentHanging }; |
| 288 | 282 |
| 289 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; | 283 enum CSSBoxType { BoxMissing = 0, MarginBox, BorderBox, PaddingBox, ContentBox }
; |
| 290 | 284 |
| 291 } // namespace blink | 285 } // namespace blink |
| 292 | 286 |
| 293 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ | 287 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLECONSTANTS_H_ |
| OLD | NEW |