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