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