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