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