f8136abc1d728d88a30a77bd2aa565150dc0775f
[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 inter-ideograph
248 inter-cluster
249 distribute
250 kashida
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 -webkit-flex
363 -webkit-inline-flex
364 -webkit-grid
365 -webkit-inline-grid
366 //none
367 //
368 // CSS_PROP_CURSOR:
369 // The order here must match the order of the ECursor enum in RenderStyleConstants.h.
370 //
371 auto
372 crosshair
373 default
374 pointer
375 move
376 vertical-text
377 cell
378 context-menu
379 alias
380 // copy
381 progress
382 no-drop
383 not-allowed
384 -webkit-zoom-in
385 -webkit-zoom-out
386 e-resize
387 ne-resize
388 nw-resize
389 n-resize
390 se-resize
391 sw-resize
392 s-resize
393 w-resize
394 ew-resize
395 ns-resize
396 nesw-resize
397 nwse-resize
398 col-resize
399 row-resize
400 text
401 wait
402 help
403 all-scroll
404 -webkit-grab
405 -webkit-grabbing
406 // none
407 //
408 // CSS_PROP_CURSOR_VISIBILITY:
409 // auto
410 auto-hide
411 //
412 // CSS_PROP_DIRECTION:
413 //
414 ltr
415 rtl
416 //
417 // CSS_PROP_TEXT_TRANSFORM:
418 //
419 capitalize
420 uppercase
421 lowercase
422 //none
423 //
424 // CSS_PROP_VISIBILITY:
425 //
426 visible
427 //hidden
428 collapse
429 //
430 // Unordered rest
431 //
432 a3
433 a4
434 a5
435 above
436 absolute
437 always
438 avoid
439 b4
440 b5
441 below
442 bidi-override
443 blink
444 both
445 close-quote
446 crop
447 cross
448 embed
449 fixed
450 hand
451 hide
452 higher
453 invert
454 -webkit-isolate
455 -webkit-isolate-override
456 -webkit-plaintext
457 landscape
458 ledger
459 legal
460 letter
461 level
462 line-through
463 local
464 loud
465 lower
466 -webkit-marquee
467 mix
468 no-close-quote
469 no-open-quote
470 nowrap
471 open-quote
472 overlay
473 overline
474 portrait
475 pre
476 pre-line
477 pre-wrap
478 relative
479 scroll
480 separate
481 show
482 static
483 thick
484 thin
485 underline
486 wavy
487 ink
488 objects
489 -webkit-nowrap
490
491 // CSS3 Values
492 // CSS_PROP_BOX_ALIGN
493 stretch
494 start
495 end
496 //center
497 //baseline
498
499 #if defined(ENABLE_CSS_BOX_DECORATION_BREAK) && ENABLE_CSS_BOX_DECORATION_BREAK
500 // CSS_PROP_BOX_DECORATION_BREAK
501 clone
502 slice
503 #endif
504
505 // CSS_PROP_BOX_DIRECTION
506 // normal
507 reverse
508
509 // CSS_PROP_BOX_ORIENT
510 horizontal
511 vertical
512 inline-axis
513 block-axis
514
515 // CSS_PROP_BOX_PACK
516 // start
517 // end
518 // center
519 // justify
520
521 // CSS_PROP_BOX_LINES
522 single
523 multiple
524
525 // CSS_PROP_ALIGN_CONTENT
526 flex-start
527 flex-end
528 // center
529 space-between
530 space-around
531 // stretch
532
533 // CSS_PROP_ALIGN_ITEMS / CSS_PROP_ALIGN_SELF
534 // flex-start
535 // flex-end
536 // center
537 // baseline
538 // stretch
539
540 // CSS_PROP_JUSTIFY_CONTENT
541 // flex-start
542 // flex-end
543 // center
544 // space-between
545 // space-around
546
547 // CSS_PROP_FLEX_FLOW
548 row
549 row-reverse
550 column
551 column-reverse
552 // nowrap
553 // wrap
554 wrap-reverse
555
556 // CSS_PROP_MARQUEE_DIRECTION
557 forwards
558 backwards
559 ahead
560 // reverse
561 // left
562 // right
563 up
564 down
565 // auto
566
567 // CSS_PROP_MARQUEE_SPEED
568 slow
569 // normal
570 fast
571
572 // CSS_PROP_MARQUEE_REPETITION
573 infinite
574
575 // CSS_PROP_MARQUEE_STYLE
576 // none
577 slide
578 // scroll
579 alternate
580
581 //
582 // CSS_PROP__KHTML_USER_MODIFY
583 //
584 read-only
585 read-write
586 read-write-plaintext-only
587
588 //
589 // CSS_PROP__KHTML_USER_DRAG
590 //
591 element
592
593 //
594 // CSS_PROP__KHTML_USER_SELECT
595 //
596 ignore
597
598 //
599 // CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
600 //
601 intrinsic
602 min-intrinsic
603
604 //
605 // CSS3 intrinsic dimension keywords
606 //
607 -webkit-min-content
608 -webkit-max-content
609 -webkit-fill-available
610 -webkit-fit-content
611
612 //
613 // CSS_PROP_TEXT_OVERFLOW
614 //
615 clip
616 ellipsis
617
618 //
619 // CSS_PROP__KHTML_MARGIN_COLLAPSE
620 //
621 // collapse
622 // separate
623 discard
624
625 //
626 // CSS_PROP_TEXT_*_COLOR
627 //
628 dot-dash
629 dot-dot-dash
630 wave
631
632 //
633 // CSS_PROP_TEXT_*_MODE
634 //
635 continuous
636 skip-white-space
637
638 //
639 // CSS_PROP_WORD_BREAK
640 //
641 break-all
642
643 //
644 // CSS_PROP_WORD_WRAP
645 //
646 break-word
647
648 //
649 // CSS_PROP__KHTML_NBSP_MODE
650 //
651 space
652
653 //
654 // CSS_PROP__KHTML_LINE_BREAK
655 //
656 // auto
657 loose
658 // normal
659 strict
660 after-white-space
661
662 // -webkit-appearance
663 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
664 // All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
665 checkbox
666 radio
667 push-button
668 square-button
669 button
670 button-bevel
671 default-button
672 inner-spin-button
673 -webkit-input-speech-button
674 listbox
675 listitem
676 media-enter-fullscreen-button
677 media-exit-fullscreen-button
678 media-fullscreen-volume-slider
679 media-fullscreen-volume-slider-thumb
680 media-mute-button
681 media-play-button
682 media-overlay-play-button
683 media-seek-back-button
684 media-seek-forward-button
685 media-rewind-button
686 media-return-to-realtime-button
687 media-toggle-closed-captions-button
688 media-slider
689 media-sliderthumb
690 media-volume-slider-container
691 media-volume-slider
692 media-volume-sliderthumb
693 media-volume-slider-mute-button
694 media-controls-background
695 media-controls-fullscreen-background
696 media-current-time-display
697 media-time-remaining-display
698 menulist
699 menulist-button
700 menulist-text
701 menulist-textfield
702 meter
703 progress-bar
704 progress-bar-value
705 slider-horizontal
706 slider-vertical
707 sliderthumb-horizontal
708 sliderthumb-vertical
709 caret
710 searchfield
711 searchfield-decoration
712 searchfield-results-decoration
713 searchfield-results-button
714 searchfield-cancel-button
715 snapshotted-plugin-overlay
716 textfield
717 relevancy-level-indicator
718 continuous-capacity-level-indicator
719 discrete-capacity-level-indicator
720 rating-level-indicator
721 #if defined(ENABLE_SERVICE_CONTROLS) && ENABLE_SERVICE_CONTROLS
722 image-controls-button
723 #endif
724 textarea
725 // An appearance value that should not be accepted by the parser:
726 caps-lock-indicator
727
728 //
729 // CSS_PROP_BORDER_IMAGE
730 //
731 // stretch
732 // repeat
733 round
734
735 //
736 // CSS_PROP_BACKGROUND_CLIP/ORIGIN
737 //
738 // border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
739 // border-box/content-box/padding-box should be used instead.
740 //
741 border
742 border-box
743 content
744 content-box
745 padding
746 padding-box
747
748 // CSS_SHAPES
749 margin-box
750
751 // clip-path
752 view-box
753
754 //
755 // background-size
756 //
757 contain
758 cover
759
760 //
761 // CSS_PROP__KHTML_RTL_ORDERING
762 //
763 logical
764 visual
765
766 //
767 // CSS_PROP__WEBKIT_BORDER_FIT
768 //
769 lines
770
771 //
772 // CSS_PROP__WEBKIT_ANIMATION_DIRECTION
773 //
774 // alternate
775
776 alternate-reverse
777
778 //
779 // CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
780 //
781 // forwards
782 // backwards
783 // both
784
785 //
786 // CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
787 //
788 // infinite
789
790 //
791 // CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
792 //
793 running
794 paused
795
796 //
797 // CSS_PROP__WEBKIT_TRANSFORM_STYLE
798 //
799 flat
800 preserve-3d
801
802 //
803 // CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
804 // CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
805 //
806 ease
807 linear
808 ease-in
809 ease-out
810 ease-in-out
811 step-start
812 step-end
813
814 //
815 // CSS_PROP_ZOOM
816 //
817 document
818 reset
819
820 #if defined(ENABLE_CSS_DEVICE_ADAPTATION) && ENABLE_CSS_DEVICE_ADAPTATION
821 //
822 // CSS_PROP_USER_ZOOM
823 //
824 // fixed
825 zoom
826
827 //
828 // CSS_PROP_MIN_WIDTH
829 // CSS_PROP_MAX_WIDTH
830 // CSS_PROP_MIN_HEIGHT
831 // CSS_PROP_MAX_HEIGHT
832 //
833 // auto
834 device-width
835 device-height
836 #endif
837
838 //
839 // CSS_PROP_POINTER_EVENTS
840 //
841 visiblePainted
842 visibleFill
843 visibleStroke
844 //visible
845 painted
846 fill
847 stroke
848 //all
849 //none
850
851 //
852 // CSS_PROP_SPEECH
853 //
854 spell-out
855 digits
856 literal-punctuation
857 no-punctuation
858
859 //
860 // -webkit-font-smoothing
861 //
862 // auto
863 // none
864 antialiased
865 subpixel-antialiased
866
867 // text-rendering
868 //auto
869 optimizeSpeed
870 optimizeLegibility
871 geometricPrecision
872
873 // -webkit-color-adjust
874 economy
875 exact
876
877 // -webkit-color-correction
878 //default
879 sRGB
880
881 #if defined(ENABLE_VIEW_MODE_CSS_MEDIA) && ENABLE_VIEW_MODE_CSS_MEDIA
882 // (-webkit-view-mode:) media feature:
883 floating
884 fullscreen
885 maximized
886 minimized
887 windowed
888 #endif // ENABLE_VIEW_MODE_CSS_MEDIA
889
890 // -webkit-hyphenate-limit-lines
891 no-limit
892
893 // -webkit-hyphens
894 // none
895 manual
896 // auto
897
898 #if defined(ENABLE_LETTERPRESS) && ENABLE_LETTERPRESS
899 -webkit-letterpress
900 #endif
901
902 #if defined(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) && ENABLE_ACCELERATED_OVERFLOW_SCROLLING
903 // -webkit-overflow-scrolling
904 // auto
905 touch
906 #endif
907
908 // -webkit-writing-mode
909 // SVG compatibility
910 lr
911 rl
912 tb
913 lr-tb
914 rl-tb
915 tb-rl
916 // Standard values from CSS3
917 horizontal-tb
918 vertical-rl
919 vertical-lr
920 horizontal-bt
921
922 // -webkit-ruby-position
923 after
924 before
925
926 // -webkit-text-emphasis-position
927 over
928 under
929
930 // -webkit-text-emphasis-style
931 filled
932 open
933 dot
934 // circle
935 double-circle
936 triangle
937 sesame
938
939 // -webkit-radial-gradient
940 // circle
941 ellipse
942 closest-side
943 closest-corner
944 farthest-side
945 farthest-corner
946 // contain
947 // cover
948
949 // -webkit-text-orientation
950 sideways
951 sideways-right
952 upright
953 vertical-right
954
955 // -webkit-line-box-contain
956 font
957 glyphs
958 inline-box
959 replaced
960
961 // -webkit-font-feature-settings
962 on
963 off
964
965 // image-rendering
966 // auto
967 // optimizeSpeed
968 optimizeQuality
969 -webkit-crisp-edges
970 -webkit-optimize-contrast
971
972 // -webkit-shape-outside
973 nonzero
974 evenodd
975 at
976 // closest-side
977 // farthest-side
978
979 // -webkit-region-fragment
980 // auto
981 break
982
983 wrap
984
985 // -webkit-line-align
986 edges
987
988 alphabetic
989
990 // position
991 -webkit-sticky
992
993 // (pointer:) media feature
994 // none
995 coarse
996 fine
997
998 // blend modes
999 // normal
1000 multiply
1001 screen
1002 // overlay
1003 darken
1004 lighten
1005 color-dodge
1006 color-burn
1007 hard-light
1008 soft-light
1009 difference
1010 exclusion
1011 hue
1012 saturation
1013 color
1014 luminosity
1015
1016 // isolation
1017 // auto
1018 isolate
1019
1020 // object-fit
1021 // fill
1022 // contain
1023 // cover
1024 // none
1025 scale-down
1026
1027 #if defined(ENABLE_CSS_IMAGE_RESOLUTION) && ENABLE_CSS_IMAGE_RESOLUTION
1028 from-image
1029 snap
1030 #endif
1031
1032 // overflow
1033 -webkit-paged-x
1034 -webkit-paged-y
1035
1036 // paint-order
1037 // normal
1038 // fill
1039 // stroke
1040 markers
1041
1042 // -webkit-grid-{column-start|column-end|row-start|row-end}
1043 span
1044
1045 // -webkit-grid-auto-flow
1046 dense
1047 stack
1048
1049 #if defined(ENABLE_CSS3_TEXT) && ENABLE_CSS3_TEXT
1050 // text-indent
1051 -webkit-each-line
1052 -webkit-hanging
1053 #endif
1054
1055 // -webkit-column-fill
1056 balance
1057
1058 // -webkit-aspect-ratio
1059 from-dimensions
1060 from-intrinsic