Home | History | Annotate | Download | only in css
      1 //
      2 // CSS value names
      3 //
      4 
      5 // The mode argument is used to limit the keyword to be used only for certain
      6 // CSSParserModes. Values that have the prefix -internal- are only allowed by
      7 // CSSParserModes listed in allowInternalPropertyAndValue()
      8 
      9 inherit
     10 initial
     11 //
     12 // outline-style
     13 // border-top-style
     14 // border-bottom-style
     15 // border-left-style
     16 // border-right-style
     17 // The order here must match the order of the EBorderStyle enum in RenderStyleConstants.h.
     18 none
     19 hidden
     20 inset
     21 groove
     22 outset
     23 ridge
     24 dotted
     25 dashed
     26 solid
     27 double
     28 
     29 //
     30 // 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 // font-style
     44 //
     45 //normal
     46 italic
     47 oblique
     48 // The following is only allowed in @font-face:
     49 all
     50 
     51 //
     52 // font-variant
     53 //
     54 //normal
     55 small-caps
     56 
     57 // font-variant-ligatures:
     58 //
     59 // normal
     60 common-ligatures
     61 no-common-ligatures
     62 discretionary-ligatures
     63 no-discretionary-ligatures
     64 historical-ligatures
     65 no-historical-ligatures
     66 contextual
     67 no-contextual
     68 
     69 //
     70 // font-weigth
     71 //
     72 normal
     73 bold
     74 bolder
     75 lighter
     76 100
     77 200
     78 300
     79 400
     80 500
     81 600
     82 700
     83 800
     84 900
     85 
     86 //
     87 // font-size
     88 //
     89 xx-small
     90 x-small
     91 small
     92 medium
     93 large
     94 x-large
     95 xx-large
     96 -webkit-xxx-large
     97 smaller
     98 larger
     99 
    100 //
    101 // font-family (<generic-family> in CSS 2.1)
    102 //
    103 serif
    104 sans-serif
    105 cursive
    106 fantasy
    107 monospace
    108 -webkit-body
    109 -webkit-pictograph
    110 
    111 //
    112 //
    113 // *-color
    114 //
    115 aqua
    116 black
    117 blue
    118 fuchsia
    119 gray
    120 green
    121 lime
    122 maroon
    123 navy
    124 olive
    125 orange
    126 purple
    127 red
    128 silver
    129 teal
    130 white
    131 yellow
    132 transparent
    133 -webkit-link
    134 -webkit-activelink
    135 activeborder
    136 activecaption
    137 appworkspace
    138 background
    139 buttonface
    140 buttonhighlight
    141 buttonshadow
    142 buttontext
    143 captiontext
    144 graytext
    145 highlight
    146 highlighttext
    147 inactiveborder
    148 inactivecaption
    149 inactivecaptiontext
    150 infobackground
    151 infotext
    152 menutext
    153 scrollbar
    154 threeddarkshadow
    155 threedface
    156 threedhighlight
    157 threedlightshadow
    158 threedshadow
    159 window
    160 windowframe
    161 windowtext
    162 -internal-active-list-box-selection
    163 -internal-active-list-box-selection-text
    164 -internal-inactive-list-box-selection
    165 -internal-inactive-list-box-selection-text
    166 -webkit-focus-ring-color mode=QuirksOrUASheet
    167 currentcolor
    168 grey
    169 //
    170 // colors in non strict mode
    171 -webkit-text mode=QuirksOrUASheet
    172 //
    173 // background-repeat
    174 //
    175 repeat
    176 repeat-x
    177 repeat-y
    178 no-repeat
    179 // round
    180 // space
    181 //
    182 // -webkit-background-composite
    183 //
    184 clear
    185 copy
    186 source-over
    187 source-in
    188 source-out
    189 source-atop
    190 destination-over
    191 destination-in
    192 destination-out
    193 destination-atop
    194 xor
    195 plus-darker
    196 // highlight
    197 plus-lighter
    198 //
    199 // vertical-align
    200 //
    201 baseline
    202 middle
    203 sub
    204 super
    205 text-top
    206 text-bottom
    207 top
    208 bottom
    209 // HTML alignment MIDDLE has no corresponding CSS alignment
    210 -webkit-baseline-middle
    211 //
    212 // text-align
    213 // The order here must match the order of the ETextAlign enum in RenderStyleConstants.h.
    214 //
    215 -webkit-auto
    216 left
    217 right
    218 center
    219 justify
    220 -webkit-left
    221 -webkit-right
    222 -webkit-center
    223 -webkit-match-parent
    224 //
    225 // text-justify
    226 //
    227 //auto
    228 //none
    229 inter-word
    230 distribute
    231 //
    232 // list-style-position
    233 //
    234 outside
    235 inside
    236 //
    237 // list-style-type
    238 // The order here must match the order of the EListStyleType enum in RenderStyleConstants.h.
    239 //
    240 disc
    241 circle
    242 square
    243 decimal
    244 decimal-leading-zero
    245 arabic-indic
    246 binary
    247 bengali
    248 cambodian
    249 khmer
    250 devanagari
    251 gujarati
    252 gurmukhi
    253 kannada
    254 lower-hexadecimal
    255 lao
    256 malayalam
    257 mongolian
    258 myanmar
    259 octal
    260 oriya
    261 persian
    262 urdu
    263 telugu
    264 tibetan
    265 thai
    266 upper-hexadecimal
    267 lower-roman
    268 upper-roman
    269 lower-greek
    270 lower-alpha
    271 lower-latin
    272 upper-alpha
    273 upper-latin
    274 afar
    275 ethiopic-halehame-aa-et
    276 ethiopic-halehame-aa-er
    277 amharic
    278 ethiopic-halehame-am-et
    279 amharic-abegede
    280 ethiopic-abegede-am-et
    281 cjk-earthly-branch
    282 cjk-heavenly-stem
    283 ethiopic
    284 ethiopic-halehame-gez
    285 ethiopic-abegede
    286 ethiopic-abegede-gez
    287 hangul-consonant
    288 hangul
    289 lower-norwegian
    290 oromo
    291 ethiopic-halehame-om-et
    292 sidama
    293 ethiopic-halehame-sid-et
    294 somali
    295 ethiopic-halehame-so-et
    296 tigre
    297 ethiopic-halehame-tig
    298 tigrinya-er
    299 ethiopic-halehame-ti-er
    300 tigrinya-er-abegede
    301 ethiopic-abegede-ti-er
    302 tigrinya-et
    303 ethiopic-halehame-ti-et
    304 tigrinya-et-abegede
    305 ethiopic-abegede-ti-et
    306 upper-greek
    307 upper-norwegian
    308 asterisks
    309 footnotes
    310 hebrew
    311 armenian
    312 lower-armenian
    313 upper-armenian
    314 georgian
    315 cjk-ideographic
    316 hiragana
    317 katakana
    318 hiragana-iroha
    319 katakana-iroha
    320 //none
    321 //
    322 // display
    323 // The order here must match the order of the EDisplay enum in RenderStyleConstants.h.
    324 //
    325 inline
    326 block
    327 list-item
    328 inline-block
    329 table
    330 inline-table
    331 table-row-group
    332 table-header-group
    333 table-footer-group
    334 table-row
    335 table-column-group
    336 table-column
    337 table-cell
    338 table-caption
    339 -webkit-box
    340 -webkit-inline-box
    341 flex
    342 inline-flex
    343 grid
    344 inline-grid
    345 //none
    346 -webkit-flex
    347 -webkit-inline-flex
    348 //
    349 // cursor
    350 // The order here must match the order of the ECursor enum in RenderStyleConstants.h.
    351 //
    352 auto
    353 crosshair
    354 default
    355 pointer
    356 move
    357 vertical-text
    358 cell
    359 context-menu
    360 alias
    361 // copy
    362 progress
    363 no-drop
    364 not-allowed
    365 zoom-in
    366 zoom-out
    367 e-resize
    368 ne-resize
    369 nw-resize
    370 n-resize
    371 se-resize
    372 sw-resize
    373 s-resize
    374 w-resize
    375 ew-resize
    376 ns-resize
    377 nesw-resize
    378 nwse-resize
    379 col-resize
    380 row-resize
    381 text
    382 wait
    383 help
    384 all-scroll
    385 -webkit-grab
    386 -webkit-grabbing
    387 -webkit-zoom-in
    388 -webkit-zoom-out
    389 // none
    390 //
    391 // direction
    392 //
    393 ltr
    394 rtl
    395 //
    396 // text-transform
    397 //
    398 capitalize
    399 uppercase
    400 lowercase
    401 //none
    402 //
    403 // visibility
    404 //
    405 visible
    406 //hidden
    407 collapse
    408 //
    409 // Unordered rest
    410 //
    411 a3
    412 a4
    413 a5
    414 above
    415 absolute
    416 always
    417 avoid
    418 b4
    419 b5
    420 below
    421 bidi-override
    422 blink
    423 both
    424 close-quote
    425 embed
    426 fixed
    427 hand
    428 hide
    429 invert
    430 -webkit-isolate
    431 -webkit-isolate-override
    432 -webkit-plaintext
    433 landscape
    434 ledger
    435 legal
    436 letter
    437 line-through
    438 local
    439 no-close-quote
    440 no-open-quote
    441 nowrap
    442 open-quote
    443 overlay
    444 overline
    445 portrait
    446 pre
    447 pre-line
    448 pre-wrap
    449 -internal-presence
    450 relative
    451 scroll
    452 separate
    453 show
    454 static
    455 thick
    456 thin
    457 underline
    458 wavy
    459 -webkit-nowrap
    460 
    461 // CSS3 Values
    462 // box-align
    463 stretch
    464 start
    465 end
    466 //center
    467 //baseline
    468 
    469 // box-decoration-break
    470 clone
    471 slice
    472 
    473 // box-direction
    474 // normal
    475 reverse
    476 
    477 // box-orient
    478 horizontal
    479 vertical
    480 inline-axis
    481 block-axis
    482 
    483 // box-pack
    484 // start
    485 // end
    486 // center
    487 // justify
    488 
    489 // box-lines
    490 single
    491 multiple
    492 
    493 // align-content
    494 flex-start
    495 flex-end
    496 // center
    497 space-between
    498 space-around
    499 // stretch
    500 
    501 // align-items / align-self
    502 // flex-start
    503 // flex-end
    504 // center
    505 // baseline
    506 // stretch
    507 
    508 // justify-content
    509 // flex-start
    510 // flex-end
    511 // center
    512 // space-between
    513 // space-around
    514 
    515 // flex-flow
    516 row
    517 row-reverse
    518 column
    519 column-reverse
    520 // nowrap
    521 // wrap
    522 wrap-reverse
    523 
    524 // -internal-marquee-direction
    525 forwards
    526 backwards
    527 ahead
    528 // reverse
    529 // left
    530 // right
    531 up
    532 down
    533 // auto
    534 
    535 // -internal-marquee-speed
    536 slow
    537 // normal
    538 fast
    539 
    540 // -internal-marquee-repetition
    541 infinite
    542 
    543 // -internal-marquee-style
    544 // none
    545 slide
    546 // scroll
    547 alternate
    548 
    549 //
    550 // -webkit-user-modify
    551 //
    552 read-only
    553 read-write
    554 read-write-plaintext-only
    555 
    556 //
    557 // -webkit-user-drag
    558 //
    559 element
    560 
    561 //
    562 // width/min-width/max-width
    563 //
    564 intrinsic
    565 min-intrinsic
    566 
    567 //
    568 // CSS3 intrinsic dimension keywords
    569 //
    570 -webkit-min-content
    571 -webkit-max-content
    572 -webkit-fill-available
    573 -webkit-fit-content
    574 // Unprefixed for CSS Grid Layout.
    575 min-content
    576 max-content
    577 
    578 //
    579 // text-overflow
    580 //
    581 clip
    582 ellipsis
    583 
    584 //
    585 // -webkit-margin-collapse
    586 //
    587 // collapse
    588 // separate
    589 discard
    590 
    591 //
    592 // text-*-color
    593 //
    594 dot-dash
    595 dot-dot-dash
    596 wave
    597 
    598 //
    599 // text-*-mode
    600 //
    601 continuous
    602 skip-white-space
    603 
    604 //
    605 // word-break
    606 //
    607 break-all
    608 
    609 //
    610 // word-wrap
    611 //
    612 break-word
    613 
    614 //
    615 // nbsp-mode
    616 //
    617 space
    618 
    619 //
    620 // -webkit-line-break
    621 //
    622 // auto
    623 loose
    624 // normal
    625 strict
    626 after-white-space
    627 
    628 // -webkit-appearance
    629 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
    630 // All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
    631 checkbox
    632 radio
    633 push-button
    634 square-button
    635 button
    636 button-bevel
    637 inner-spin-button
    638 listbox
    639 listitem
    640 media-enter-fullscreen-button
    641 media-exit-fullscreen-button
    642 media-fullscreen-volume-slider
    643 media-fullscreen-volume-slider-thumb
    644 media-mute-button
    645 media-play-button
    646 media-overlay-play-button
    647 media-toggle-closed-captions-button
    648 media-slider
    649 media-sliderthumb
    650 media-volume-slider-container
    651 media-volume-slider
    652 media-volume-sliderthumb
    653 media-controls-background
    654 media-controls-fullscreen-background
    655 media-current-time-display
    656 media-time-remaining-display
    657 menulist
    658 menulist-button
    659 menulist-text
    660 menulist-textfield
    661 meter
    662 progress-bar
    663 progress-bar-value
    664 slider-horizontal
    665 slider-vertical
    666 sliderthumb-horizontal
    667 sliderthumb-vertical
    668 caret
    669 searchfield
    670 searchfield-decoration
    671 searchfield-results-decoration
    672 searchfield-cancel-button
    673 textfield
    674 relevancy-level-indicator
    675 continuous-capacity-level-indicator
    676 discrete-capacity-level-indicator
    677 rating-level-indicator
    678 textarea
    679 // An appearance value that should not be accepted by the parser:
    680 caps-lock-indicator
    681 
    682 //
    683 // border-image
    684 //
    685 // stretch
    686 // repeat
    687 round
    688 
    689 //
    690 // background-clip/background-origin
    691 //
    692 // border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
    693 // border-box/content-box/padding-box should be used instead.
    694 //
    695 border
    696 border-box
    697 content
    698 content-box
    699 padding
    700 padding-box
    701 
    702 // CSS 3 SHAPES
    703 margin-box
    704 
    705 //
    706 // background-size
    707 //
    708 contain
    709 cover
    710 
    711 //
    712 // -webkit-rtl-ordering
    713 //
    714 logical
    715 visual
    716 
    717 //
    718 // -webkit-border-fit
    719 //
    720 lines
    721 
    722 //
    723 // animation-direction
    724 //
    725 // alternate
    726 
    727 alternate-reverse
    728 
    729 //
    730 // animation-fill-mode
    731 //
    732 // forwards
    733 // backwards
    734 // both
    735 
    736 //
    737 // animation-iteration-count
    738 //
    739 // infinite
    740 
    741 //
    742 // animation-play-state
    743 //
    744 running
    745 paused
    746 
    747 //
    748 // transform-style
    749 //
    750 flat
    751 preserve-3d
    752 
    753 //
    754 // transition-timing-function
    755 // animation-timing-function
    756 //
    757 ease
    758 linear
    759 ease-in
    760 ease-out
    761 ease-in-out
    762 step-start
    763 step-middle
    764 step-end
    765 
    766 //
    767 // zoom
    768 //
    769 document
    770 reset
    771 
    772 //
    773 // user-zoom
    774 //
    775 // fixed
    776 zoom
    777 
    778 //
    779 // pointer-events
    780 //
    781 visiblePainted
    782 visibleFill
    783 visibleStroke
    784 //visible
    785 painted
    786 fill
    787 stroke
    788 bounding-box
    789 //all
    790 //none
    791 
    792 //
    793 // speech
    794 //
    795 spell-out
    796 digits
    797 literal-punctuation
    798 no-punctuation
    799 
    800 //
    801 // -webkit-font-smoothing
    802 //
    803 // auto
    804 // none
    805 antialiased
    806 subpixel-antialiased
    807 
    808 // text-rendering
    809 //auto
    810 optimizeSpeed
    811 optimizeLegibility
    812 geometricPrecision
    813 
    814 // -webkit-color-adjust
    815 economy
    816 exact
    817 
    818 // -webkit-writing-mode
    819 // SVG compatibility
    820 lr
    821 rl
    822 tb
    823 lr-tb
    824 rl-tb
    825 tb-rl
    826 // Standard values from CSS3
    827 horizontal-tb
    828 vertical-rl
    829 vertical-lr
    830 horizontal-bt
    831 
    832 // -webkit-ruby-position
    833 after
    834 before
    835 
    836 // -webkit-text-emphasis-position
    837 over
    838 under
    839 
    840 // -webkit-text-emphasis-style
    841 filled
    842 open
    843 dot
    844 // circle
    845 double-circle
    846 triangle
    847 sesame
    848 
    849 // -webkit-radial-gradient
    850 // circle
    851 ellipse
    852 closest-side
    853 closest-corner
    854 farthest-side
    855 farthest-corner
    856 // contain
    857 // cover
    858 
    859 // -webkit-text-orientation
    860 sideways
    861 sideways-right
    862 upright
    863 vertical-right
    864 
    865 // -webkit-line-box-contain
    866 font
    867 glyphs
    868 inline-box
    869 replaced
    870 
    871 // -webkit-font-feature-settings
    872 on
    873 off
    874 
    875 // image-rendering
    876 //auto
    877 //optimizeSpeed
    878 optimizeQuality
    879 -webkit-optimize-contrast
    880 
    881 // shape-outside
    882 nonzero
    883 evenodd
    884 at
    885 // closest-side
    886 // farthest-side
    887 
    888 // -webkit-wrap-flow
    889 // auto
    890 // both
    891 // left
    892 // right
    893 maximum
    894 // clear
    895 
    896 // -webkit-wrap-through
    897 wrap
    898 // none
    899 
    900 alphabetic
    901 
    902 // position
    903 sticky
    904 
    905 // (pointer:) media feature
    906 // none
    907 coarse
    908 fine
    909 
    910 // blend modes
    911 // normal
    912 multiply
    913 screen
    914 // overlay
    915 darken
    916 lighten
    917 color-dodge
    918 color-burn
    919 hard-light
    920 soft-light
    921 difference
    922 exclusion
    923 hue
    924 saturation
    925 color
    926 luminosity
    927 
    928 // object-fit
    929 scale-down
    930 
    931 // column-fill
    932 balance
    933 
    934 // overflow
    935 -webkit-paged-x
    936 -webkit-paged-y
    937 
    938 // -webkit-app-region
    939 drag
    940 no-drag
    941 
    942 // grid-{column|row}-{start|end}
    943 span
    944 
    945 // text-indent
    946 each-line
    947 //hanging   // hanging exists in SVGCSSValueKeywords.in
    948 
    949 // (scan:) media feature
    950 progressive
    951 interlace
    952 
    953 //
    954 // paint-order
    955 //
    956 // normal
    957 // fill
    958 // stroke
    959 markers
    960 
    961 //
    962 // CSS3 viewport-length keywords
    963 //
    964 -internal-extend-to-zoom
    965 
    966 // isolation
    967 // auto
    968 isolate
    969 
    970 // touch-action-delay
    971 // none
    972 script
    973 
    974 // touch-action
    975 pan-x
    976 pan-y
    977 manipulation
    978 
    979 // justify-self
    980 // auto
    981 // stretch
    982 // baseline
    983 // center
    984 // start
    985 // end
    986 self-start
    987 self-end
    988 // flex-start
    989 // flex-end
    990 // left
    991 // right
    992 true
    993 safe
    994 
    995 // scroll-behavior
    996 instant
    997 smooth
    998 
    999 // will-change
   1000 // auto
   1001 contents
   1002 scroll-position
   1003 
   1004 // all
   1005 // initial
   1006 // inherit
   1007 unset
   1008