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