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