| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 (1 << (PseudoIdBackdrop - 1)) | 90 (1 << (PseudoIdBackdrop - 1)) |
| 91 }; | 91 }; |
| 92 | 92 |
| 93 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; | 93 enum ColumnFill { ColumnFillBalance, ColumnFillAuto }; |
| 94 | 94 |
| 95 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll }; | 95 enum ColumnSpan { ColumnSpanNone = 0, ColumnSpanAll }; |
| 96 | 96 |
| 97 enum EBorderCollapse { BorderCollapseSeparate = 0, BorderCollapseCollapse = 1 }; | 97 enum EBorderCollapse { BorderCollapseSeparate = 0, BorderCollapseCollapse = 1 }; |
| 98 | 98 |
| 99 // These have been defined in the order of their precedence for | 99 // These have been defined in the order of their precedence for |
| 100 // border-collapsing. Do not change this order! This order also must match the | 100 // border-collapsing. Do not change this order! |
| 101 // order in CSSValueKeywords.in. | |
| 102 enum EBorderStyle { | 101 enum EBorderStyle { |
| 103 BorderStyleNone, | 102 BorderStyleNone, |
| 104 BorderStyleHidden, | 103 BorderStyleHidden, |
| 105 BorderStyleInset, | 104 BorderStyleInset, |
| 106 BorderStyleGroove, | 105 BorderStyleGroove, |
| 107 BorderStyleOutset, | 106 BorderStyleOutset, |
| 108 BorderStyleRidge, | 107 BorderStyleRidge, |
| 109 BorderStyleDotted, | 108 BorderStyleDotted, |
| 110 BorderStyleDashed, | 109 BorderStyleDashed, |
| 111 BorderStyleSolid, | 110 BorderStyleSolid, |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 enum LineBreak { | 260 enum LineBreak { |
| 262 LineBreakAuto, | 261 LineBreakAuto, |
| 263 LineBreakLoose, | 262 LineBreakLoose, |
| 264 LineBreakNormal, | 263 LineBreakNormal, |
| 265 LineBreakStrict, | 264 LineBreakStrict, |
| 266 LineBreakAfterWhiteSpace | 265 LineBreakAfterWhiteSpace |
| 267 }; | 266 }; |
| 268 | 267 |
| 269 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; | 268 enum EResize { RESIZE_NONE, RESIZE_BOTH, RESIZE_HORIZONTAL, RESIZE_VERTICAL }; |
| 270 | 269 |
| 271 // The order of this enum must match the order of the list style types in | |
| 272 // CSSValueKeywords.in. | |
| 273 enum EListStyleType { | 270 enum EListStyleType { |
| 274 Disc, | 271 Disc, |
| 275 Circle, | 272 Circle, |
| 276 Square, | 273 Square, |
| 277 DecimalListStyle, | 274 DecimalListStyle, |
| 278 DecimalLeadingZero, | 275 DecimalLeadingZero, |
| 279 ArabicIndic, | 276 ArabicIndic, |
| 280 Bengali, | 277 Bengali, |
| 281 Cambodian, | 278 Cambodian, |
| 282 Khmer, | 279 Khmer, |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 KatakanaIroha, | 325 KatakanaIroha, |
| 329 NoneListStyle | 326 NoneListStyle |
| 330 }; | 327 }; |
| 331 | 328 |
| 332 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; | 329 enum QuoteType { OPEN_QUOTE, CLOSE_QUOTE, NO_OPEN_QUOTE, NO_CLOSE_QUOTE }; |
| 333 | 330 |
| 334 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused }; | 331 enum EAnimPlayState { AnimPlayStatePlaying, AnimPlayStatePaused }; |
| 335 | 332 |
| 336 enum EWhiteSpace { NORMAL, PRE, PRE_WRAP, PRE_LINE, NOWRAP, KHTML_NOWRAP }; | 333 enum EWhiteSpace { NORMAL, PRE, PRE_WRAP, PRE_LINE, NOWRAP, KHTML_NOWRAP }; |
| 337 | 334 |
| 338 // The order of this enum must match the order of the text align values in | |
| 339 // CSSValueKeywords.in. | |
| 340 enum ETextAlign { | 335 enum ETextAlign { |
| 341 LEFT, | 336 LEFT, |
| 342 RIGHT, | 337 RIGHT, |
| 343 CENTER, | 338 CENTER, |
| 344 JUSTIFY, | 339 JUSTIFY, |
| 345 WEBKIT_LEFT, | 340 WEBKIT_LEFT, |
| 346 WEBKIT_RIGHT, | 341 WEBKIT_RIGHT, |
| 347 WEBKIT_CENTER, | 342 WEBKIT_CENTER, |
| 348 TASTART, | 343 TASTART, |
| 349 TAEND, | 344 TAEND, |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 // shorthands. | 421 // shorthands. |
| 427 }; | 422 }; |
| 428 | 423 |
| 429 enum class EEmptyCells : unsigned { Show, Hide }; | 424 enum class EEmptyCells : unsigned { Show, Hide }; |
| 430 | 425 |
| 431 enum class ECaptionSide : unsigned { Top, Bottom, Left, Right }; | 426 enum class ECaptionSide : unsigned { Top, Bottom, Left, Right }; |
| 432 | 427 |
| 433 enum class EListStylePosition : unsigned { Outside, Inside }; | 428 enum class EListStylePosition : unsigned { Outside, Inside }; |
| 434 | 429 |
| 435 enum ECursor { | 430 enum ECursor { |
| 436 // The following must match the order in CSSValueKeywords.in. | |
| 437 CURSOR_AUTO, | 431 CURSOR_AUTO, |
| 438 CURSOR_CROSS, | 432 CURSOR_CROSS, |
| 439 CURSOR_DEFAULT, | 433 CURSOR_DEFAULT, |
| 440 CURSOR_POINTER, | 434 CURSOR_POINTER, |
| 441 CURSOR_MOVE, | 435 CURSOR_MOVE, |
| 442 CURSOR_VERTICAL_TEXT, | 436 CURSOR_VERTICAL_TEXT, |
| 443 CURSOR_CELL, | 437 CURSOR_CELL, |
| 444 CURSOR_CONTEXT_MENU, | 438 CURSOR_CONTEXT_MENU, |
| 445 CURSOR_ALIAS, | 439 CURSOR_ALIAS, |
| 446 CURSOR_PROGRESS, | 440 CURSOR_PROGRESS, |
| (...skipping 14 matching lines...) Expand all Loading... |
| 461 CURSOR_NESW_RESIZE, | 455 CURSOR_NESW_RESIZE, |
| 462 CURSOR_NWSE_RESIZE, | 456 CURSOR_NWSE_RESIZE, |
| 463 CURSOR_COL_RESIZE, | 457 CURSOR_COL_RESIZE, |
| 464 CURSOR_ROW_RESIZE, | 458 CURSOR_ROW_RESIZE, |
| 465 CURSOR_TEXT, | 459 CURSOR_TEXT, |
| 466 CURSOR_WAIT, | 460 CURSOR_WAIT, |
| 467 CURSOR_HELP, | 461 CURSOR_HELP, |
| 468 CURSOR_ALL_SCROLL, | 462 CURSOR_ALL_SCROLL, |
| 469 CURSOR_WEBKIT_GRAB, | 463 CURSOR_WEBKIT_GRAB, |
| 470 CURSOR_WEBKIT_GRABBING, | 464 CURSOR_WEBKIT_GRABBING, |
| 471 | |
| 472 // The following are handled as exceptions so don't need to match. | |
| 473 CURSOR_COPY, | 465 CURSOR_COPY, |
| 474 CURSOR_NONE | 466 CURSOR_NONE |
| 475 }; | 467 }; |
| 476 | 468 |
| 477 // The order of this enum must match the order of the display values in | |
| 478 // CSSValueKeywords.in. | |
| 479 enum class EDisplay : unsigned { | 469 enum class EDisplay : unsigned { |
| 480 Inline, | 470 Inline, |
| 481 Block, | 471 Block, |
| 482 ListItem, | 472 ListItem, |
| 483 InlineBlock, | 473 InlineBlock, |
| 484 Table, | 474 Table, |
| 485 InlineTable, | 475 InlineTable, |
| 486 TableRowGroup, | 476 TableRowGroup, |
| 487 TableHeaderGroup, | 477 TableHeaderGroup, |
| 488 TableFooterGroup, | 478 TableFooterGroup, |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 718 ScrollSnapTypeNone, | 708 ScrollSnapTypeNone, |
| 719 ScrollSnapTypeMandatory, | 709 ScrollSnapTypeMandatory, |
| 720 ScrollSnapTypeProximity | 710 ScrollSnapTypeProximity |
| 721 }; | 711 }; |
| 722 | 712 |
| 723 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; | 713 enum AutoRepeatType { NoAutoRepeat, AutoFill, AutoFit }; |
| 724 | 714 |
| 725 } // namespace blink | 715 } // namespace blink |
| 726 | 716 |
| 727 #endif // ComputedStyleConstants_h | 717 #endif // ComputedStyleConstants_h |
| OLD | NEW |