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