| 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 | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 6 * reserved. | 6 * reserved. |
| 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
| 9 * (http://www.torchmobile.com/) | 9 * (http://www.torchmobile.com/) |
| 10 * | 10 * |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 // CSS3 Flexbox Properties | 164 // CSS3 Flexbox Properties |
| 165 | 165 |
| 166 enum EFlexDirection { | 166 enum EFlexDirection { |
| 167 kFlowRow, | 167 kFlowRow, |
| 168 kFlowRowReverse, | 168 kFlowRowReverse, |
| 169 kFlowColumn, | 169 kFlowColumn, |
| 170 kFlowColumnReverse | 170 kFlowColumnReverse |
| 171 }; | 171 }; |
| 172 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; | 172 enum EFlexWrap { kFlexNoWrap, kFlexWrap, kFlexWrapReverse }; |
| 173 | 173 |
| 174 // CSS3 User Modify Properties | |
| 175 | |
| 176 enum class EUserModify { kReadOnly, kReadWrite, kReadWritePlaintextOnly }; | |
| 177 | |
| 178 // CSS3 User Drag Values | 174 // CSS3 User Drag Values |
| 179 | 175 |
| 180 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; | 176 enum EUserDrag { DRAG_AUTO, DRAG_NONE, DRAG_ELEMENT }; |
| 181 | 177 |
| 182 // CSS3 Image Values | 178 // CSS3 Image Values |
| 183 enum ObjectFit { | 179 enum ObjectFit { |
| 184 kObjectFitFill, | 180 kObjectFitFill, |
| 185 kObjectFitContain, | 181 kObjectFitContain, |
| 186 kObjectFitCover, | 182 kObjectFitCover, |
| 187 kObjectFitNone, | 183 kObjectFitNone, |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // fraction, which leaves 20 bits for the integer part, making 1048575 | 404 // fraction, which leaves 20 bits for the integer part, making 1048575 |
| 409 // the largest number. | 405 // the largest number. |
| 410 | 406 |
| 411 static const int kBorderWidthFractionalBits = 6; | 407 static const int kBorderWidthFractionalBits = 6; |
| 412 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; | 408 static const int kBorderWidthDenominator = 1 << kBorderWidthFractionalBits; |
| 413 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; | 409 static const int kMaxForBorderWidth = ((1 << 26) - 1) / kBorderWidthDenominator; |
| 414 | 410 |
| 415 } // namespace blink | 411 } // namespace blink |
| 416 | 412 |
| 417 #endif // ComputedStyleConstants_h | 413 #endif // ComputedStyleConstants_h |
| OLD | NEW |