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