|
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 # CSS_PROP_FONT_STYLE: |
|
43 # |
|
44 #normal |
|
45 italic |
|
46 oblique |
|
47 # |
|
48 # CSS_PROP_FONT_VARIANT: |
|
49 # |
|
50 #normal |
|
51 small-caps |
|
52 # |
|
53 # CSS_PROP_FONT_WEIGHT: |
|
54 # |
|
55 normal |
|
56 bold |
|
57 bolder |
|
58 lighter |
|
59 100 |
|
60 200 |
|
61 300 |
|
62 400 |
|
63 500 |
|
64 600 |
|
65 700 |
|
66 800 |
|
67 900 |
|
68 # |
|
69 # CSS_PROP_FONT_SIZE: |
|
70 # |
|
71 xx-small |
|
72 x-small |
|
73 small |
|
74 medium |
|
75 large |
|
76 x-large |
|
77 xx-large |
|
78 -webkit-xxx-large |
|
79 smaller |
|
80 larger |
|
81 # |
|
82 # CSS_PROP_FONT_STRETCH: |
|
83 # |
|
84 #normal |
|
85 wider |
|
86 narrower |
|
87 ultra-condensed |
|
88 extra-condensed |
|
89 condensed |
|
90 semi-condensed |
|
91 semi-expanded |
|
92 expanded |
|
93 extra-expanded |
|
94 ultra-expanded |
|
95 # |
|
96 # CSS_PROP_GENERIC_FONT_FAMILY: |
|
97 # |
|
98 serif |
|
99 sans-serif |
|
100 cursive |
|
101 fantasy |
|
102 monospace |
|
103 -webkit-body |
|
104 # |
|
105 # |
|
106 # CSS_PROP_*_COLOR |
|
107 # |
|
108 aqua |
|
109 black |
|
110 blue |
|
111 fuchsia |
|
112 gray |
|
113 green |
|
114 lime |
|
115 maroon |
|
116 navy |
|
117 olive |
|
118 orange |
|
119 purple |
|
120 red |
|
121 silver |
|
122 teal |
|
123 white |
|
124 yellow |
|
125 transparent |
|
126 -webkit-link |
|
127 -webkit-activelink |
|
128 activeborder |
|
129 activecaption |
|
130 appworkspace |
|
131 background |
|
132 buttonface |
|
133 buttonhighlight |
|
134 buttonshadow |
|
135 buttontext |
|
136 captiontext |
|
137 graytext |
|
138 highlight |
|
139 highlighttext |
|
140 inactiveborder |
|
141 inactivecaption |
|
142 inactivecaptiontext |
|
143 infobackground |
|
144 infotext |
|
145 match |
|
146 menutext |
|
147 scrollbar |
|
148 threeddarkshadow |
|
149 threedface |
|
150 threedhighlight |
|
151 threedlightshadow |
|
152 threedshadow |
|
153 window |
|
154 windowframe |
|
155 windowtext |
|
156 -webkit-focus-ring-color |
|
157 # |
|
158 # colors in non strict mode |
|
159 grey |
|
160 -webkit-text |
|
161 # |
|
162 # CSS_PROP_BACKGROUND_REPEAT: |
|
163 # |
|
164 repeat |
|
165 repeat-x |
|
166 repeat-y |
|
167 no-repeat |
|
168 # |
|
169 # CSS_PROP__WEBKIT_BACKGROUND_COMPOSITE: |
|
170 # |
|
171 clear |
|
172 copy |
|
173 source-over |
|
174 source-in |
|
175 source-out |
|
176 source-atop |
|
177 destination-over |
|
178 destination-in |
|
179 destination-out |
|
180 destination-atop |
|
181 xor |
|
182 plus-darker |
|
183 # highlight |
|
184 plus-lighter |
|
185 # |
|
186 # CSS_PROP_VERTICAL_ALIGN: |
|
187 # |
|
188 baseline |
|
189 middle |
|
190 sub |
|
191 super |
|
192 text-top |
|
193 text-bottom |
|
194 top |
|
195 bottom |
|
196 # HTML alignment MIDDLE has no corresponding CSS alignment |
|
197 -webkit-baseline-middle |
|
198 # |
|
199 # CSS_PROP_TEXT_ALIGN: |
|
200 # |
|
201 -webkit-auto |
|
202 left |
|
203 right |
|
204 center |
|
205 justify |
|
206 -webkit-left |
|
207 -webkit-right |
|
208 -webkit-center |
|
209 # |
|
210 # CSS_PROP_LIST_STYLE_POSITION: |
|
211 # |
|
212 outside |
|
213 inside |
|
214 # |
|
215 # CSS_PROP_LIST_STYLE_TYPE: |
|
216 # |
|
217 disc |
|
218 circle |
|
219 square |
|
220 decimal |
|
221 decimal-leading-zero |
|
222 lower-roman |
|
223 upper-roman |
|
224 lower-greek |
|
225 lower-alpha |
|
226 lower-latin |
|
227 upper-alpha |
|
228 upper-latin |
|
229 hebrew |
|
230 armenian |
|
231 georgian |
|
232 cjk-ideographic |
|
233 hiragana |
|
234 katakana |
|
235 hiragana-iroha |
|
236 katakana-iroha |
|
237 #none |
|
238 # |
|
239 # CSS_PROP_DISPLAY: |
|
240 # |
|
241 inline |
|
242 block |
|
243 list-item |
|
244 run-in |
|
245 compact |
|
246 inline-block |
|
247 table |
|
248 inline-table |
|
249 table-row-group |
|
250 table-header-group |
|
251 table-footer-group |
|
252 table-row |
|
253 table-column-group |
|
254 table-column |
|
255 table-cell |
|
256 table-caption |
|
257 -webkit-box |
|
258 #make sure marquee is not the last display prop |
|
259 -wap-marquee |
|
260 -webkit-inline-box |
|
261 #none |
|
262 # |
|
263 # CSS_PROP_CURSOR: |
|
264 # |
|
265 auto |
|
266 crosshair |
|
267 default |
|
268 pointer |
|
269 move |
|
270 vertical-text |
|
271 cell |
|
272 context-menu |
|
273 alias |
|
274 # copy |
|
275 progress |
|
276 no-drop |
|
277 not-allowed |
|
278 -webkit-zoom-in |
|
279 -webkit-zoom-out |
|
280 e-resize |
|
281 ne-resize |
|
282 nw-resize |
|
283 n-resize |
|
284 se-resize |
|
285 sw-resize |
|
286 s-resize |
|
287 w-resize |
|
288 ew-resize |
|
289 ns-resize |
|
290 nesw-resize |
|
291 nwse-resize |
|
292 col-resize |
|
293 row-resize |
|
294 text |
|
295 wait |
|
296 help |
|
297 all-scroll |
|
298 # none |
|
299 # |
|
300 # CSS_PROP_DIRECTION: |
|
301 # |
|
302 ltr |
|
303 rtl |
|
304 # |
|
305 # CSS_PROP_TEXT_TRANSFORM: |
|
306 # |
|
307 capitalize |
|
308 uppercase |
|
309 lowercase |
|
310 #none |
|
311 # |
|
312 # CSS_PROP_VISIBILITY: |
|
313 # |
|
314 visible |
|
315 #hidden |
|
316 collapse |
|
317 # |
|
318 # Unordered rest |
|
319 # |
|
320 above |
|
321 absolute |
|
322 always |
|
323 avoid |
|
324 below |
|
325 bidi-override |
|
326 blink |
|
327 both |
|
328 close-quote |
|
329 crop |
|
330 cross |
|
331 embed |
|
332 fixed |
|
333 hand |
|
334 hide |
|
335 higher |
|
336 invert |
|
337 landscape |
|
338 level |
|
339 line-through |
|
340 loud |
|
341 lower |
|
342 -webkit-marquee |
|
343 mix |
|
344 no-close-quote |
|
345 no-open-quote |
|
346 nowrap |
|
347 open-quote |
|
348 overlay |
|
349 overline |
|
350 portrait |
|
351 pre |
|
352 pre-line |
|
353 pre-wrap |
|
354 relative |
|
355 scroll |
|
356 separate |
|
357 show |
|
358 static |
|
359 thick |
|
360 thin |
|
361 underline |
|
362 -webkit-nowrap |
|
363 # CSS3 Values |
|
364 # CSS_PROP_BOX_ALIGN |
|
365 stretch |
|
366 start |
|
367 end |
|
368 #center |
|
369 #baseline |
|
370 # CSS_PROP_BOX_DIRECTION |
|
371 # normal |
|
372 reverse |
|
373 # CSS_PROP_BOX_ORIENT |
|
374 horizontal |
|
375 vertical |
|
376 inline-axis |
|
377 block-axis |
|
378 # CSS_PROP_BOX_PACK |
|
379 # start |
|
380 # end |
|
381 # center |
|
382 # justify |
|
383 # CSS_PROP_BOX_LINES |
|
384 single |
|
385 multiple |
|
386 # CSS_PROP_MARQUEE_DIRECTION |
|
387 forwards |
|
388 backwards |
|
389 ahead |
|
390 # reverse |
|
391 # left |
|
392 # right |
|
393 up |
|
394 down |
|
395 # auto |
|
396 # CSS_PROP_MARQUEE_SPEED |
|
397 slow |
|
398 # normal |
|
399 fast |
|
400 # CSS_PROP_MARQUEE_REPETITION |
|
401 infinite |
|
402 # CSS_PROP_MARQUEE_STYLE |
|
403 # none |
|
404 slide |
|
405 # scroll |
|
406 alternate |
|
407 # |
|
408 # CSS_PROP__KHTML_USER_MODIFY |
|
409 # |
|
410 read-only |
|
411 read-write |
|
412 read-write-plaintext-only |
|
413 # |
|
414 # CSS_PROP__KHTML_USER_DRAG |
|
415 # |
|
416 element |
|
417 # |
|
418 # CSS_PROP__KHTML_USER_SELECT |
|
419 # |
|
420 ignore |
|
421 # |
|
422 # CSS_PROP_WIDTH/MIN_WIDTH/MAX_WIDTH |
|
423 # |
|
424 intrinsic |
|
425 min-intrinsic |
|
426 # |
|
427 # CSS_PROP_TEXT_OVERFLOW |
|
428 # |
|
429 clip |
|
430 ellipsis |
|
431 # |
|
432 # CSS_PROP__KHTML_MARGIN_COLLAPSE |
|
433 # |
|
434 # collapse |
|
435 # separate |
|
436 discard |
|
437 # |
|
438 # CSS_PROP_TEXT_*_COLOR |
|
439 # |
|
440 dot-dash |
|
441 dot-dot-dash |
|
442 wave |
|
443 # |
|
444 # CSS_PROP_TEXT_*_MODE |
|
445 # |
|
446 continuous |
|
447 skip-white-space |
|
448 # |
|
449 # CSS_PROP_WORD_BREAK |
|
450 # |
|
451 break-all |
|
452 # |
|
453 # CSS_PROP_WORD_WRAP |
|
454 # |
|
455 break-word |
|
456 # |
|
457 # CSS_PROP__KHTML_NBSP_MODE |
|
458 # |
|
459 space |
|
460 # |
|
461 # CSS_PROP__KHTML_LINE_BREAK |
|
462 # |
|
463 after-white-space |
|
464 # |
|
465 # CSS_PROP__KHTML_APPEARANCE |
|
466 # |
|
467 checkbox |
|
468 radio |
|
469 push-button |
|
470 square-button |
|
471 button |
|
472 button-bevel |
|
473 listbox |
|
474 listitem |
|
475 menulist |
|
476 menulist-button |
|
477 menulist-text |
|
478 menulist-textfield |
|
479 scrollbarbutton-up |
|
480 scrollbarbutton-down |
|
481 scrollbarbutton-left |
|
482 scrollbarbutton-right |
|
483 scrollbartrack-horizontal |
|
484 scrollbartrack-vertical |
|
485 scrollbarthumb-horizontal |
|
486 scrollbarthumb-vertical |
|
487 scrollbargripper-horizontal |
|
488 scrollbargripper-vertical |
|
489 slider-horizontal |
|
490 slider-vertical |
|
491 sliderthumb-horizontal |
|
492 sliderthumb-vertical |
|
493 caret |
|
494 searchfield |
|
495 searchfield-decoration |
|
496 searchfield-results-decoration |
|
497 searchfield-results-button |
|
498 searchfield-cancel-button |
|
499 textfield |
|
500 textarea |
|
501 # |
|
502 # CSS_PROP_BORDER_IMAGE |
|
503 # |
|
504 # stretch |
|
505 # repeat |
|
506 round |
|
507 # |
|
508 # CSS_PROP_BACKGROUND_CLIP/ORIGIN |
|
509 # |
|
510 border |
|
511 content |
|
512 padding |
|
513 # |
|
514 # CSS_PROP_BOX_SIZING |
|
515 # |
|
516 border-box |
|
517 content-box |
|
518 # |
|
519 # CSS_PROP__KHTML_RTL_ORDERING |
|
520 # |
|
521 logical |
|
522 visual |
|
523 # |
|
524 # CSS_PROP__WEBKIT_BORDER_FIT |
|
525 # |
|
526 lines |
|
527 # |
|
528 # CSS_PROP__WEBKIT_FRAME_LAYOUT |
|
529 # |
|
530 #-webkit-auto |
|
531 -webkit-flat |
|
532 # |
|
533 # CSS_PROP__WAP_INPUT_FORMAT |
|
534 # |
|
535 #auto |
|
536 true |
|
537 false |