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