[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 #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 zoom-in
387 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 -webkit-zoom-in
409 -webkit-zoom-out
410 // none
411 //
412 // CSS_PROP_CURSOR_VISIBILITY:
413 // auto
414 auto-hide
415 //
416 // CSS_PROP_DIRECTION:
417 //
418 ltr
419 rtl
420 //
421 // CSS_PROP_TEXT_TRANSFORM:
422 //
423 capitalize
424 uppercase
425 lowercase
426 //none
427 //
428 // CSS_PROP_VISIBILITY:
429 //
430 visible
431 //hidden
432 collapse
433 //
434 // Unordered rest
435 //
436 a3
437 a4
438 a5
439 above
440 absolute
441 always
442 avoid
443 b4
444 b5
445 below
446 bidi-override
447 blink
448 both
449 close-quote
450 crop
451 cross
452 embed
453 fixed
454 hand
455 hide
456 higher
457 invert
458 inverted
459 -webkit-isolate
460 -webkit-isolate-override
461 -webkit-plaintext
462 landscape
463 ledger
464 legal
465 letter
466 level
467 line-through
468 local
469 loud
470 lower
471 -webkit-marquee
472 mix
473 no-close-quote
474 no-open-quote
475 nowrap
476 open-quote
477 overlay
478 overline
479 portrait
480 pre
481 pre-line
482 pre-wrap
483 relative
484 scroll
485 separate
486 show
487 static
488 thick
489 thin
490 underline
491 wavy
492 ink
493 objects
494 -webkit-nowrap
495
496 // CSS3 Values
497 // CSS_PROP_BOX_ALIGN
498 stretch
499 start
500 end
501 //center
502 //baseline
503
504 #if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK
505 // CSS_PROP_BOX_DECORATION_BREAK
506 clone
507 slice
508 #endif
509
510 // CSS_PROP_BOX_DIRECTION
511 // normal
512 reverse
513
514 // CSS_PROP_BOX_ORIENT
515 horizontal
516 vertical
517 inline-axis
518 block-axis
519
520 // CSS_PROP_BOX_PACK
521 // start
522 // end
523 // center
524 // justify
525
526 // CSS_PROP_BOX_LINES
527 single
528 multiple
529
530 // CSS_PROP_ALIGN_CONTENT
531 flex-start
532 flex-end
533 // center
534 space-between
535 space-around
536 // stretch
537
538 // CSS_PROP_ALIGN_ITEMS / CSS_PROP_ALIGN_SELF
539 // flex-start
540 // flex-end
541 // center
542 // baseline
543 last-baseline
544 // stretch
545
546 // CSS_PROP_JUSTIFY_CONTENT
547 // flex-start
548 // flex-end
549 // center
550 // space-between
551 // space-around
552
553 // CSS_PROP_JUSTIFY_SELF
554 // auto
555 // stretch
556 // baseline
557 // last-baseline
558 // center
559 // start
560 // end
561 self-start
562 self-end
563 // flex-start
564 // flex-end
565 // left
566 // right
567 true
568 safe
569
570 // CSS_PROP_FLEX_FLOW
571 row
572 row-reverse
573 column
574 column-reverse
575 // nowrap
576 // wrap
577 wrap-reverse
578
579 // CSS_PROP_MARQUEE_DIRECTION
580 forwards
581 backwards
582 ahead
583 // reverse
584 // left
585 // right
586 up
587 down
588 // auto
589
590 // CSS_PROP_MARQUEE_SPEED
591 slow
592 // normal
593 fast
594
595 // CSS_PROP_MARQUEE_REPETITION
596 infinite
597
598 // CSS_PROP_MARQUEE_STYLE
599 // none
600 slide
601 // scroll
602 alternate
603
604 //
605 // CSS_PROP__KHTML_USER_MODIFY
606 //
607 read-only
608 read-write
609 read-write-plaintext-only
610
611 //
612 // CSS_PROP__KHTML_USER_DRAG
613 //
614 element
615
616 //
617 // CSS_PROP__KHTML_USER_SELECT
618 //
619 ignore
620
621 //
622 // CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
623 //
624 intrinsic
625 min-intrinsic
626
627 //
628 // CSS3 intrinsic dimension keywords
629 //
630 -webkit-min-content
631 -webkit-max-content
632 -webkit-fill-available
633 -webkit-fit-content
634
635 //
636 // CSS_PROP_TEXT_OVERFLOW
637 //
638 clip
639 ellipsis
640
641 //
642 // CSS_PROP__KHTML_MARGIN_COLLAPSE
643 //
644 // collapse
645 // separate
646 discard
647
648 //
649 // CSS_PROP_TEXT_*_COLOR
650 //
651 dot-dash
652 dot-dot-dash
653 wave
654
655 //
656 // CSS_PROP_TEXT_*_MODE
657 //
658 continuous
659 skip-white-space
660
661 //
662 // CSS_PROP_WORD_BREAK
663 //
664 break-all
665
666 //
667 // CSS_PROP_WORD_WRAP
668 //
669 break-word
670
671 //
672 // CSS_PROP__KHTML_NBSP_MODE
673 //
674 space
675
676 //
677 // CSS_PROP__KHTML_LINE_BREAK
678 //
679 // auto
680 loose
681 // normal
682 strict
683 after-white-space
684
685 // -webkit-appearance
686 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
687 // All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
688 checkbox
689 radio
690 push-button
691 square-button
692 button
693 button-bevel
694 default-button
695 inner-spin-button
696 listbox
697 listitem
698 media-enter-fullscreen-button
699 media-exit-fullscreen-button
700 media-fullscreen-volume-slider
701 media-fullscreen-volume-slider-thumb
702 media-mute-button
703 media-play-button
704 media-overlay-play-button
705 media-seek-back-button
706 media-seek-forward-button
707 media-rewind-button
708 media-return-to-realtime-button
709 media-toggle-closed-captions-button
710 media-slider
711 media-sliderthumb
712 media-volume-slider-container
713 media-volume-slider
714 media-volume-sliderthumb
715 media-volume-slider-mute-button
716 media-controls-background
717 media-controls-fullscreen-background
718 media-current-time-display
719 media-time-remaining-display
720 menulist
721 menulist-button
722 menulist-text
723 menulist-textfield
724 meter
725 progress-bar
726 progress-bar-value
727 slider-horizontal
728 slider-vertical
729 sliderthumb-horizontal
730 sliderthumb-vertical
731 caret
732 searchfield
733 searchfield-decoration
734 searchfield-results-decoration
735 searchfield-results-button
736 searchfield-cancel-button
737 snapshotted-plugin-overlay
738 textfield
739 relevancy-level-indicator
740 continuous-capacity-level-indicator
741 discrete-capacity-level-indicator
742 rating-level-indicator
743 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
744 image-controls-button
745 #endif
746 textarea
747 // An appearance value that should not be accepted by the parser:
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 // blend modes
1033 // normal
1034 multiply
1035 screen
1036 // overlay
1037 darken
1038 lighten
1039 color-dodge
1040 color-burn
1041 hard-light
1042 soft-light
1043 difference
1044 exclusion
1045 hue
1046 saturation
1047 color
1048 luminosity
1049
1050 // isolation
1051 // auto
1052 isolate
1053
1054 // object-fit
1055 // fill
1056 // contain
1057 // cover
1058 // none
1059 scale-down
1060
1061 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
1062 from-image
1063 snap
1064 #endif
1065
1066 // overflow
1067 -webkit-paged-x
1068 -webkit-paged-y
1069
1070 // paint-order
1071 // normal
1072 // fill
1073 // stroke
1074 markers
1075
1076 // -webkit-grid-{column-start|column-end|row-start|row-end}
1077 span
1078
1079 // -webkit-grid-auto-flow
1080 dense
1081 stack
1082
1083 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
1084 // text-indent
1085 -webkit-each-line
1086 -webkit-hanging
1087 #endif
1088
1089 // -webkit-column-fill
1090 balance
1091
1092 // -webkit-aspect-ratio
1093 from-dimensions
1094 from-intrinsic