0889adb82b511b7f7e5d377d5e3cda360291c346
[WebKit-https.git] / Source / WebCore / css / CSSValueKeywords.in
1 // These are all values accepted for CSS2.
2 //
3 // WARNING:
4 // --------
5 //
6 // The Values are sorted according to the properties they belong to,
7 // and have to be in the same order as the enums in RenderStyleConstants.h.
8 //
9 // If not, the optimizations in the cssparser and style selector will fail,
10 // and produce incorrect results.
11 //
12 inherit
13 initial
14 //
15 // CSS_PROP_OUTLINE_STYLE
16 // CSS_PROP_BORDER_TOP_STYLE
17 // CSS_PROP_BORDER_BOTTOM_STYLE
18 // CSS_PROP_BORDER_LEFT_STYLE
19 none
20 hidden
21 inset
22 groove
23 ridge
24 outset
25 dotted
26 dashed
27 solid
28 double
29 //
30 // CSS_PROP_FONT:
31 //
32 caption
33 icon
34 menu
35 message-box
36 small-caption
37 -webkit-mini-control
38 -webkit-small-control
39 -webkit-control
40 status-bar
41
42 //
43 // CSS_PROP_FONT_STYLE:
44 //
45 //normal
46 italic
47 oblique
48 // The following is only allowed in @font-face:
49 all
50 //
51 // CSS_PROP_FONT_VARIANT:
52 //
53 //normal
54 small-caps
55 //
56 // CSS_PROP_FONT_WEIGHT:
57 //
58 normal
59 bold
60 bolder
61 lighter
62 100
63 200
64 300
65 400
66 500
67 600
68 700
69 800
70 900
71 //
72 // CSS_PROP_FONT_SIZE:
73 //
74 xx-small
75 x-small
76 small
77 medium
78 large
79 x-large
80 xx-large
81 -webkit-xxx-large
82 smaller
83 larger
84 //
85 // CSS_PROP_FONT_STRETCH:
86 //
87 //normal
88 wider
89 narrower
90 ultra-condensed
91 extra-condensed
92 condensed
93 semi-condensed
94 semi-expanded
95 expanded
96 extra-expanded
97 ultra-expanded
98 //
99 // CSS_PROP_GENERIC_FONT_FAMILY:
100 //
101 serif
102 sans-serif
103 cursive
104 fantasy
105 monospace
106 -webkit-body
107 -webkit-pictograph
108 //
109 //
110 // CSS_PROP_*_COLOR
111 //
112 aqua
113 black
114 blue
115 fuchsia
116 gray
117 green
118 lime
119 maroon
120 navy
121 olive
122 orange
123 purple
124 red
125 silver
126 teal
127 white
128 yellow
129 transparent
130 -webkit-link
131 -webkit-activelink
132 activeborder
133 activecaption
134 appworkspace
135 background
136 buttonface
137 buttonhighlight
138 buttonshadow
139 buttontext
140 captiontext
141 graytext
142 highlight
143 highlighttext
144 inactiveborder
145 inactivecaption
146 inactivecaptiontext
147 infobackground
148 infotext
149 match
150 menutext
151 scrollbar
152 threeddarkshadow
153 threedface
154 threedhighlight
155 threedlightshadow
156 threedshadow
157 window
158 windowframe
159 windowtext
160 -webkit-focus-ring-color
161 currentcolor
162 //
163 // colors in non strict mode
164 grey
165 -webkit-text
166 //
167 // CSS_PROP_BACKGROUND_REPEAT:
168 //
169 repeat
170 repeat-x
171 repeat-y
172 no-repeat
173 // round
174 // space
175 //
176 // CSS_PROP__WEBKIT_BACKGROUND_COMPOSITE:
177 //
178 clear
179 copy
180 source-over
181 source-in
182 source-out
183 source-atop
184 destination-over
185 destination-in
186 destination-out
187 destination-atop
188 xor
189 plus-darker
190 // highlight
191 plus-lighter
192 //
193 // CSS_PROP_VERTICAL_ALIGN:
194 //
195 baseline
196 middle
197 sub
198 super
199 text-top
200 text-bottom
201 top
202 bottom
203 // HTML alignment MIDDLE has no corresponding CSS alignment
204 -webkit-baseline-middle
205 //
206 // CSS_PROP_TEXT_ALIGN:
207 //
208 -webkit-auto
209 left
210 right
211 center
212 justify
213 -webkit-left
214 -webkit-right
215 -webkit-center
216 -webkit-match-parent
217 //
218 // CSS_PROP_LIST_STYLE_POSITION:
219 //
220 outside
221 inside
222 //
223 // CSS_PROP_LIST_STYLE_TYPE:
224 //
225 disc
226 circle
227 square
228 decimal
229 decimal-leading-zero
230 arabic-indic
231 binary
232 bengali
233 cambodian
234 khmer
235 devanagari
236 gujarati
237 gurmukhi
238 kannada
239 lower-hexadecimal
240 lao
241 malayalam
242 mongolian
243 myanmar
244 octal
245 oriya
246 persian
247 urdu
248 telugu
249 tibetan
250 thai
251 upper-hexadecimal
252 lower-roman
253 upper-roman
254 lower-greek
255 lower-alpha
256 lower-latin
257 upper-alpha
258 upper-latin
259 afar
260 ethiopic-halehame-aa-et
261 ethiopic-halehame-aa-er
262 amharic
263 ethiopic-halehame-am-et
264 amharic-abegede
265 ethiopic-abegede-am-et
266 cjk-earthly-branch
267 cjk-heavenly-stem
268 ethiopic
269 ethiopic-halehame-gez
270 ethiopic-abegede
271 ethiopic-abegede-gez
272 hangul-consonant
273 hangul
274 lower-norwegian
275 oromo
276 ethiopic-halehame-om-et
277 sidama
278 ethiopic-halehame-sid-et
279 somali
280 ethiopic-halehame-so-et
281 tigre
282 ethiopic-halehame-tig
283 tigrinya-er
284 ethiopic-halehame-ti-er
285 tigrinya-er-abegede
286 ethiopic-abegede-ti-er
287 tigrinya-et
288 ethiopic-halehame-ti-et
289 tigrinya-et-abegede
290 ethiopic-abegede-ti-et
291 upper-greek
292 upper-norwegian
293 asterisks
294 footnotes
295 hebrew
296 armenian
297 lower-armenian
298 upper-armenian
299 georgian
300 cjk-ideographic
301 hiragana
302 katakana
303 hiragana-iroha
304 katakana-iroha
305 //none
306 //
307 // CSS_PROP_DISPLAY:
308 //
309 inline
310 block
311 list-item
312 run-in
313 compact
314 inline-block
315 table
316 inline-table
317 table-row-group
318 table-header-group
319 table-footer-group
320 table-row
321 table-column-group
322 table-column
323 table-cell
324 table-caption
325 -webkit-box
326 -webkit-inline-box
327 -wap-marquee
328 -webkit-flexbox
329 -webkit-inline-flexbox
330 //none
331 //
332 // CSS_PROP_CURSOR:
333 //
334 auto
335 crosshair
336 default
337 pointer
338 move
339 vertical-text
340 cell
341 context-menu
342 alias
343 // copy
344 progress
345 no-drop
346 not-allowed
347 -webkit-zoom-in
348 -webkit-zoom-out
349 e-resize
350 ne-resize
351 nw-resize
352 n-resize
353 se-resize
354 sw-resize
355 s-resize
356 w-resize
357 ew-resize
358 ns-resize
359 nesw-resize
360 nwse-resize
361 col-resize
362 row-resize
363 text
364 wait
365 help
366 all-scroll
367 -webkit-grab
368 -webkit-grabbing
369 // none
370 //
371 // CSS_PROP_DIRECTION:
372 //
373 ltr
374 rtl
375 //
376 // CSS_PROP_TEXT_TRANSFORM:
377 //
378 capitalize
379 uppercase
380 lowercase
381 //none
382 //
383 // CSS_PROP_VISIBILITY:
384 //
385 visible
386 //hidden
387 collapse
388 //
389 // Unordered rest
390 //
391 a3
392 a4
393 a5
394 above
395 absolute
396 always
397 avoid
398 b4
399 b5
400 below
401 bidi-override
402 blink
403 both
404 close-quote
405 crop
406 cross
407 embed
408 fixed
409 hand
410 hide
411 higher
412 invert
413 -webkit-isolate
414 -webkit-plaintext
415 landscape
416 ledger
417 legal
418 letter
419 level
420 line-through
421 local
422 loud
423 lower
424 -webkit-marquee
425 mix
426 no-close-quote
427 no-open-quote
428 nowrap
429 open-quote
430 overlay
431 overline
432 portrait
433 pre
434 pre-line
435 pre-wrap
436 relative
437 scroll
438 separate
439 show
440 static
441 thick
442 thin
443 underline
444 -webkit-nowrap
445
446 // CSS3 Values
447 // CSS_PROP_BOX_ALIGN
448 stretch
449 start
450 end
451 //center
452 //baseline
453
454 // CSS_PROP_BOX_DIRECTION
455 // normal
456 reverse
457
458 // CSS_PROP_BOX_ORIENT
459 horizontal
460 vertical
461 inline-axis
462 block-axis
463
464 // CSS_PROP_BOX_PACK
465 // start
466 // end
467 // center
468 // justify
469
470 // CSS_PROP_BOX_LINES
471 single
472 multiple
473
474 // CSS_PROP_FLEX_ALIGN
475 before
476 after
477 // middle
478 // stretch
479 // baseline
480
481 // CSS_PROP_MARQUEE_DIRECTION
482 forwards
483 backwards
484 ahead
485 // reverse
486 // left
487 // right
488 up
489 down
490 // auto
491
492 // CSS_PROP_MARQUEE_SPEED
493 slow
494 // normal
495 fast
496
497 // CSS_PROP_MARQUEE_REPETITION
498 infinite
499
500 // CSS_PROP_MARQUEE_STYLE
501 // none
502 slide
503 // scroll
504 alternate
505
506 //
507 // CSS_PROP__KHTML_USER_MODIFY
508 //
509 read-only
510 read-write
511 read-write-plaintext-only
512
513 //
514 // CSS_PROP__KHTML_USER_DRAG
515 //
516 element
517
518 //
519 // CSS_PROP__KHTML_USER_SELECT
520 //
521 ignore
522
523 //
524 // CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
525 //
526 intrinsic
527 min-intrinsic
528
529 //
530 // CSS_PROP_TEXT_OVERFLOW
531 //
532 clip
533 ellipsis
534
535 //
536 // CSS_PROP__KHTML_MARGIN_COLLAPSE
537 //
538 // collapse
539 // separate
540 discard
541
542 //
543 // CSS_PROP_TEXT_*_COLOR
544 //
545 dot-dash
546 dot-dot-dash
547 wave
548
549 //
550 // CSS_PROP_TEXT_*_MODE
551 //
552 continuous
553 skip-white-space
554
555 //
556 // CSS_PROP_WORD_BREAK
557 //
558 break-all
559
560 //
561 // CSS_PROP_WORD_WRAP
562 //
563 break-word
564
565 //
566 // CSS_PROP__KHTML_NBSP_MODE
567 //
568 space
569
570 //
571 // CSS_PROP__KHTML_LINE_BREAK
572 //
573 after-white-space
574
575 // -webkit-appearance
576 // The order here should match the order in the ControlPart enum in ThemeTypes.h.
577 // All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
578 checkbox
579 radio
580 push-button
581 square-button
582 button
583 button-bevel
584 default-button
585 inner-spin-button
586 -webkit-input-speech-button
587 list-button
588 listbox
589 listitem
590 media-fullscreen-button
591 media-mute-button
592 media-play-button
593 media-seek-back-button
594 media-seek-forward-button
595 media-rewind-button
596 media-return-to-realtime-button
597 media-toggle-closed-captions-button
598 media-slider
599 media-sliderthumb
600 media-volume-slider-container
601 media-volume-slider
602 media-volume-sliderthumb
603 media-volume-slider-mute-button
604 media-controls-background
605 media-controls-fullscreen-background
606 media-current-time-display
607 media-time-remaining-display
608 menulist
609 menulist-button
610 menulist-text
611 menulist-textfield
612 meter
613 progress-bar
614 progress-bar-value
615 slider-horizontal
616 slider-vertical
617 sliderthumb-horizontal
618 sliderthumb-vertical
619 caret
620 searchfield
621 searchfield-decoration
622 searchfield-results-decoration
623 searchfield-results-button
624 searchfield-cancel-button
625 textfield
626 relevancy-level-indicator
627 continuous-capacity-level-indicator
628 discrete-capacity-level-indicator
629 rating-level-indicator
630 textarea
631 // An appearance value that should not be accepted by the parser:
632 caps-lock-indicator
633
634 //
635 // CSS_PROP_BORDER_IMAGE
636 //
637 // stretch
638 // repeat
639 round
640
641 //
642 // CSS_PROP_BACKGROUND_CLIP/ORIGIN
643 //
644 // border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
645 // border-box/content-box/padding-box should be used instead.
646 //
647 border
648 border-box
649 content
650 content-box
651 padding
652 padding-box
653
654 //
655 // background-size
656 //
657 contain
658 cover
659
660 //
661 // CSS_PROP__KHTML_RTL_ORDERING
662 //
663 logical
664 visual
665
666 //
667 // CSS_PROP__WEBKIT_BORDER_FIT
668 //
669 lines
670
671 //
672 // CSS_PROP__WEBKIT_ANIMATION_DIRECTION
673 //
674 // alternate
675
676 //
677 // CSS_PROP__WEBKIT_ANIMATION_FILL_MODE
678 //
679 // forwards
680 // backwards
681 // both
682
683 //
684 // CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
685 //
686 // infinite
687
688 //
689 // CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
690 //
691 running
692 paused
693
694 //
695 // CSS_PROP__WEBKIT_TRANSFORM_STYLE
696 //
697 flat
698 preserve-3d
699
700 //
701 // CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
702 // CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
703 //
704 ease
705 linear
706 ease-in
707 ease-out
708 ease-in-out
709 step-start
710 step-end
711
712 //
713 // CSS_PROP_ZOOM
714 //
715 document
716 reset
717
718 //
719 // CSS_PROP_POINTER_EVENTS
720 //
721 visiblePainted
722 visibleFill
723 visibleStroke
724 //visible
725 painted
726 fill
727 stroke
728 //all
729 //none
730
731 //
732 // CSS_PROP_SPEECH
733 //
734 spell-out
735 digits
736 literal-punctuation
737 no-punctuation
738
739 //
740 // -webkit-font-smoothing
741 //
742 // auto
743 // none
744 antialiased
745 subpixel-antialiased
746
747 // text-rendering
748 //auto
749 optimizeSpeed
750 optimizeLegibility
751 geometricPrecision
752
753 // -webkit-color-correction
754 //default
755 sRGB
756
757 // (-webkit-view-mode:) media feature:
758 floating
759 fullscreen
760 maximized
761 minimized
762 windowed
763
764 // -webkit-hyphens
765 // none
766 manual
767 // auto
768
769 // -webkit-writing-mode
770 // SVG compatibility
771 lr
772 rl
773 tb
774 lr-tb
775 rl-tb
776 tb-rl
777 // Standard values from CSS3
778 horizontal-tb
779 vertical-rl
780 vertical-lr
781 horizontal-bt
782
783 // -webkit-text-emphasis-position
784 over
785 under
786
787 // -webkit-text-emphasis-style
788 filled
789 open
790 dot
791 // circle
792 double-circle
793 triangle
794 sesame
795
796 // -webkit-radial-gradient
797 // circle
798 ellipse
799 closest-side
800 closest-corner
801 farthest-side
802 farthest-corner
803 // contain
804 // cover
805
806 // -webkit-text-orientation
807 upright
808 vertical-right
809
810 // -webkit-line-box-contain
811 font
812 glyphs
813 inline-box
814 replaced
815
816 // -webkit-font-feature-settings
817 on
818 off
819
820 // image-rendering
821 //auto
822 //optimizeSpeed
823 optimizeQuality
824 -webkit-optimize-contrast
825
826 // Positioned Floats
827 -webkit-positioned
828
829 // -webkit-wrap-shape
830 nonzero
831 evenodd
832
833 // -webkit-region-overflow
834 // auto
835 -webkit-break