Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: third_party/WebKit/Source/core/css/CSSValueKeywords.in

Issue 2620883002: Convert Settings.in, CSSValueKeywords.in, SVGCSSValueKeywords.in to json5 (Closed)
Patch Set: Fix comment indent in data Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 //
2 // CSS value names
3 //
4
5 // The mode argument is used to limit the keyword to be used only for certain
6 // CSSParserModes. Values that have the prefix -internal- are only allowed by
7 // CSSParserModes listed in allowInternalPropertyAndValue()
8
9 inherit
10 initial
11 //
12 // outline-style
13 // border-top-style
14 // border-bottom-style
15 // border-left-style
16 // border-right-style
17 // The order here must match the order of the EBorderStyle enum in ComputedStyle Constants.h.
18 none
19 hidden
20 inset
21 groove
22 outset
23 ridge
24 dotted
25 dashed
26 solid
27 double
28
29 //
30 // 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 // font-style
44 //
45 //normal
46 italic
47 oblique
48 // The following is only allowed in @font-face:
49 all
50
51 // font-variant-ligatures:
52 //
53 // normal
54 common-ligatures
55 no-common-ligatures
56 discretionary-ligatures
57 no-discretionary-ligatures
58 historical-ligatures
59 no-historical-ligatures
60 contextual
61 no-contextual
62
63 // font-variant-caps:
64 //
65 // normal
66 small-caps
67 all-small-caps
68 petite-caps
69 all-petite-caps
70 unicase
71 titling-caps
72
73 // font-variant-numeric
74 // normal
75 lining-nums
76 oldstyle-nums
77 proportional-nums
78 tabular-nums
79 diagonal-fractions
80 stacked-fractions
81 ordinal
82 slashed-zero
83
84 //
85 // font-weigth
86 //
87 normal
88 bold
89 bolder
90 lighter
91 100
92 200
93 300
94 400
95 500
96 600
97 700
98 800
99 900
100
101 //
102 // font-stretch
103 //
104 ultra-condensed
105 extra-condensed
106 condensed
107 semi-condensed
108 semi-expanded
109 expanded
110 extra-expanded
111 ultra-expanded
112
113 //
114 // font-size
115 //
116 xx-small
117 x-small
118 small
119 medium
120 large
121 x-large
122 xx-large
123 -webkit-xxx-large
124 smaller
125 larger
126
127 //
128 // font-family (<generic-family> in CSS 2.1)
129 //
130 serif
131 sans-serif
132 cursive
133 fantasy
134 monospace
135 -webkit-body
136 -webkit-pictograph
137
138 //
139 // font-display
140 //
141 //auto
142 //block
143 swap
144 fallback
145 optional
146
147 //
148 //
149 // *-color
150 //
151 aqua
152 black
153 blue
154 fuchsia
155 gray
156 green
157 lime
158 maroon
159 navy
160 olive
161 orange
162 purple
163 red
164 silver
165 teal
166 white
167 yellow
168 transparent
169 -webkit-link
170 -webkit-activelink
171 activeborder
172 activecaption
173 appworkspace
174 background
175 buttonface
176 buttonhighlight
177 buttonshadow
178 buttontext
179 captiontext
180 graytext
181 highlight
182 highlighttext
183 inactiveborder
184 inactivecaption
185 inactivecaptiontext
186 infobackground
187 infotext
188 menutext
189 scrollbar
190 threeddarkshadow
191 threedface
192 threedhighlight
193 threedlightshadow
194 threedshadow
195 window
196 windowframe
197 windowtext
198 -internal-active-list-box-selection
199 -internal-active-list-box-selection-text
200 -internal-inactive-list-box-selection
201 -internal-inactive-list-box-selection-text
202 -webkit-focus-ring-color mode=QuirksOrUASheet
203 currentcolor
204 grey
205 //
206 // Value used to implement the behavior in:
207 // https://quirks.spec.whatwg.org/#the-tables-inherit-color-from-body-quirk
208 -internal-quirk-inherit
209 //
210 // background-repeat
211 //
212 repeat
213 repeat-x
214 repeat-y
215 no-repeat
216 // round
217 // space
218 //
219 // -webkit-mask-composite
220 //
221 clear
222 copy
223 source-over
224 source-in
225 source-out
226 source-atop
227 destination-over
228 destination-in
229 destination-out
230 destination-atop
231 xor
232 // highlight
233 plus-lighter
234 //
235 // vertical-align
236 //
237 baseline
238 middle
239 sub
240 super
241 text-top
242 text-bottom
243 top
244 bottom
245 // HTML alignment MIDDLE has no corresponding CSS alignment
246 -webkit-baseline-middle
247 //
248 // text-align
249 // The order of this enum must match the order found in CSSParserFastPaths::isVa lidKeywordPropertyAndValue().
250 //
251 -webkit-auto
252 left
253 right
254 center
255 justify
256 -webkit-left
257 -webkit-right
258 -webkit-center
259 -webkit-match-parent
260 -internal-center
261 //
262 // text-justify
263 //
264 //auto
265 //none
266 inter-word
267 distribute
268 //
269 // list-style-position
270 //
271 outside
272 inside
273 //
274 // list-style-type
275 // The order of this enum must match the order found in CSSParserFastPaths::isVa lidKeywordPropertyAndValue().
276 //
277 disc
278 circle
279 square
280 decimal
281 decimal-leading-zero
282 arabic-indic
283 bengali
284 cambodian
285 khmer
286 devanagari
287 gujarati
288 gurmukhi
289 kannada
290 lao
291 malayalam
292 mongolian
293 myanmar
294 oriya
295 persian
296 urdu
297 telugu
298 tibetan
299 thai
300 lower-roman
301 upper-roman
302 lower-greek
303 lower-alpha
304 lower-latin
305 upper-alpha
306 upper-latin
307 cjk-earthly-branch
308 cjk-heavenly-stem
309 ethiopic-halehame
310 ethiopic-halehame-am
311 ethiopic-halehame-ti-er
312 ethiopic-halehame-ti-et
313 hangul
314 hangul-consonant
315 korean-hangul-formal
316 korean-hanja-formal
317 korean-hanja-informal
318 hebrew
319 armenian
320 lower-armenian
321 upper-armenian
322 georgian
323 cjk-ideographic
324 simp-chinese-formal
325 simp-chinese-informal
326 trad-chinese-formal
327 trad-chinese-informal
328 hiragana
329 katakana
330 hiragana-iroha
331 katakana-iroha
332 //none
333 //
334 // display
335 // The order of this enum must match the order found in CSSParserFastPaths::isVa lidKeywordPropertyAndValue().
336 //
337 inline
338 block
339 list-item
340 inline-block
341 table
342 inline-table
343 table-row-group
344 table-header-group
345 table-footer-group
346 table-row
347 table-column-group
348 table-column
349 table-cell
350 table-caption
351 -webkit-box
352 -webkit-inline-box
353 flex
354 inline-flex
355 grid
356 inline-grid
357 contents
358 //none
359 -webkit-flex
360 -webkit-inline-flex
361 //
362 // cursor
363 // The order of this enum must match the order found in CSSPropertyParser::consu meCursor().
364 //
365 auto
366 crosshair
367 default
368 pointer
369 move
370 vertical-text
371 cell
372 context-menu
373 alias
374 // copy
375 progress
376 no-drop
377 not-allowed
378 zoom-in
379 zoom-out
380 e-resize
381 ne-resize
382 nw-resize
383 n-resize
384 se-resize
385 sw-resize
386 s-resize
387 w-resize
388 ew-resize
389 ns-resize
390 nesw-resize
391 nwse-resize
392 col-resize
393 row-resize
394 text
395 wait
396 help
397 all-scroll
398 -webkit-grab
399 -webkit-grabbing
400 -webkit-zoom-in
401 -webkit-zoom-out
402 // none
403 //
404 // direction
405 //
406 ltr
407 rtl
408 //
409 // text-transform
410 //
411 capitalize
412 uppercase
413 lowercase
414 //none
415 //
416 // visibility
417 //
418 visible
419 //hidden
420 collapse
421 //
422 // Unordered rest
423 //
424 a3
425 a4
426 a5
427 above
428 absolute
429 always
430 avoid
431 b4
432 b5
433 below
434 bidi-override
435 blink
436 both
437 close-quote
438 embed
439 fixed
440 hand
441 hide
442 isolate
443 isolate-override
444 plaintext
445 -webkit-isolate
446 -webkit-isolate-override
447 -webkit-plaintext
448 landscape
449 ledger
450 legal
451 letter
452 line-through
453 local
454 no-close-quote
455 no-open-quote
456 nowrap
457 open-quote
458 overlay
459 overline
460 portrait
461 pre
462 pre-line
463 pre-wrap
464 relative
465 scroll
466 separate
467 show
468 static
469 thick
470 thin
471 underline
472 wavy
473 -webkit-nowrap
474
475 // CSS3 Values
476 // box-align
477 stretch
478 start
479 end
480 //center
481 //baseline
482
483 // box-decoration-break
484 clone
485 slice
486
487 // box-direction
488 // normal
489 reverse
490
491 // box-orient
492 horizontal
493 vertical
494 inline-axis
495 block-axis
496
497 // box-pack
498 // start
499 // end
500 // center
501 // justify
502
503 // box-lines
504 single
505 multiple
506
507 // align-content
508 // start
509 // end
510 flex-start
511 flex-end
512 // center
513 space-between
514 space-around
515 space-evenly
516 // stretch
517 unsafe
518 safe
519
520 // align-items / align-self
521 // flex-start
522 // flex-end
523 // center
524 // baseline
525 // stretch
526
527 // justify-content
528 // start
529 // end
530 // flex-start
531 // flex-end
532 // center
533 // space-between
534 // space-around
535 // space-evenly
536 // stretch
537 // unsafe
538 // safe
539
540
541 // flex-flow
542 row
543 row-reverse
544 column
545 column-reverse
546 // nowrap
547 wrap
548 wrap-reverse
549
550 // grid-auto-flow
551 auto-flow
552 dense
553
554 //
555 // -webkit-user-modify
556 //
557 read-only
558 read-write
559 read-write-plaintext-only
560
561 //
562 // -webkit-user-drag
563 //
564 element
565
566 //
567 // CSS3 intrinsic dimension keywords
568 //
569 -webkit-min-content
570 -webkit-max-content
571 -webkit-fill-available
572 -webkit-fit-content
573 min-content
574 max-content
575 fit-content
576
577 //
578 // text-overflow
579 //
580 clip
581 ellipsis
582
583 //
584 // text-decoration-skip
585 //
586 objects
587 ink
588
589 //
590 // -webkit-margin-collapse
591 //
592 // collapse
593 // separate
594 discard
595
596 //
597 // word-break
598 //
599 break-all
600 keep-all
601
602 //
603 // word-wrap
604 //
605 break-word
606
607 //
608 // nbsp-mode
609 //
610 space
611
612 //
613 // -webkit-line-break
614 //
615 // auto
616 loose
617 // normal
618 strict
619 after-white-space
620
621 // hyphens
622 manual
623
624 // -webkit-appearance
625 // The order here must match the order in the ControlPart enum in ThemeTypes.h.
626 // All appearance values that should be accepted by the parser should be listed between 'checkbox' and 'textarea':
627 checkbox
628 radio
629 push-button
630 square-button
631 button
632 button-bevel
633 inner-spin-button
634 listbox
635 listitem
636 media-enter-fullscreen-button
637 media-exit-fullscreen-button
638 media-fullscreen-volume-slider
639 media-fullscreen-volume-slider-thumb
640 media-mute-button
641 media-play-button
642 media-overlay-play-button
643 media-toggle-closed-captions-button
644 media-slider
645 media-sliderthumb
646 media-volume-slider-container
647 media-volume-slider
648 media-volume-sliderthumb
649 media-controls-background
650 media-controls-fullscreen-background
651 media-current-time-display
652 media-time-remaining-display
653 -internal-media-cast-off-button
654 -internal-media-overlay-cast-off-button
655 -internal-media-track-selection-checkmark
656 -internal-media-closed-captions-icon
657 -internal-media-subtitles-icon
658 -internal-media-overflow-button
659 -internal-media-download-button
660 menulist
661 menulist-button
662 menulist-text
663 menulist-textfield
664 meter
665 progress-bar
666 progress-bar-value
667 slider-horizontal
668 slider-vertical
669 sliderthumb-horizontal
670 sliderthumb-vertical
671 caret
672 searchfield
673 searchfield-cancel-button
674 textfield
675 textarea
676 // An appearance value that should not be accepted by the parser:
677 caps-lock-indicator
678
679 //
680 // border-image
681 //
682 // stretch
683 // repeat
684 round
685
686 //
687 // background-clip/background-origin
688 //
689 // border/content/padding are deprecated and ultimately will only apply to the - webkit- form of these properties.
690 // border-box/content-box/padding-box should be used instead.
691 //
692 border
693 border-box
694 content
695 content-box
696 padding
697 padding-box
698
699 // CSS 3 SHAPES
700 margin-box
701
702 //
703 // background-size
704 //
705 contain
706 cover
707
708 //
709 // -webkit-rtl-ordering
710 //
711 logical
712 visual
713
714 //
715 // animation-direction
716 //
717 alternate
718 alternate-reverse
719
720 //
721 // animation-fill-mode
722 //
723 forwards
724 backwards
725 // both
726
727 //
728 // animation-iteration-count
729 infinite
730
731 //
732 // animation-play-state
733 //
734 running
735 paused
736
737 //
738 // transform-style
739 //
740 flat
741 preserve-3d
742
743 //
744 // transition-timing-function
745 // animation-timing-function
746 //
747 ease
748 linear
749 ease-in
750 ease-out
751 ease-in-out
752 step-start
753 step-middle
754 step-end
755 steps
756 cubic-bezier
757
758 //
759 // zoom
760 //
761 document
762 reset
763
764 //
765 // user-zoom
766 //
767 // fixed
768 zoom
769
770 //
771 // pointer-events
772 //
773 visiblePainted
774 visibleFill
775 visibleStroke
776 //visible
777 painted
778 fill
779 stroke
780 bounding-box
781 //all
782 //none
783
784 //
785 // speech
786 //
787 spell-out
788 digits
789 literal-punctuation
790 no-punctuation
791
792 //
793 // -webkit-font-smoothing
794 //
795 // auto
796 // none
797 antialiased
798 subpixel-antialiased
799
800 // text-rendering
801 //auto
802 optimizeSpeed
803 optimizeLegibility
804 geometricPrecision
805
806 // -webkit-color-adjust
807 economy
808 exact
809
810 // -webkit-writing-mode
811 // SVG compatibility
812 lr
813 rl
814 tb
815 lr-tb
816 rl-tb
817 tb-rl
818 // Standard values from CSS3
819 horizontal-tb
820 vertical-rl
821 vertical-lr
822
823 // -webkit-ruby-position
824 after
825 before
826
827 // -webkit-text-emphasis-position
828 over
829 under
830
831 // -webkit-text-emphasis-style
832 filled
833 open
834 dot
835 // circle
836 double-circle
837 triangle
838 sesame
839
840 // -webkit-radial-gradient
841 // circle
842 ellipse
843 closest-side
844 closest-corner
845 farthest-side
846 farthest-corner
847 // contain
848 // cover
849
850 // text-orientation/-webkit-text-orientation
851 mixed
852 sideways
853 sideways-right
854 upright
855 vertical-right
856
857 // -webkit-font-feature-settings
858 on
859 off
860
861 // image-rendering
862 //auto
863 //optimizeSpeed
864 optimizeQuality
865 pixelated
866 -webkit-optimize-contrast
867
868 // shape-outside
869 nonzero
870 evenodd
871 at
872 // closest-side
873 // farthest-side
874
875 alphabetic
876
877 // (display-mode:) media feature
878 fullscreen
879 standalone
880 minimal-ui
881 browser
882
883 // position
884 sticky
885
886 // (pointer:) media feature
887 // none
888 coarse
889 fine
890
891 // (hover:) media feature
892 // none
893 on-demand
894 hover
895
896 // blend modes
897 // normal
898 multiply
899 screen
900 // overlay
901 darken
902 lighten
903 color-dodge
904 color-burn
905 hard-light
906 soft-light
907 difference
908 exclusion
909 hue
910 saturation
911 color
912 luminosity
913
914 // object-fit
915 scale-down
916
917 // column-fill
918 balance
919
920 // overflow
921 -webkit-paged-x
922 -webkit-paged-y
923
924 // -webkit-app-region
925 drag
926 no-drag
927
928 // grid-{column|row}-{start|end}
929 span
930
931 // grid-template-{columns|rows}
932 minmax
933
934 // text-indent
935 each-line
936 //hanging // hanging exists in SVGCSSValueKeywords.in
937
938 // (scan:) media feature
939 progressive
940 interlace
941
942 //
943 // paint-order
944 //
945 // normal
946 // fill
947 // stroke
948 markers
949
950 //
951 // CSS3 viewport-length keywords
952 //
953 -internal-extend-to-zoom
954
955 // isolation
956 // auto
957 isolate
958
959 // touch-action
960 pan-x
961 pan-y
962 pan-left
963 pan-right
964 pan-up
965 pan-down
966 manipulation
967 pinch-zoom
968
969 // justify-items / justify-self
970 // auto
971 // stretch
972 // baseline
973 last-baseline
974 // center
975 // start
976 // end
977 self-start
978 self-end
979 // flex-start
980 // flex-end
981 // left
982 // right
983 // unsafe
984 // safe
985 legacy
986
987 // scroll-behavior
988 // auto
989 smooth
990
991 // will-change
992 // auto
993 contents
994 scroll-position
995
996 // all
997 // initial
998 // inherit
999 revert
1000 unset
1001
1002 // background-image, etc.
1003 linear-gradient
1004 radial-gradient
1005 repeating-linear-gradient
1006 repeating-radial-gradient
1007 paint
1008 -webkit-cross-fade
1009 -webkit-gradient
1010 -webkit-linear-gradient
1011 -webkit-radial-gradient
1012 -webkit-repeating-linear-gradient
1013 -webkit-repeating-radial-gradient
1014 -webkit-image-set
1015
1016 // deprecated gradients
1017 from
1018 to
1019 color-stop
1020 radial
1021
1022 // content
1023 attr
1024 counter
1025 counters
1026
1027 // clip
1028 rect
1029
1030 // shapes
1031 polygon
1032
1033 // @font-face src
1034 format
1035
1036 // (-webkit-)filter
1037 invert
1038 grayscale
1039 sepia
1040 saturate
1041 hue-rotate
1042 opacity
1043 brightness
1044 contrast
1045 blur
1046 drop-shadow
1047 url
1048
1049 // colors
1050 rgb
1051 rgba
1052 hsl
1053 hsla
1054
1055 // transform
1056 matrix
1057 matrix3d
1058 perspective
1059 rotate
1060 rotateX
1061 rotateY
1062 rotateZ
1063 rotate3d
1064 scale
1065 scaleX
1066 scaleY
1067 scaleZ
1068 scale3d
1069 skew
1070 skewX
1071 skewY
1072 translate
1073 translateX
1074 translateY
1075 translateZ
1076 translate3d
1077
1078 // motion path
1079 path
1080
1081 calc
1082 -webkit-calc
1083
1084 // scroll-snap-type
1085 // none
1086 mandatory
1087 proximity
1088 from-image
1089
1090 // containment
1091 paint
1092 style
1093 layout
1094 size
1095
1096 // grid auto-repeat
1097 auto-fill
1098 auto-fit
1099
1100 var
1101 -internal-variable-value
1102
1103 // break-before, break-after, break-inside
1104 avoid-page
1105 page
1106 recto
1107 verso
1108 avoid-column
1109
1110 // shape
1111 // rect
1112 // round
1113
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698