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