WebCore/css/CSSValueKeywords.in
changeset 0 4f2f89ce4247
equal deleted inserted replaced
-1:000000000000 0:4f2f89ce4247
       
     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 RenderStyle.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 #
       
   216 # CSS_PROP_LIST_STYLE_POSITION:
       
   217 #
       
   218 outside
       
   219 inside
       
   220 #
       
   221 # CSS_PROP_LIST_STYLE_TYPE:
       
   222 #
       
   223 disc
       
   224 circle
       
   225 square
       
   226 decimal
       
   227 decimal-leading-zero
       
   228 arabic-indic
       
   229 binary
       
   230 bengali
       
   231 cambodian
       
   232 khmer
       
   233 devanagari
       
   234 gujarati
       
   235 gurmukhi
       
   236 kannada
       
   237 lower-hexadecimal
       
   238 lao
       
   239 malayalam
       
   240 mongolian
       
   241 myanmar
       
   242 octal
       
   243 oriya
       
   244 persian
       
   245 urdu
       
   246 telugu
       
   247 tibetan
       
   248 thai
       
   249 upper-hexadecimal
       
   250 lower-roman
       
   251 upper-roman
       
   252 lower-greek
       
   253 lower-alpha
       
   254 lower-latin
       
   255 upper-alpha
       
   256 upper-latin
       
   257 afar
       
   258 ethiopic-halehame-aa-et
       
   259 ethiopic-halehame-aa-er
       
   260 amharic
       
   261 ethiopic-halehame-am-et
       
   262 amharic-abegede
       
   263 ethiopic-abegede-am-et
       
   264 cjk-earthly-branch
       
   265 cjk-heavenly-stem
       
   266 ethiopic
       
   267 ethiopic-halehame-gez
       
   268 ethiopic-abegede
       
   269 ethiopic-abegede-gez
       
   270 hangul-consonant
       
   271 hangul
       
   272 lower-norwegian
       
   273 oromo
       
   274 ethiopic-halehame-om-et
       
   275 sidama
       
   276 ethiopic-halehame-sid-et
       
   277 somali
       
   278 ethiopic-halehame-so-et
       
   279 tigre
       
   280 ethiopic-halehame-tig
       
   281 tigrinya-er
       
   282 ethiopic-halehame-ti-er
       
   283 tigrinya-er-abegede
       
   284 ethiopic-abegede-ti-er
       
   285 tigrinya-et
       
   286 ethiopic-halehame-ti-et
       
   287 tigrinya-et-abegede
       
   288 ethiopic-abegede-ti-et
       
   289 upper-greek
       
   290 upper-norwegian
       
   291 hebrew
       
   292 armenian
       
   293 georgian
       
   294 cjk-ideographic
       
   295 hiragana
       
   296 katakana
       
   297 hiragana-iroha
       
   298 katakana-iroha
       
   299 #none
       
   300 #
       
   301 # CSS_PROP_DISPLAY:
       
   302 #
       
   303 inline
       
   304 block
       
   305 list-item
       
   306 run-in
       
   307 compact
       
   308 inline-block
       
   309 table
       
   310 inline-table
       
   311 table-row-group
       
   312 table-header-group
       
   313 table-footer-group
       
   314 table-row
       
   315 table-column-group
       
   316 table-column
       
   317 table-cell
       
   318 table-caption
       
   319 -webkit-box
       
   320 -webkit-inline-box
       
   321 -wap-marquee
       
   322 #none
       
   323 #
       
   324 # CSS_PROP_CURSOR:
       
   325 #
       
   326 auto
       
   327 crosshair
       
   328 default
       
   329 pointer
       
   330 move
       
   331 vertical-text
       
   332 cell
       
   333 context-menu
       
   334 alias
       
   335 # copy
       
   336 progress
       
   337 no-drop
       
   338 not-allowed
       
   339 -webkit-zoom-in
       
   340 -webkit-zoom-out
       
   341 e-resize
       
   342 ne-resize
       
   343 nw-resize
       
   344 n-resize
       
   345 se-resize
       
   346 sw-resize
       
   347 s-resize
       
   348 w-resize
       
   349 ew-resize
       
   350 ns-resize
       
   351 nesw-resize
       
   352 nwse-resize
       
   353 col-resize
       
   354 row-resize
       
   355 text
       
   356 wait
       
   357 help
       
   358 all-scroll
       
   359 -webkit-grab
       
   360 -webkit-grabbing
       
   361 # none
       
   362 #
       
   363 # CSS_PROP_DIRECTION:
       
   364 #
       
   365 ltr
       
   366 rtl
       
   367 #
       
   368 # CSS_PROP_TEXT_TRANSFORM:
       
   369 #
       
   370 capitalize
       
   371 uppercase
       
   372 lowercase
       
   373 #none
       
   374 #
       
   375 # CSS_PROP_VISIBILITY:
       
   376 #
       
   377 visible
       
   378 #hidden
       
   379 collapse
       
   380 #
       
   381 # Unordered rest
       
   382 #
       
   383 a3
       
   384 a4
       
   385 a5
       
   386 above
       
   387 absolute
       
   388 always
       
   389 avoid
       
   390 b4
       
   391 b5
       
   392 below
       
   393 bidi-override
       
   394 blink
       
   395 both
       
   396 close-quote
       
   397 crop
       
   398 cross
       
   399 embed
       
   400 fixed
       
   401 hand
       
   402 hide
       
   403 higher
       
   404 invert
       
   405 landscape
       
   406 ledger
       
   407 legal
       
   408 letter
       
   409 level
       
   410 line-through
       
   411 local
       
   412 loud
       
   413 lower
       
   414 -webkit-marquee
       
   415 mix
       
   416 no-close-quote
       
   417 no-open-quote
       
   418 nowrap
       
   419 open-quote
       
   420 overlay
       
   421 overline
       
   422 portrait
       
   423 pre
       
   424 pre-line
       
   425 pre-wrap
       
   426 relative
       
   427 scroll
       
   428 separate
       
   429 show
       
   430 static
       
   431 thick
       
   432 thin
       
   433 underline
       
   434 -webkit-nowrap
       
   435 
       
   436 # CSS3 Values
       
   437 # CSS_PROP_BOX_ALIGN
       
   438 stretch
       
   439 start
       
   440 end
       
   441 #center
       
   442 #baseline
       
   443 
       
   444 # CSS_PROP_BOX_DIRECTION
       
   445 # normal
       
   446 reverse
       
   447 
       
   448 # CSS_PROP_BOX_ORIENT
       
   449 horizontal
       
   450 vertical
       
   451 inline-axis
       
   452 block-axis
       
   453 
       
   454 # CSS_PROP_BOX_PACK
       
   455 # start
       
   456 # end
       
   457 # center
       
   458 # justify
       
   459 
       
   460 # CSS_PROP_BOX_LINES
       
   461 single
       
   462 multiple
       
   463 
       
   464 # CSS_PROP_MARQUEE_DIRECTION
       
   465 forwards
       
   466 backwards
       
   467 ahead
       
   468 # reverse
       
   469 # left
       
   470 # right
       
   471 up
       
   472 down
       
   473 # auto
       
   474 
       
   475 # CSS_PROP_MARQUEE_SPEED
       
   476 slow
       
   477 # normal
       
   478 fast
       
   479 
       
   480 # CSS_PROP_MARQUEE_REPETITION
       
   481 infinite
       
   482 
       
   483 # CSS_PROP_MARQUEE_STYLE
       
   484 # none
       
   485 slide
       
   486 # scroll
       
   487 alternate
       
   488 
       
   489 #
       
   490 # CSS_PROP__KHTML_USER_MODIFY
       
   491 #
       
   492 read-only
       
   493 read-write
       
   494 read-write-plaintext-only
       
   495 
       
   496 #
       
   497 # CSS_PROP__KHTML_USER_DRAG
       
   498 #
       
   499 element
       
   500 
       
   501 #
       
   502 # CSS_PROP__KHTML_USER_SELECT
       
   503 #
       
   504 ignore
       
   505 
       
   506 #
       
   507 # CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
       
   508 #
       
   509 intrinsic
       
   510 min-intrinsic
       
   511 
       
   512 #
       
   513 # CSS_PROP_TEXT_OVERFLOW
       
   514 #
       
   515 clip
       
   516 ellipsis
       
   517 
       
   518 #
       
   519 # CSS_PROP__KHTML_MARGIN_COLLAPSE
       
   520 #
       
   521 # collapse
       
   522 # separate
       
   523 discard
       
   524 
       
   525 #
       
   526 # CSS_PROP_TEXT_*_COLOR
       
   527 #
       
   528 dot-dash
       
   529 dot-dot-dash
       
   530 wave
       
   531 
       
   532 #
       
   533 # CSS_PROP_TEXT_*_MODE
       
   534 #
       
   535 continuous
       
   536 skip-white-space
       
   537 
       
   538 #
       
   539 # CSS_PROP_WORD_BREAK
       
   540 #
       
   541 break-all
       
   542 
       
   543 #
       
   544 # CSS_PROP_WORD_WRAP
       
   545 #
       
   546 break-word
       
   547 
       
   548 #
       
   549 # CSS_PROP__KHTML_NBSP_MODE
       
   550 #
       
   551 space
       
   552 
       
   553 #
       
   554 # CSS_PROP__KHTML_LINE_BREAK
       
   555 #
       
   556 after-white-space
       
   557 
       
   558 #
       
   559 # CSS_PROP__KHTML_APPEARANCE
       
   560 #
       
   561 checkbox
       
   562 radio
       
   563 push-button
       
   564 square-button
       
   565 button
       
   566 button-bevel
       
   567 default-button
       
   568 inner-spin-button
       
   569 input-speech-button
       
   570 list-button
       
   571 listbox
       
   572 listitem
       
   573 media-fullscreen-button
       
   574 media-mute-button
       
   575 media-play-button
       
   576 media-seek-back-button
       
   577 media-seek-forward-button
       
   578 media-rewind-button
       
   579 media-return-to-realtime-button
       
   580 media-toggle-closed-captions-button
       
   581 media-slider
       
   582 media-sliderthumb
       
   583 media-volume-slider-container
       
   584 media-volume-slider
       
   585 media-volume-sliderthumb
       
   586 media-volume-slider-mute-button
       
   587 media-controls-background
       
   588 media-current-time-display
       
   589 media-time-remaining-display
       
   590 menulist
       
   591 menulist-button
       
   592 menulist-text
       
   593 menulist-textfield
       
   594 meter
       
   595 outer-spin-button
       
   596 progress-bar
       
   597 progress-bar-value
       
   598 slider-horizontal
       
   599 slider-vertical
       
   600 sliderthumb-horizontal
       
   601 sliderthumb-vertical
       
   602 caret
       
   603 searchfield
       
   604 searchfield-decoration
       
   605 searchfield-results-decoration
       
   606 searchfield-results-button
       
   607 searchfield-cancel-button
       
   608 textfield
       
   609 caps-lock-indicator
       
   610 relevancy-level-indicator
       
   611 continuous-capacity-level-indicator
       
   612 discrete-capacity-level-indicator
       
   613 rating-level-indicator
       
   614 textarea
       
   615 
       
   616 #
       
   617 # CSS_PROP_BORDER_IMAGE
       
   618 #
       
   619 # stretch
       
   620 # repeat
       
   621 round
       
   622 
       
   623 #
       
   624 # CSS_PROP_BACKGROUND_CLIP/ORIGIN
       
   625 #
       
   626 # border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
       
   627 # border-box/content-box/padding-box should be used instead.
       
   628 #
       
   629 border
       
   630 border-box
       
   631 content
       
   632 content-box
       
   633 padding
       
   634 padding-box
       
   635 
       
   636 #
       
   637 # background-size
       
   638 #
       
   639 contain
       
   640 cover
       
   641 
       
   642 #
       
   643 # CSS_PROP__KHTML_RTL_ORDERING
       
   644 #
       
   645 logical
       
   646 visual
       
   647 
       
   648 #
       
   649 # CSS_PROP__WEBKIT_BORDER_FIT
       
   650 #
       
   651 lines
       
   652 
       
   653 #
       
   654 # CSS_PROP__WEBKIT_ANIMATION_DIRECTION
       
   655 #
       
   656 # alternate
       
   657 
       
   658 #
       
   659 # CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
       
   660 #
       
   661 # forwards
       
   662 # backwards
       
   663 # both
       
   664 
       
   665 #
       
   666 # CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
       
   667 #
       
   668 # infinite
       
   669 
       
   670 #
       
   671 # CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
       
   672 #
       
   673 running
       
   674 paused
       
   675 
       
   676 #
       
   677 # CSS_PROP__WEBKIT_TRANSFORM_STYLE
       
   678 #
       
   679 flat
       
   680 preserve-3d
       
   681 
       
   682 #
       
   683 # CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
       
   684 # CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
       
   685 #
       
   686 ease
       
   687 linear
       
   688 ease-in
       
   689 ease-out
       
   690 ease-in-out
       
   691 
       
   692 #
       
   693 # CSS_PROP_ZOOM
       
   694 #
       
   695 document
       
   696 reset
       
   697 
       
   698 #
       
   699 # CSS_PROP_POINTER_EVENTS
       
   700 #
       
   701 visiblePainted
       
   702 visibleFill
       
   703 visibleStroke
       
   704 #visible
       
   705 painted
       
   706 fill
       
   707 stroke
       
   708 #all
       
   709 #none
       
   710 
       
   711 #
       
   712 # CSS_PROP__WEBKIT_HAPTIC_TAP_TYPE
       
   713 #
       
   714 #button
       
   715 latched-button-down
       
   716 latched-button-up
       
   717 latched-button-stuck
       
   718 link
       
   719 checked-checkbox
       
   720 unchecked-checkbox
       
   721 
       
   722 #
       
   723 # CSS_PROP__WEBKIT_HAPTIC_TAP_STRENGTH
       
   724 #
       
   725 #none
       
   726 weak
       
   727 #medium
       
   728 strong
       
   729 
       
   730 #
       
   731 # -webkit-font-smoothing
       
   732 #
       
   733 # auto
       
   734 # none
       
   735 antialiased
       
   736 subpixel-antialiased
       
   737 
       
   738 # text-rendering
       
   739 #auto
       
   740 optimizeSpeed
       
   741 optimizeLegibility
       
   742 geometricPrecision
       
   743 
       
   744 # -webkit-color-correction
       
   745 #default
       
   746 sRGB
       
   747 
       
   748 # (-webkit-view-mode:) media feature:
       
   749 floating
       
   750 fullscreen
       
   751 maximized
       
   752 minimized
       
   753 windowed
       
   754 
       
   755 # -webkit-hyphens
       
   756 # none
       
   757 manual
       
   758 # auto