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 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
310 TextAlignLastCenter, | 310 TextAlignLastCenter, |
311 TextAlignLastJustify | 311 TextAlignLastJustify |
312 }; | 312 }; |
313 | 313 |
314 enum TextUnderlinePosition { | 314 enum TextUnderlinePosition { |
315 // FIXME: Implement support for 'under left' and 'under right' values. | 315 // FIXME: Implement support for 'under left' and 'under right' values. |
316 TextUnderlinePositionAuto, | 316 TextUnderlinePositionAuto, |
317 TextUnderlinePositionUnder | 317 TextUnderlinePositionUnder |
318 }; | 318 }; |
319 | 319 |
320 enum EBreak { | 320 // Values applicable to the break-before, break-after properties. |
321 BreakAuto, | 321 enum class EBreakBetween : unsigned { |
322 BreakAvoid, | 322 kAuto, |
323 BreakAvoidColumn, | 323 kAvoid, |
324 BreakAvoidPage, | 324 kAvoidColumn, |
325 // Values below are only allowed for break-after and break-before. Values | 325 kAvoidPage, |
326 // above are also allowed for break-inside (in addition to break-after and | 326 kColumn, |
327 // break-before). | 327 kLeft, |
328 BreakValueLastAllowedForBreakInside = BreakAvoidPage, | 328 kPage, |
329 BreakColumn, | 329 kRecto, |
330 BreakLeft, | 330 kRight, |
331 BreakPage, | 331 kVerso |
332 BreakRecto, | |
333 BreakRight, | |
334 BreakVerso | |
335 }; | 332 }; |
336 | 333 |
| 334 // Values applicable to the break-inside property. |
| 335 enum class EBreakInside : unsigned { kAuto, kAvoid, kAvoidColumn, kAvoidPage }; |
| 336 |
337 enum class ECursor : unsigned { | 337 enum class ECursor : unsigned { |
338 kAuto, | 338 kAuto, |
339 kCrosshair, | 339 kCrosshair, |
340 kDefault, | 340 kDefault, |
341 kPointer, | 341 kPointer, |
342 kMove, | 342 kMove, |
343 kVerticalText, | 343 kVerticalText, |
344 kCell, | 344 kCell, |
345 kContextMenu, | 345 kContextMenu, |
346 kAlias, | 346 kAlias, |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
604 ScrollSnapTypeNone, | 604 ScrollSnapTypeNone, |
605 ScrollSnapTypeMandatory, | 605 ScrollSnapTypeMandatory, |
606 ScrollSnapTypeProximity | 606 ScrollSnapTypeProximity |
607 }; | 607 }; |
608 | 608 |
609 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; | 609 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; |
610 | 610 |
611 } // namespace blink | 611 } // namespace blink |
612 | 612 |
613 #endif // ComputedStyleConstants_h | 613 #endif // ComputedStyleConstants_h |
OLD | NEW |