Implement parsing for CSS scroll snap points
[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 -webkit-input-speech-button
687 listbox
688 listitem
689 media-enter-fullscreen-button
690 media-exit-fullscreen-button
691 media-fullscreen-volume-slider
692 media-fullscreen-volume-slider-thumb
693 media-mute-button
694 media-play-button
695 media-overlay-play-button
696 media-seek-back-button
697 media-seek-forward-button
698 media-rewind-button
699 media-return-to-realtime-button
700 media-toggle-closed-captions-button
701 media-slider
702 media-sliderthumb
703 media-volume-slider-container
704 media-volume-slider
705 media-volume-sliderthumb
706 media-volume-slider-mute-button
707 media-controls-background
708 media-controls-fullscreen-background
709 media-current-time-display
710 media-time-remaining-display
711 menulist
712 menulist-button
713 menulist-text
714 menulist-textfield
715 meter
716 progress-bar
717 progress-bar-value
718 slider-horizontal
719 slider-vertical
720 sliderthumb-horizontal
721 sliderthumb-vertical
722 caret
723 searchfield
724 searchfield-decoration
725 searchfield-results-decoration
726 searchfield-results-button
727 searchfield-cancel-button
728 snapshotted-plugin-overlay
729 textfield
730 relevancy-level-indicator
731 continuous-capacity-level-indicator
732 discrete-capacity-level-indicator
733 rating-level-indicator
734 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
735 image-controls-button
736 #endif
737 textarea
738 // An appearance value that should not be accepted by the parser:
739 caps-lock-indicator
740
741 //
742 // CSS_PROP_BORDER_IMAGE
743 //
744 // stretch
745 // repeat
746 round
747
748 //
749 // CSS_PROP_BACKGROUND_CLIP/ORIGIN
750 //
751 // border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
752 // border-box/content-box/padding-box should be used instead.
753 //
754 border
755 border-box
756 content
757 content-box
758 padding
759 padding-box
760
761 // CSS_SHAPES
762 margin-box
763
764 // clip-path
765 view-box
766
767 //
768 // background-size
769 //
770 contain
771 cover
772
773 //
774 // CSS_PROP__KHTML_RTL_ORDERING
775 //
776 logical
777 visual
778
779 //
780 // CSS_PROP__WEBKIT_BORDER_FIT
781 //
782 lines
783
784 //
785 // CSS_PROP__WEBKIT_ANIMATION_DIRECTION
786 //
787 // alternate
788
789 alternate-reverse
790
791 //
792 // CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
793 //
794 // forwards
795 // backwards
796 // both
797
798 //
799 // CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
800 //
801 // infinite
802
803 //
804 // CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
805 //
806 running
807 paused
808
809 //
810 // CSS_PROP__WEBKIT_TRANSFORM_STYLE
811 //
812 flat
813 preserve-3d
814
815 //
816 // CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
817 // CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
818 //
819 ease
820 linear
821 ease-in
822 ease-out
823 ease-in-out
824 step-start
825 step-end
826
827 //
828 // CSS_PROP_ZOOM
829 //
830 document
831 reset
832
833 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION
834 //
835 // CSS_PROP_USER_ZOOM
836 //
837 // fixed
838 zoom
839
840 //
841 // CSS_PROP_MIN_WIDTH
842 // CSS_PROP_MAX_WIDTH
843 // CSS_PROP_MIN_HEIGHT
844 // CSS_PROP_MAX_HEIGHT
845 //
846 // auto
847 device-width
848 device-height
849 #endif
850
851 //
852 // CSS_PROP_POINTER_EVENTS
853 //
854 visiblePainted
855 visibleFill
856 visibleStroke
857 //visible
858 painted
859 fill
860 stroke
861 //all
862 //none
863
864 //
865 // CSS_PROP_SPEECH
866 //
867 spell-out
868 digits
869 literal-punctuation
870 no-punctuation
871
872 //
873 // -webkit-font-smoothing
874 //
875 // auto
876 // none
877 antialiased
878 subpixel-antialiased
879
880 // text-rendering
881 //auto
882 optimizeSpeed
883 optimizeLegibility
884 geometricPrecision
885
886 // -webkit-color-adjust
887 economy
888 exact
889
890 // -webkit-color-correction
891 //default
892 sRGB
893
894 #if defined(ENABLE_VIEW_MODE_CSS_MEDIA) && ENABLE_VIEW_MODE_CSS_MEDIA
895 // (-webkit-view-mode:) media feature:
896 floating
897 fullscreen
898 maximized
899 minimized
900 windowed
901 #endif // ENABLE_VIEW_MODE_CSS_MEDIA
902
903 // -webkit-hyphenate-limit-lines
904 no-limit
905
906 // -webkit-hyphens
907 // none
908 manual
909 // auto
910
911 #if defined(ENABLE_LETTERPRESS) && ENABLE_LETTERPRESS
912 -webkit-letterpress
913 #endif
914
915 #if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLOW_SCROLLING
916 // -webkit-overflow-scrolling
917 // auto
918 touch
919 #endif
920
921 // -webkit-writing-mode
922 // SVG compatibility
923 lr
924 rl
925 tb
926 lr-tb
927 rl-tb
928 tb-rl
929 // Standard values from CSS3
930 horizontal-tb
931 vertical-rl
932 vertical-lr
933 horizontal-bt
934
935 // -webkit-ruby-position
936 after
937 before
938
939 // -webkit-text-emphasis-position
940 over
941 under
942
943 // -webkit-text-emphasis-style
944 filled
945 open
946 dot
947 // circle
948 double-circle
949 triangle
950 sesame
951
952 // -webkit-radial-gradient
953 // circle
954 ellipse
955 closest-side
956 closest-corner
957 farthest-side
958 farthest-corner
959 // contain
960 // cover
961
962 // -webkit-text-orientation
963 sideways
964 sideways-right
965 upright
966 vertical-right
967
968 // -webkit-line-box-contain
969 font
970 glyphs
971 inline-box
972 replaced
973
974 // -webkit-font-feature-settings
975 on
976 off
977
978 // image-rendering
979 // auto
980 // optimizeSpeed
981 optimizeQuality
982 -webkit-crisp-edges
983 -webkit-optimize-contrast
984
985 // -webkit-shape-outside
986 nonzero
987 evenodd
988 at
989 // closest-side
990 // farthest-side
991
992 #if defined(ENABLE_CSS_SCROLL_SNAP)
993 // -webkit-scroll-snap-points-x
994 // -webkit-scroll-snap-points-y
995 elements
996
997 // -webkit-scroll-snap-type
998 mandatory
999 proximity
1000 #endif
1001
1002 // -webkit-region-fragment
1003 // auto
1004 break
1005
1006 wrap
1007
1008 // -webkit-line-align
1009 edges
1010
1011 alphabetic
1012
1013 // position
1014 -webkit-sticky
1015
1016 // (pointer:) media feature
1017 // none
1018 coarse
1019 fine
1020
1021 // blend modes
1022 // normal
1023 multiply
1024 screen
1025 // overlay
1026 darken
1027 lighten
1028 color-dodge
1029 color-burn
1030 hard-light
1031 soft-light
1032 difference
1033 exclusion
1034 hue
1035 saturation
1036 color
1037 luminosity
1038
1039 // isolation
1040 // auto
1041 isolate
1042
1043 // object-fit
1044 // fill
1045 // contain
1046 // cover
1047 // none
1048 scale-down
1049
1050 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
1051 from-image
1052 snap
1053 #endif
1054
1055 // overflow
1056 -webkit-paged-x
1057 -webkit-paged-y
1058
1059 // paint-order
1060 // normal
1061 // fill
1062 // stroke
1063 markers
1064
1065 // -webkit-grid-{column-start|column-end|row-start|row-end}
1066 span
1067
1068 // -webkit-grid-auto-flow
1069 dense
1070 stack
1071
1072 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
1073 // text-indent
1074 -webkit-each-line
1075 -webkit-hanging
1076 #endif
1077
1078 // -webkit-column-fill
1079 balance
1080
1081 // -webkit-aspect-ratio
1082 from-dimensions
1083 from-intrinsic