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