[CSS Grid Layout] Upgrade align-self and align-items parsing to CSS 3
[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 last-baseline
547 // stretch
548
549 // CSS_PROP_JUSTIFY_CONTENT
550 // flex-start
551 // flex-end
552 // center
553 // space-between
554 // space-around
555
556 // CSS_PROP_JUSTIFY_SELF
557 // auto
558 // stretch
559 // baseline
560 // last-baseline
561 // center
562 // start
563 // end
564 self-start
565 self-end
566 // flex-start
567 // flex-end
568 // left
569 // right
570 true
571 safe
572
573 // CSS_PROP_FLEX_FLOW
574 row
575 row-reverse
576 column
577 column-reverse
578 // nowrap
579 // wrap
580 wrap-reverse
581
582 // CSS_PROP_MARQUEE_DIRECTION
583 forwards
584 backwards
585 ahead
586 // reverse
587 // left
588 // right
589 up
590 down
591 // auto
592
593 // CSS_PROP_MARQUEE_SPEED
594 slow
595 // normal
596 fast
597
598 // CSS_PROP_MARQUEE_REPETITION
599 infinite
600
601 // CSS_PROP_MARQUEE_STYLE
602 // none
603 slide
604 // scroll
605 alternate
606
607 //
608 // CSS_PROP__KHTML_USER_MODIFY
609 //
610 read-only
611 read-write
612 read-write-plaintext-only
613
614 //
615 // CSS_PROP__KHTML_USER_DRAG
616 //
617 element
618
619 //
620 // CSS_PROP__KHTML_USER_SELECT
621 //
622 ignore
623
624 //
625 // CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
626 //
627 intrinsic
628 min-intrinsic
629
630 //
631 // CSS3 intrinsic dimension keywords
632 //
633 -webkit-min-content
634 -webkit-max-content
635 -webkit-fill-available
636 -webkit-fit-content
637
638 //
639 // CSS_PROP_TEXT_OVERFLOW
640 //
641 clip
642 ellipsis
643
644 //
645 // CSS_PROP__KHTML_MARGIN_COLLAPSE
646 //
647 // collapse
648 // separate
649 discard
650
651 //
652 // CSS_PROP_TEXT_*_COLOR
653 //
654 dot-dash
655 dot-dot-dash
656 wave
657
658 //
659 // CSS_PROP_TEXT_*_MODE
660 //
661 continuous
662 skip-white-space
663
664 //
665 // CSS_PROP_WORD_BREAK
666 //
667 break-all
668
669 //
670 // CSS_PROP_WORD_WRAP
671 //
672 break-word
673
674 //
675 // CSS_PROP__KHTML_NBSP_MODE
676 //
677 space
678
679 //
680 // CSS_PROP__KHTML_LINE_BREAK
681 //
682 // auto
683 loose
684 // normal
685 strict
686 after-white-space
687
688 // -webkit-appearance
689 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
690 // All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
691 checkbox
692 radio
693 push-button
694 square-button
695 button
696 button-bevel
697 default-button
698 inner-spin-button
699 listbox
700 listitem
701 media-controls-background
702 media-controls-dark-bar-background
703 media-controls-fullscreen-background
704 media-controls-light-bar-background
705 media-current-time-display
706 media-enter-fullscreen-button
707 media-exit-fullscreen-button
708 media-fullscreen-volume-slider
709 media-fullscreen-volume-slider-thumb
710 media-mute-button
711 media-overlay-play-button
712 media-play-button
713 media-return-to-realtime-button
714 media-rewind-button
715 media-seek-back-button
716 media-seek-forward-button
717 media-slider
718 media-sliderthumb
719 media-time-remaining-display
720 media-toggle-closed-captions-button
721 media-volume-slider
722 media-volume-slider-container
723 media-volume-slider-mute-button
724 media-volume-sliderthumb
725 menulist
726 menulist-button
727 menulist-text
728 menulist-textfield
729 meter
730 progress-bar
731 progress-bar-value
732 slider-horizontal
733 slider-vertical
734 sliderthumb-horizontal
735 sliderthumb-vertical
736 caret
737 searchfield
738 searchfield-decoration
739 searchfield-results-decoration
740 searchfield-results-button
741 searchfield-cancel-button
742 snapshotted-plugin-overlay
743 textfield
744 relevancy-level-indicator
745 continuous-capacity-level-indicator
746 discrete-capacity-level-indicator
747 rating-level-indicator
748 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
749 image-controls-button
750 #endif
751 textarea
752 #if defined(ENABLE_ATTACHMENT_ELEMENT) && ENABLE_ATTACHMENT_ELEMENT
753 attachment
754 #endif
755 caps-lock-indicator
756
757 //
758 // CSS_PROP_BORDER_IMAGE
759 //
760 // stretch
761 // repeat
762 round
763
764 //
765 // CSS_PROP_BACKGROUND_CLIP/ORIGIN
766 //
767 // border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
768 // border-box/content-box/padding-box should be used instead.
769 //
770 border
771 border-box
772 content
773 content-box
774 padding
775 padding-box
776
777 // CSS_SHAPES
778 margin-box
779
780 // clip-path
781 view-box
782
783 //
784 // background-size
785 //
786 contain
787 cover
788
789 //
790 // CSS_PROP__KHTML_RTL_ORDERING
791 //
792 logical
793 visual
794
795 //
796 // CSS_PROP__WEBKIT_BORDER_FIT
797 //
798 lines
799
800 //
801 // CSS_PROP__WEBKIT_ANIMATION_DIRECTION
802 //
803 // alternate
804
805 alternate-reverse
806
807 //
808 // CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
809 //
810 // forwards
811 // backwards
812 // both
813
814 //
815 // CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
816 //
817 // infinite
818
819 //
820 // CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
821 //
822 running
823 paused
824
825 //
826 // CSS_PROP__WEBKIT_TRANSFORM_STYLE
827 //
828 flat
829 preserve-3d
830
831 //
832 // CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
833 // CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
834 //
835 ease
836 linear
837 ease-in
838 ease-out
839 ease-in-out
840 step-start
841 step-end
842
843 //
844 // CSS_PROP_ZOOM
845 //
846 document
847 reset
848
849 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION
850 //
851 // CSS_PROP_USER_ZOOM
852 //
853 // fixed
854 zoom
855
856 //
857 // CSS_PROP_MIN_WIDTH
858 // CSS_PROP_MAX_WIDTH
859 // CSS_PROP_MIN_HEIGHT
860 // CSS_PROP_MAX_HEIGHT
861 //
862 // auto
863 device-width
864 device-height
865 #endif
866
867 //
868 // CSS_PROP_POINTER_EVENTS
869 //
870 visiblePainted
871 visibleFill
872 visibleStroke
873 //visible
874 painted
875 fill
876 stroke
877 //all
878 //none
879
880 //
881 // CSS_PROP_SPEECH
882 //
883 spell-out
884 digits
885 literal-punctuation
886 no-punctuation
887
888 //
889 // -webkit-font-smoothing
890 //
891 // auto
892 // none
893 antialiased
894 subpixel-antialiased
895
896 // text-rendering
897 //auto
898 optimizeSpeed
899 optimizeLegibility
900 geometricPrecision
901
902 // -webkit-color-adjust
903 economy
904 exact
905
906 // -webkit-color-correction
907 //default
908 sRGB
909
910 #if defined(ENABLE_VIEW_MODE_CSS_MEDIA) && ENABLE_VIEW_MODE_CSS_MEDIA
911 // (-webkit-view-mode:) media feature:
912 floating
913 fullscreen
914 maximized
915 minimized
916 windowed
917 #endif // ENABLE_VIEW_MODE_CSS_MEDIA
918
919 // -webkit-hyphenate-limit-lines
920 no-limit
921
922 // -webkit-hyphens
923 // none
924 manual
925 // auto
926
927 #if defined(ENABLE_LETTERPRESS) && ENABLE_LETTERPRESS
928 -webkit-letterpress
929 #endif
930
931 #if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLOW_SCROLLING
932 // -webkit-overflow-scrolling
933 // auto
934 touch
935 #endif
936
937 // -webkit-writing-mode
938 // SVG compatibility
939 lr
940 rl
941 tb
942 lr-tb
943 rl-tb
944 tb-rl
945 // Standard values from CSS3
946 horizontal-tb
947 vertical-rl
948 vertical-lr
949 horizontal-bt
950
951 // -webkit-ruby-position
952 after
953 before
954 inter-character
955
956 // -webkit-text-emphasis-position
957 over
958 under
959
960 // -webkit-text-emphasis-style
961 filled
962 open
963 dot
964 // circle
965 double-circle
966 triangle
967 sesame
968
969 // -webkit-radial-gradient
970 // circle
971 ellipse
972 closest-side
973 closest-corner
974 farthest-side
975 farthest-corner
976 // contain
977 // cover
978
979 // -webkit-text-orientation
980 sideways
981 sideways-right
982 upright
983 vertical-right
984
985 // -webkit-line-box-contain
986 font
987 glyphs
988 inline-box
989 initial-letter
990 replaced
991
992 // -webkit-font-feature-settings
993 on
994 off
995
996 // image-rendering
997 // auto
998 // optimizeSpeed
999 optimizeQuality
1000 -webkit-crisp-edges
1001 -webkit-optimize-contrast
1002
1003 // -webkit-shape-outside
1004 nonzero
1005 evenodd
1006 at
1007 // closest-side
1008 // farthest-side
1009
1010 #if defined(ENABLE_CSS_SCROLL_SNAP)
1011 // -webkit-scroll-snap-points-x
1012 // -webkit-scroll-snap-points-y
1013 elements
1014
1015 // -webkit-scroll-snap-type
1016 mandatory
1017 proximity
1018 #endif
1019
1020 // -webkit-region-fragment
1021 // auto
1022 break
1023
1024 wrap
1025
1026 // -webkit-line-align
1027 edges
1028
1029 alphabetic
1030
1031 // position
1032 -webkit-sticky
1033
1034 // (pointer:) media feature
1035 // none
1036 coarse
1037 fine
1038
1039 // (hover:) media feature.
1040 // none
1041 hover
1042 on-demand
1043
1044 // blend modes
1045 // normal
1046 multiply
1047 screen
1048 // overlay
1049 darken
1050 lighten
1051 color-dodge
1052 color-burn
1053 hard-light
1054 soft-light
1055 difference
1056 exclusion
1057 hue
1058 saturation
1059 color
1060 luminosity
1061 // plus-darker
1062 // plus-lighter
1063
1064 // isolation
1065 // auto
1066 isolate
1067
1068 // object-fit
1069 // fill
1070 // contain
1071 // cover
1072 // none
1073 scale-down
1074
1075 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
1076 from-image
1077 snap
1078 #endif
1079
1080 // overflow
1081 -webkit-paged-x
1082 -webkit-paged-y
1083
1084 // paint-order
1085 // normal
1086 // fill
1087 // stroke
1088 markers
1089
1090 // -webkit-grid-{column-start|column-end|row-start|row-end}
1091 span
1092
1093 // -webkit-grid-auto-flow
1094 dense
1095
1096 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
1097 // text-indent
1098 -webkit-each-line
1099 -webkit-hanging
1100 #endif
1101
1102 // -webkit-column-fill
1103 balance
1104
1105 // -webkit-aspect-ratio
1106 from-dimensions
1107 from-intrinsic
1108
1109 #if defined(ENABLE_CSS_TRAILING_WORD) && ENABLE_CSS_TRAILING_WORD
1110 // -apple-trailing-word
1111 -webkit-partially-balanced
1112 #endif