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