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