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