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