0
|
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 |
lower-roman
|
|
229 |
upper-roman
|
|
230 |
lower-greek
|
|
231 |
lower-alpha
|
|
232 |
lower-latin
|
|
233 |
upper-alpha
|
|
234 |
upper-latin
|
|
235 |
hebrew
|
|
236 |
armenian
|
|
237 |
georgian
|
|
238 |
cjk-ideographic
|
|
239 |
hiragana
|
|
240 |
katakana
|
|
241 |
hiragana-iroha
|
|
242 |
katakana-iroha
|
|
243 |
#none
|
|
244 |
#
|
|
245 |
# CSS_PROP_DISPLAY:
|
|
246 |
#
|
|
247 |
inline
|
|
248 |
block
|
|
249 |
list-item
|
|
250 |
run-in
|
|
251 |
compact
|
|
252 |
inline-block
|
|
253 |
table
|
|
254 |
inline-table
|
|
255 |
table-row-group
|
|
256 |
table-header-group
|
|
257 |
table-footer-group
|
|
258 |
table-row
|
|
259 |
table-column-group
|
|
260 |
table-column
|
|
261 |
table-cell
|
|
262 |
table-caption
|
|
263 |
-webkit-box
|
|
264 |
-webkit-inline-box
|
|
265 |
-wap-marquee
|
|
266 |
#none
|
|
267 |
#
|
|
268 |
# CSS_PROP_CURSOR:
|
|
269 |
#
|
|
270 |
auto
|
|
271 |
crosshair
|
|
272 |
default
|
|
273 |
pointer
|
|
274 |
move
|
|
275 |
vertical-text
|
|
276 |
cell
|
|
277 |
context-menu
|
|
278 |
alias
|
|
279 |
# copy
|
|
280 |
progress
|
|
281 |
no-drop
|
|
282 |
not-allowed
|
|
283 |
-webkit-zoom-in
|
|
284 |
-webkit-zoom-out
|
|
285 |
e-resize
|
|
286 |
ne-resize
|
|
287 |
nw-resize
|
|
288 |
n-resize
|
|
289 |
se-resize
|
|
290 |
sw-resize
|
|
291 |
s-resize
|
|
292 |
w-resize
|
|
293 |
ew-resize
|
|
294 |
ns-resize
|
|
295 |
nesw-resize
|
|
296 |
nwse-resize
|
|
297 |
col-resize
|
|
298 |
row-resize
|
|
299 |
text
|
|
300 |
wait
|
|
301 |
help
|
|
302 |
all-scroll
|
|
303 |
-webkit-grab
|
|
304 |
-webkit-grabbing
|
|
305 |
# none
|
|
306 |
#
|
|
307 |
# CSS_PROP_DIRECTION:
|
|
308 |
#
|
|
309 |
ltr
|
|
310 |
rtl
|
|
311 |
#
|
|
312 |
# CSS_PROP_TEXT_TRANSFORM:
|
|
313 |
#
|
|
314 |
capitalize
|
|
315 |
uppercase
|
|
316 |
lowercase
|
|
317 |
#none
|
|
318 |
#
|
|
319 |
# CSS_PROP_VISIBILITY:
|
|
320 |
#
|
|
321 |
visible
|
|
322 |
#hidden
|
|
323 |
collapse
|
|
324 |
#
|
|
325 |
# Unordered rest
|
|
326 |
#
|
|
327 |
above
|
|
328 |
absolute
|
|
329 |
always
|
|
330 |
avoid
|
|
331 |
below
|
|
332 |
bidi-override
|
|
333 |
blink
|
|
334 |
both
|
|
335 |
close-quote
|
|
336 |
crop
|
|
337 |
cross
|
|
338 |
embed
|
|
339 |
fixed
|
|
340 |
hand
|
|
341 |
hide
|
|
342 |
higher
|
|
343 |
invert
|
|
344 |
landscape
|
|
345 |
level
|
|
346 |
line-through
|
|
347 |
local
|
|
348 |
loud
|
|
349 |
lower
|
|
350 |
-webkit-marquee
|
|
351 |
mix
|
|
352 |
no-close-quote
|
|
353 |
no-open-quote
|
|
354 |
nowrap
|
|
355 |
open-quote
|
|
356 |
overlay
|
|
357 |
overline
|
|
358 |
portrait
|
|
359 |
pre
|
|
360 |
pre-line
|
|
361 |
pre-wrap
|
|
362 |
relative
|
|
363 |
scroll
|
|
364 |
separate
|
|
365 |
show
|
|
366 |
static
|
|
367 |
thick
|
|
368 |
thin
|
|
369 |
underline
|
|
370 |
-webkit-nowrap
|
|
371 |
|
|
372 |
# CSS3 Values
|
|
373 |
# CSS_PROP_BOX_ALIGN
|
|
374 |
stretch
|
|
375 |
start
|
|
376 |
end
|
|
377 |
#center
|
|
378 |
#baseline
|
|
379 |
|
|
380 |
# CSS_PROP_BOX_DIRECTION
|
|
381 |
# normal
|
|
382 |
reverse
|
|
383 |
|
|
384 |
# CSS_PROP_BOX_ORIENT
|
|
385 |
horizontal
|
|
386 |
vertical
|
|
387 |
inline-axis
|
|
388 |
block-axis
|
|
389 |
|
|
390 |
# CSS_PROP_BOX_PACK
|
|
391 |
# start
|
|
392 |
# end
|
|
393 |
# center
|
|
394 |
# justify
|
|
395 |
|
|
396 |
# CSS_PROP_BOX_LINES
|
|
397 |
single
|
|
398 |
multiple
|
|
399 |
|
|
400 |
# CSS_PROP_MARQUEE_DIRECTION
|
|
401 |
forwards
|
|
402 |
backwards
|
|
403 |
ahead
|
|
404 |
# reverse
|
|
405 |
# left
|
|
406 |
# right
|
|
407 |
up
|
|
408 |
down
|
|
409 |
# auto
|
|
410 |
|
|
411 |
# CSS_PROP_MARQUEE_SPEED
|
|
412 |
slow
|
|
413 |
# normal
|
|
414 |
fast
|
|
415 |
|
|
416 |
# CSS_PROP_MARQUEE_REPETITION
|
|
417 |
infinite
|
|
418 |
|
|
419 |
# CSS_PROP_MARQUEE_STYLE
|
|
420 |
# none
|
|
421 |
slide
|
|
422 |
# scroll
|
|
423 |
alternate
|
|
424 |
|
|
425 |
#
|
|
426 |
# CSS_PROP__KHTML_USER_MODIFY
|
|
427 |
#
|
|
428 |
read-only
|
|
429 |
read-write
|
|
430 |
read-write-plaintext-only
|
|
431 |
|
|
432 |
#
|
|
433 |
# CSS_PROP__KHTML_USER_DRAG
|
|
434 |
#
|
|
435 |
element
|
|
436 |
|
|
437 |
#
|
|
438 |
# CSS_PROP__KHTML_USER_SELECT
|
|
439 |
#
|
|
440 |
ignore
|
|
441 |
|
|
442 |
#
|
|
443 |
# CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH
|
|
444 |
#
|
|
445 |
intrinsic
|
|
446 |
min-intrinsic
|
|
447 |
|
|
448 |
#
|
|
449 |
# CSS_PROP_TEXT_OVERFLOW
|
|
450 |
#
|
|
451 |
clip
|
|
452 |
ellipsis
|
|
453 |
|
|
454 |
#
|
|
455 |
# CSS_PROP__KHTML_MARGIN_COLLAPSE
|
|
456 |
#
|
|
457 |
# collapse
|
|
458 |
# separate
|
|
459 |
discard
|
|
460 |
|
|
461 |
#
|
|
462 |
# CSS_PROP_TEXT_*_COLOR
|
|
463 |
#
|
|
464 |
dot-dash
|
|
465 |
dot-dot-dash
|
|
466 |
wave
|
|
467 |
|
|
468 |
#
|
|
469 |
# CSS_PROP_TEXT_*_MODE
|
|
470 |
#
|
|
471 |
continuous
|
|
472 |
skip-white-space
|
|
473 |
|
|
474 |
#
|
|
475 |
# CSS_PROP_WORD_BREAK
|
|
476 |
#
|
|
477 |
break-all
|
|
478 |
|
|
479 |
#
|
|
480 |
# CSS_PROP_WORD_WRAP
|
|
481 |
#
|
|
482 |
break-word
|
|
483 |
|
|
484 |
#
|
|
485 |
# CSS_PROP__KHTML_NBSP_MODE
|
|
486 |
#
|
|
487 |
space
|
|
488 |
|
|
489 |
#
|
|
490 |
# CSS_PROP__KHTML_LINE_BREAK
|
|
491 |
#
|
|
492 |
after-white-space
|
|
493 |
|
|
494 |
#
|
|
495 |
# CSS_PROP__KHTML_APPEARANCE
|
|
496 |
#
|
|
497 |
checkbox
|
|
498 |
radio
|
|
499 |
push-button
|
|
500 |
square-button
|
|
501 |
button
|
|
502 |
button-bevel
|
|
503 |
default-button
|
|
504 |
list-button
|
|
505 |
listbox
|
|
506 |
listitem
|
|
507 |
media-fullscreen-button
|
|
508 |
media-mute-button
|
|
509 |
media-play-button
|
|
510 |
media-seek-back-button
|
|
511 |
media-seek-forward-button
|
|
512 |
media-rewind-button
|
|
513 |
media-return-to-realtime-button
|
|
514 |
media-slider
|
|
515 |
media-sliderthumb
|
|
516 |
media-volume-slider-container
|
|
517 |
media-volume-slider
|
|
518 |
media-volume-sliderthumb
|
|
519 |
media-controls-background
|
|
520 |
media-current-time-display
|
|
521 |
media-time-remaining-display
|
|
522 |
menulist
|
|
523 |
menulist-button
|
|
524 |
menulist-text
|
|
525 |
menulist-textfield
|
|
526 |
slider-horizontal
|
|
527 |
slider-vertical
|
|
528 |
sliderthumb-horizontal
|
|
529 |
sliderthumb-vertical
|
|
530 |
caret
|
|
531 |
searchfield
|
|
532 |
searchfield-decoration
|
|
533 |
searchfield-results-decoration
|
|
534 |
searchfield-results-button
|
|
535 |
searchfield-cancel-button
|
|
536 |
textfield
|
|
537 |
textarea
|
|
538 |
caps-lock-indicator
|
|
539 |
|
|
540 |
#
|
|
541 |
# CSS_PROP_BORDER_IMAGE
|
|
542 |
#
|
|
543 |
# stretch
|
|
544 |
# repeat
|
|
545 |
round
|
|
546 |
|
|
547 |
#
|
|
548 |
# CSS_PROP_BACKGROUND_CLIP/ORIGIN
|
|
549 |
#
|
|
550 |
# border/content/padding are deprecated and ultimately will only apply to the -webkit- form of these properties.
|
|
551 |
# border-box/content-box/padding-box should be used instead.
|
|
552 |
#
|
|
553 |
border
|
|
554 |
border-box
|
|
555 |
content
|
|
556 |
content-box
|
|
557 |
padding
|
|
558 |
padding-box
|
|
559 |
|
|
560 |
#
|
|
561 |
# background-size
|
|
562 |
#
|
|
563 |
contain
|
|
564 |
cover
|
|
565 |
|
|
566 |
#
|
|
567 |
# CSS_PROP__KHTML_RTL_ORDERING
|
|
568 |
#
|
|
569 |
logical
|
|
570 |
visual
|
|
571 |
|
|
572 |
#
|
|
573 |
# CSS_PROP__WEBKIT_BORDER_FIT
|
|
574 |
#
|
|
575 |
lines
|
|
576 |
|
|
577 |
#
|
|
578 |
# CSS_PROP__WEBKIT_ANIMATION_DIRECTION
|
|
579 |
#
|
|
580 |
# alternate
|
|
581 |
|
|
582 |
#
|
|
583 |
# CSS_PROP__WEBKIT_ANIMATION_ITERATION_COUNT
|
|
584 |
#
|
|
585 |
# infinite
|
|
586 |
|
|
587 |
#
|
|
588 |
# CSS_PROP__WEBKIT_ANIMATION_PLAY_STATE
|
|
589 |
#
|
|
590 |
running
|
|
591 |
paused
|
|
592 |
|
|
593 |
#
|
|
594 |
# CSS_PROP__WEBKIT_TRANSFORM_STYLE
|
|
595 |
#
|
|
596 |
flat
|
|
597 |
preserve-3d
|
|
598 |
|
|
599 |
#
|
|
600 |
# CSS_PROP__WEBKIT_TRANSITION_TIMING_FUNCTION
|
|
601 |
# CSS_PROP__WEBKIT_ANIMATION_TIMING_FUNCTION
|
|
602 |
#
|
|
603 |
ease
|
|
604 |
linear
|
|
605 |
ease-in
|
|
606 |
ease-out
|
|
607 |
ease-in-out
|
|
608 |
|
|
609 |
#
|
|
610 |
# CSS_PROP_ZOOM
|
|
611 |
#
|
|
612 |
document
|
|
613 |
reset
|
|
614 |
|
|
615 |
#
|
|
616 |
# CSS_PROP_POINTER_EVENTS
|
|
617 |
#
|
|
618 |
visiblePainted
|
|
619 |
visibleFill
|
|
620 |
visibleStroke
|
|
621 |
#visible
|
|
622 |
painted
|
|
623 |
fill
|
|
624 |
stroke
|
|
625 |
#all
|
|
626 |
#none
|
|
627 |
|
|
628 |
#
|
|
629 |
# -webkit-font-smoothing
|
|
630 |
#
|
|
631 |
# auto
|
|
632 |
# none
|
|
633 |
antialiased
|
|
634 |
subpixel-antialiased
|
|
635 |
|
|
636 |
# text-rendering
|
|
637 |
#auto
|
|
638 |
optimizeSpeed
|
|
639 |
optimizeLegibility
|
|
640 |
geometricPrecision
|