|
31 | 31 | return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b'; |
32 | 32 | }; |
33 | 33 |
|
34 | | - var keywords = 'ascent azimuth background-attachment background-color background-image background-position ' + |
| 34 | + var keywords = 'animation-delay animation-direction animation-duration animation-iteration-count animation-name align-content ' + |
| 35 | + 'ascent azimuth background-attachment background-size background-clip background-color background-image background-position ' + |
35 | 36 | 'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' + |
36 | 37 | 'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' + |
37 | 38 | 'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' + |
38 | | - 'border-bottom-width border-left-width border-width border bottom cap-height caption-side centerline clear clip color ' + |
| 39 | + 'border-bottom-width border-left-width border-width border bottom box-shadow box-sizing cap-height caption-side centerline clear clip color ' + |
39 | 40 | 'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' + |
40 | | - 'elevation empty-cells float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' + |
| 41 | + 'elevation empty-cells flex-flow float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' + |
41 | 42 | 'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' + |
42 | | - 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width orphans ' + |
43 | | - 'outline-color outline-style outline-width outline overflow padding-top padding-right padding-bottom padding-left padding page ' + |
| 43 | + 'margin-right margin-bottom margin-left margin marker-offset marks mathline max-height max-width min-height min-width opacity orphans ' + |
| 44 | + 'outline-color outline-style outline-width outline overflow overflow-x padding-top padding-right padding-bottom padding-left padding page ' + |
44 | 45 | 'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' + |
45 | | - 'quotes right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' + |
46 | | - 'table-layout text-align top text-decoration text-indent text-shadow text-transform unicode-bidi unicode-range units-per-em ' + |
| 46 | + 'quotes resize right richness size slope src speak-header speak-numeral speak-punctuation speak speech-rate stemh stemv stress ' + |
| 47 | + 'table-layout text-align top text-decoration text-indent text-shadow text-transform transform transition unicode-bidi unicode-range units-per-em ' + |
47 | 48 | 'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index'; |
48 | 49 |
|
49 | 50 | var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+ |
50 | | - 'both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ |
51 | | - 'continuous counter counters crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+ |
52 | | - 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed format fuchsia '+ |
53 | | - 'gray green groove handheld hebrew help hidden hide high higher icon inline-table inline inset inside invert italic '+ |
54 | | - 'justify landscape large larger left-side left leftwards level lighter lime line-through list-item local loud lower-alpha '+ |
| 51 | + 'border-box both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+ |
| 52 | + 'continuous content-box counter counters cover crop cross crosshair cursive dashed decimal decimal-leading-zero default digits disc dotted double '+ |
| 53 | + 'embed embossed e-resize expanded extra-condensed extra-expanded fantasy far-left far-right fast faster fixed flex format fuchsia '+ |
| 54 | + 'gray green groove handheld hebrew help hidden hide high higher icon infinite inherit inline-block inline-table inline inset inside invert italic '+ |
| 55 | + 'justify landscape large larger left-side left leftwards level lighter lime linear linear-gradient line-through list-item local loud lower-alpha '+ |
55 | 56 | 'lowercase lower-greek lower-latin lower-roman lower low ltr marker maroon medium message-box middle mix move narrower '+ |
56 | 57 | 'navy ne-resize no-close-quote none no-open-quote no-repeat normal nowrap n-resize nw-resize oblique olive once open-quote outset '+ |
57 | | - 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb ridge right right-side '+ |
58 | | - 'rightwards rtl run-in screen scroll semi-condensed semi-expanded separate se-resize show silent silver slower slow '+ |
59 | | - 'small small-caps small-caption smaller soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ |
60 | | - 'table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ |
61 | | - 'text-bottom text-top thick thin top transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ |
62 | | - 'upper-roman url visible wait white wider w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; |
| 58 | + 'outside overline pointer portrait pre print projection purple red relative repeat repeat-x repeat-y rgb rgba ridge right right-side '+ |
| 59 | + 'rightwards rotate row rtl run-in scale screen scroll semi-condensed semi-expanded separate se-resize show silent silver skewX skewY slower slow '+ |
| 60 | + 'small small-caps small-caption smaller space-around soft solid speech spell-out square s-resize static status-bar sub super sw-resize '+ |
| 61 | + 'table table-caption table-cell table-column table-column-group table-footer-group table-header-group table-row table-row-group teal '+ |
| 62 | + 'text-bottom text-top thick thin top translate translateX translateY transparent tty tv ultra-condensed ultra-expanded underline upper-alpha uppercase upper-latin '+ |
| 63 | + 'upper-roman url visible wait webkit-box white wider wrap w-resize x-fast x-high x-large x-loud x-low x-slow x-small x-soft xx-large xx-small yellow'; |
63 | 64 |
|
64 | 65 | var fonts = '[mM]onospace [tT]ahoma [vV]erdana [aA]rial [hH]elvetica [sS]ans-serif [sS]erif [cC]ourier mono sans serif'; |
65 | 66 |
|
|
0 commit comments