Home | History | Annotate | Download | only in css
      1 # These are all values accepted for CSS2.
      2 #
      3 # WARNING:
      4 # --------
      5 #
      6 # The Values are sorted according to the properties they belong to,
      7 # and have to be in the same order as the enums in RenderStyleConstants.h.
      8 #
      9 # If not, the optimizations in the cssparser and style selector will fail,
     10 # and produce incorrect results.
     11 #
     12 inherit
     13 initial
     14 #
     15 # CSS_PROP_OUTLINE_STYLE
     16 # CSS_PROP_BORDER_TOP_STYLE
     17 # CSS_PROP_BORDER_BOTTOM_STYLE
     18 # CSS_PROP_BORDER_LEFT_STYLE
     19 none
     20 hidden
     21 inset
     22 groove
     23 ridge
     24 outset
     25 dotted
     26 dashed
     27 solid
     28 double
     29 #
     30 # CSS_PROP_FONT:
     31 #
     32 caption
     33 icon
     34 menu
     35 message-box
     36 small-caption
     37 -webkit-mini-control
     38 -webkit-small-control
     39 -webkit-control
     40 status-bar
     41 
     42 #
     43 # CSS_PROP_FONT_STYLE:
     44 #
     45 #normal
     46 italic
     47 oblique
     48 # The following is only allowed in @font-face:
     49 all
     50 #
     51 # CSS_PROP_FONT_VARIANT:
     52 #
     53 #normal
     54 small-caps
     55 #
     56 # CSS_PROP_FONT_WEIGHT:
     57 #
     58 normal
     59 bold
     60 bolder
     61 lighter
     62 100
     63 200
     64 300
     65 400
     66 500
     67 600
     68 700
     69 800
     70 900
     71 #
     72 # CSS_PROP_FONT_SIZE:
     73 #
     74 xx-small
     75 x-small
     76 small
     77 medium
     78 large
     79 x-large
     80 xx-large
     81 -webkit-xxx-large
     82 smaller
     83 larger
     84 #
     85 # CSS_PROP_FONT_STRETCH:
     86 #
     87 #normal
     88 wider
     89 narrower
     90 ultra-condensed
     91 extra-condensed
     92 condensed
     93 semi-condensed
     94 semi-expanded
     95 expanded
     96 extra-expanded
     97 ultra-expanded
     98 #
     99 # CSS_PROP_GENERIC_FONT_FAMILY:
    100 #
    101 serif
    102 sans-serif
    103 cursive
    104 fantasy
    105 monospace
    106 -webkit-body
    107 #
    108 #
    109 # CSS_PROP_*_COLOR
    110 #
    111 aqua
    112 black
    113 blue
    114 fuchsia
    115 gray
    116 green
    117 lime
    118 maroon
    119 navy
    120 olive
    121 orange
    122 purple
    123 red
    124 silver
    125 teal
    126 white
    127 yellow
    128 transparent
    129 -webkit-link
    130 -webkit-activelink
    131 activeborder
    132 activecaption
    133 appworkspace
    134 background
    135 buttonface
    136 buttonhighlight
    137 buttonshadow
    138 buttontext
    139 captiontext
    140 graytext
    141 highlight
    142 highlighttext
    143 inactiveborder
    144 inactivecaption
    145 inactivecaptiontext
    146 infobackground
    147 infotext
    148 match
    149 menutext
    150 scrollbar
    151 threeddarkshadow
    152 threedface
    153 threedhighlight
    154 threedlightshadow
    155 threedshadow
    156 window
    157 windowframe
    158 windowtext
    159 -webkit-focus-ring-color
    160 currentcolor
    161 #
    162 # colors in non strict mode
    163 grey
    164 -webkit-text
    165 #
    166 # CSS_PROP_BACKGROUND_REPEAT:
    167 #
    168 repeat
    169 repeat-x
    170 repeat-y
    171 no-repeat
    172 # round
    173 # space
    174 #
    175 # CSS_PROP__WEBKIT_BACKGROUND_COMPOSITE:
    176 #
    177 clear
    178 copy
    179 source-over
    180 source-in
    181 source-out
    182 source-atop
    183 destination-over
    184 destination-in
    185 destination-out
    186 destination-atop
    187 xor
    188 plus-darker
    189 # highlight
    190 plus-lighter
    191 #
    192 # CSS_PROP_VERTICAL_ALIGN:
    193 #
    194 baseline
    195 middle
    196 sub
    197 super
    198 text-top
    199 text-bottom
    200 top
    201 bottom
    202 # HTML alignment MIDDLE has no corresponding CSS alignment
    203 -webkit-baseline-middle
    204 #
    205 # CSS_PROP_TEXT_ALIGN:
    206 #
    207 -webkit-auto
    208 left
    209 right
    210 center
    211 justify
    212 -webkit-left
    213 -webkit-right
    214 -webkit-center
    215 -webkit-match-parent
    216 #
    217 # CSS_PROP_LIST_STYLE_POSITION:
    218 #
    219 outside
    220 inside
    221 #
    222 # CSS_PROP_LIST_STYLE_TYPE:
    223 #
    224 disc
    225 circle
    226 square
    227 decimal
    228 decimal-leading-zero
    229 arabic-indic
    230 binary
    231 bengali
    232 cambodian
    233 khmer
    234 devanagari
    235 gujarati
    236 gurmukhi
    237 kannada
    238 lower-hexadecimal
    239 lao
    240 malayalam
    241 mongolian
    242 myanmar
    243 octal
    244 oriya
    245 persian
    246 urdu
    247 telugu
    248 tibetan
    249 thai
    250 upper-hexadecimal
    251 lower-roman
    252 upper-roman
    253 lower-greek
    254 lower-alpha
    255 lower-latin
    256 upper-alpha
    257 upper-latin
    258 afar
    259 ethiopic-halehame-aa-et
    260 ethiopic-halehame-aa-er
    261 amharic
    262 ethiopic-halehame-am-et
    263 amharic-abegede
    264 ethiopic-abegede-am-et
    265 cjk-earthly-branch
    266 cjk-heavenly-stem
    267 ethiopic
    268 ethiopic-halehame-gez
    269 ethiopic-abegede
    270 ethiopic-abegede-gez
    271 hangul-consonant
    272 hangul
    273 lower-norwegian
    274 oromo
    275 ethiopic-halehame-om-et
    276 sidama
    277 ethiopic-halehame-sid-et
    278 somali
    279 ethiopic-halehame-so-et
    280 tigre
    281 ethiopic-halehame-tig
    282 tigrinya-er
    283 ethiopic-halehame-ti-er
    284 tigrinya-er-abegede
    285 ethiopic-abegede-ti-er
    286 tigrinya-et
    287 ethiopic-halehame-ti-et
    288 tigrinya-et-abegede
    289 ethiopic-abegede-ti-et
    290 upper-greek
    291 upper-norwegian
    292 asterisks
    293 footnotes
    294 hebrew
    295 armenian
    296 lower-armenian
    297 upper-armenian
    298 georgian
    299 cjk-ideographic
    300 hiragana
    301 katakana
    302 hiragana-iroha
    303 katakana-iroha
    304 #none
    305 #
    306 # CSS_PROP_DISPLAY:
    307 #
    308 inline
    309 block
    310 list-item
    311 run-in
    312 compact
    313 inline-block
    314 table
    315 inline-table
    316 table-row-group
    317 table-header-group
    318 table-footer-group
    319 table-row
    320 table-column-group
    321 table-column
    322 table-cell
    323 table-caption
    324 -webkit-box
    325 -webkit-inline-box
    326 -wap-marquee
    327 #none
    328 #
    329 # CSS_PROP_CURSOR:
    330 #
    331 auto
    332 crosshair
    333 default
    334 pointer
    335 move
    336 vertical-text
    337 cell
    338 context-menu
    339 alias
    340 # copy
    341 progress
    342 no-drop
    343 not-allowed
    344 -webkit-zoom-in
    345 -webkit-zoom-out
    346 e-resize
    347 ne-resize
    348 nw-resize
    349 n-resize
    350 se-resize
    351 sw-resize
    352 s-resize
    353 w-resize
    354 ew-resize
    355 ns-resize
    356 nesw-resize
    357 nwse-resize
    358 col-resize
    359 row-resize
    360 text
    361 wait
    362 help
    363 all-scroll
    364 -webkit-grab
    365 -webkit-grabbing
    366 # none
    367 #
    368 # CSS_PROP_DIRECTION:
    369 #
    370 ltr
    371 rtl
    372 #
    373 # CSS_PROP_TEXT_TRANSFORM:
    374 #
    375 capitalize
    376 uppercase
    377 lowercase
    378 #none
    379 #
    380 # CSS_PROP_VISIBILITY:
    381 #
    382 visible
    383 #hidden
    384 collapse
    385 #
    386 # Unordered rest
    387 #
    388 a3
    389 a4
    390 a5
    391 above
    392 absolute
    393 always
    394 avoid
    395 b4
    396 b5
    397 below
    398 bidi-override
    399 blink
    400 both
    401 close-quote
    402 crop
    403 cross
    404 embed
    405 fixed
    406 hand
    407 hide
    408 higher
    409 invert
    410 -webkit-isolate
    411 landscape
    412 ledger
    413 legal
    414 letter
    415 level
    416 line-through
    417 local
    418 loud
    419 lower
    420 -webkit-marquee
    421 mix
    422 no-close-quote
    423 no-open-quote
    424 nowrap
    425 open-quote
    426 overlay
    427 overline
    428 portrait
    429 pre
    430 pre-line
    431 pre-wrap
    432 relative
    433 scroll
    434 separate
    435 show
    436 static
    437 thick
    438 thin
    439 underline
    440 -webkit-nowrap
    441 
    442 # CSS3 Values
    443 # CSS_PROP_BOX_ALIGN
    444 stretch
    445 start
    446 end
    447 #center
    448 #baseline
    449 
    450 # CSS_PROP_BOX_DIRECTION
    451 # normal
    452 reverse
    453 
    454 # CSS_PROP_BOX_ORIENT
    455 horizontal
    456 vertical
    457 inline-axis
    458 block-axis
    459 
    460 # CSS_PROP_BOX_PACK
    461 # start
    462 # end
    463 # center
    464 # justify
    465 
    466 # CSS_PROP_BOX_LINES
    467 single
    468 multiple
    469 
    470 # CSS_PROP_MARQUEE_DIRECTION
    471 forwards
    472 backwards
    473 ahead
    474 # reverse
    475 # left
    476 # right
    477 up
    478 down
    479 # auto
    480 
    481 # CSS_PROP_MARQUEE_SPEED
    482 slow
    483 # normal
    484 fast
    485 
    486 # CSS_PROP_MARQUEE_REPETITION
    487 infinite
    488 
    489 # CSS_PROP_MARQUEE_STYLE
    490 # none
    491 slide
    492 # scroll
    493 alternate
    494 
    495 #
    496 # CSS_PROP__KHTML_USER_MODIFY
    497 #
    498 read-only
    499 read-write
    500 read-write-plaintext-only
    501 
    502 #
    503 # CSS_PROP__KHTML_USER_DRAG
    504 #
    505 element
    506 
    507 #
    508 # CSS_PROP__KHTML_USER_SELECT
    509 #
    510 ignore
    511 
    512 #
    513 # CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
    514 #
    515 intrinsic
    516 min-intrinsic
    517 
    518 #
    519 # CSS_PROP_TEXT_OVERFLOW
    520 #
    521 clip
    522 ellipsis
    523 
    524 #
    525 # CSS_PROP__KHTML_MARGIN_COLLAPSE
    526 #
    527 # collapse
    528 # separate
    529 discard
    530 
    531 #
    532 # CSS_PROP_TEXT_*_COLOR
    533 #
    534 dot-dash
    535 dot-dot-dash
    536 wave
    537 
    538 #
    539 # CSS_PROP_TEXT_*_MODE
    540 #
    541 continuous
    542 skip-white-space
    543 
    544 #
    545 # CSS_PROP_WORD_BREAK
    546 #
    547 break-all
    548 
    549 #
    550 # CSS_PROP_WORD_WRAP
    551 #
    552 break-word
    553 
    554 #
    555 # CSS_PROP__KHTML_NBSP_MODE
    556 #
    557 space
    558 
    559 #
    560 # CSS_PROP__KHTML_LINE_BREAK
    561 #
    562 after-white-space
    563 
    564 # -webkit-appearance
    565 # The order here should match the order in the ControlPart enum in ThemeTypes.h.
    566 # All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
    567 checkbox
    568 radio
    569 push-button
    570 square-button
    571 button
    572 button-bevel
    573 default-button
    574 inner-spin-button
    575 -webkit-input-speech-button
    576 list-button
    577 listbox
    578 listitem
    579 media-fullscreen-button
    580 media-mute-button
    581 media-play-button
    582 media-seek-back-button
    583 media-seek-forward-button
    584 media-rewind-button
    585 media-return-to-realtime-button
    586 media-toggle-closed-captions-button
    587 media-slider
    588 media-sliderthumb
    589 media-volume-slider-container
    590 media-volume-slider
    591 media-volume-sliderthumb
    592 media-volume-slider-mute-button
    593 media-controls-background
    594 media-controls-fullscreen-background
    595 media-current-time-display
    596 media-time-remaining-display
    597 menulist
    598 menulist-button
    599 menulist-text
    600 menulist-textfield
    601 meter
    602 outer-spin-button
    603 progress-bar
    604 progress-bar-value
    605 slider-horizontal
    606 slider-vertical
    607 sliderthumb-horizontal
    608 sliderthumb-vertical
    609 caret
    610 searchfield
    611 searchfield-decoration
    612 searchfield-results-decoration
    613 searchfield-results-button
    614 searchfield-cancel-button
    615 textfield
    616 relevancy-level-indicator
    617 continuous-capacity-level-indicator
    618 discrete-capacity-level-indicator
    619 rating-level-indicator
    620 textarea
    621 # An appearance value that should not be accepted by the parser:
    622 caps-lock-indicator
    623 
    624 #
    625 # CSS_PROP_BORDER_IMAGE
    626 #
    627 # stretch
    628 # repeat
    629 round
    630 
    631 #
    632 # CSS_PROP_BACKGROUND_CLIP/ORIGIN
    633 #
    634 # border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
    635 # border-box/content-box/padding-box should be used instead.
    636 #
    637 border
    638 border-box
    639 content
    640 content-box
    641 padding
    642 padding-box
    643 
    644 #
    645 # background-size
    646 #
    647 contain
    648 cover
    649 
    650 #
    651 # CSS_PROP__KHTML_RTL_ORDERING
    652 #
    653 logical
    654 visual
    655 
    656 #
    657 # CSS_PROP__WEBKIT_BORDER_FIT
    658 #
    659 lines
    660 
    661 #
    662 # CSS_PROP__WEBKIT_ANIMATION_DIRECTION
    663 #
    664 # alternate
    665 
    666 #
    667 # CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
    668 #
    669 # forwards
    670 # backwards
    671 # both
    672 
    673 #
    674 # CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
    675 #
    676 # infinite
    677 
    678 #
    679 # CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
    680 #
    681 running
    682 paused
    683 
    684 #
    685 # CSS_PROP__WEBKIT_TRANSFORM_STYLE
    686 #
    687 flat
    688 preserve-3d
    689 
    690 #
    691 # CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
    692 # CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
    693 #
    694 ease
    695 linear
    696 ease-in
    697 ease-out
    698 ease-in-out
    699 step-start
    700 step-end
    701 
    702 #
    703 # CSS_PROP_ZOOM
    704 #
    705 document
    706 reset
    707 
    708 #
    709 # CSS_PROP_POINTER_EVENTS
    710 #
    711 visiblePainted
    712 visibleFill
    713 visibleStroke
    714 #visible
    715 painted
    716 fill
    717 stroke
    718 #all
    719 #none
    720 
    721 #
    722 # CSS_PROP_SPEECH
    723 #
    724 spell-out
    725 digits
    726 literal-punctuation
    727 no-punctuation
    728 
    729 #
    730 # -webkit-font-smoothing
    731 #
    732 # auto
    733 # none
    734 antialiased
    735 subpixel-antialiased
    736 
    737 # text-rendering
    738 #auto
    739 optimizeSpeed
    740 optimizeLegibility
    741 geometricPrecision
    742 
    743 # -webkit-color-correction
    744 #default
    745 sRGB
    746 
    747 # (-webkit-view-mode:) media feature:
    748 floating
    749 fullscreen
    750 maximized
    751 minimized
    752 windowed
    753 
    754 # -webkit-hyphens
    755 # none
    756 manual
    757 # auto
    758 
    759 # -webkit-writing-mode
    760 # SVG compatibility
    761 lr
    762 rl
    763 tb
    764 lr-tb
    765 rl-tb
    766 tb-rl
    767 # Standard values from CSS3
    768 horizontal-tb
    769 vertical-rl
    770 vertical-lr
    771 horizontal-bt
    772 
    773 # -webkit-text-emphasis-position
    774 over
    775 under
    776 
    777 # -webkit-text-emphasis-style
    778 filled
    779 open
    780 dot
    781 # circle
    782 double-circle
    783 triangle
    784 sesame
    785 
    786 # -webkit-radial-gradient
    787 # circle
    788 ellipse
    789 closest-side
    790 closest-corner
    791 farthest-side
    792 farthest-corner
    793 # contain
    794 # cover
    795 
    796 # -webkit-text-orientation
    797 upright
    798 vertical-right
    799 
    800 # -webkit-line-box-contain
    801 font
    802 glyphs
    803 inline-box
    804 replaced
    805 
    806 
    807