Skip to content

Commit ff55df1

Browse files
committed
Add ALL css properties (css1, css2 and css3)
1 parent 2c95d2f commit ff55df1

File tree

1 file changed

+30
-15
lines changed

1 file changed

+30
-15
lines changed

syntaxhighlighter3/scripts/shBrushCss.js

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,36 @@
3131
return '\\b' + str.replace(/ /g, '(?!-)(?!:)\\b|\\b()') + '\:\\b';
3232
};
3333

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 ' +
36-
'background-repeat background baseline bbox border-collapse border-color border-spacing border-style border-top ' +
37-
'border-right border-bottom border-left border-top-color border-right-color border-bottom-color border-left-color ' +
38-
'border-top-style border-right-style border-bottom-style border-left-style border-top-width border-right-width ' +
39-
'border-bottom-width border-left-width border-width border bottom box-shadow box-sizing cap-height caption-side centerline clear clip color ' +
40-
'content counter-increment counter-reset cue-after cue-before cue cursor definition-src descent direction display ' +
41-
'elevation empty-cells flex-flow float font-size-adjust font-family font-size font-stretch font-style font-variant font-weight font ' +
42-
'height left letter-spacing line-height list-style-image list-style-position list-style-type list-style margin-top ' +
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 ' +
45-
'page-break-after page-break-before page-break-inside pause pause-after pause-before pitch pitch-range play-during position ' +
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 ' +
48-
'vertical-align visibility voice-family volume white-space widows width widths word-spacing x-height z-index';
34+
var keywords = 'align-content align-items align-self alignement-adjust all anchor-point animation animation-delay animation-direction animation-duration ' +
35+
'animation-fill-mode animation-iteration-count animation-name animation-play-state animation-timing-function appearance azimuth backface-visibility ' +
36+
'background background-attachment background-clip background-color background-image background-origin background-position background-repeat ' +
37+
'background-size baseline-shift binding bleed bookmark-label bookmark-level bookmark-state bookmark-target border border-bottom border-bottom-color ' +
38+
'border-bottom-left-radius border-bottom-right-radius border-bottom-style border-bottom-width border-collapse border-color border-image border-image-outset ' +
39+
'border-image-repeat border-image-slice border-image-source border-image-width border-left border-left-color border-left-style border-left-width border-radius ' +
40+
'border-right border-right-color border-right-style border-right-width border-spacing border-style border-top border-top-color border-top-left-radius ' +
41+
'border-top-right-radius border-top-style border-top-width border-width bottom box-decoration-break box-shadow box-sizing break-after break-before break-inside ' +
42+
'caption-side chains clear clip clip-path clip-rule color color-interpolation-filters color-profile column-count column-fill column-gap column-rule ' +
43+
'column-rule-color column-rule-style column-rule-width column-span column-width columns contain content counter-increment counter-reset crop cue cue-after ' +
44+
'cue-before cursor direction display dominant-baseline drop-initial-after-adjust drop-initial-after-align drop-initial-before-adjust drop-initial-before-align ' +
45+
'drop-initial-size drop-initial-value elevation empty-cells filter flex flex-basis flex-direction flex-flow flex-grow flex-shrink flex-wrap float float-offset ' +
46+
'flood-color flood-opacity font font-family font-feature-settings font-kerning font-language-override font-size font-size-adjust font-stretch font-style ' +
47+
'font-synthesis font-variant font-variant-alternates font-variant-caps font-variant-east-asian font-variant-ligatures font-variant-numeric font-variant-position ' +
48+
'font-weight grid grid-area grid-auto-columns grid-auto-flow grid-auto-position grid-auto-rows grid-column grid-column-end grid-column-start grid-row ' +
49+
'grid-row-end grid-row-start grid-template grid-template-areas grid-template-columns grid-template-rows hanging-punctuation height hyphens icon image-orientation ' +
50+
'image-resolution ime-mode inline-box-align justify-content left letter-spacing lighting-color line-break line-height line-stacking line-stacking-ruby ' +
51+
'line-stacking-shift line-stacking-strategy list-style list-style-image list-style-position list-style-type margin margin-bottom margin-left margin-right ' +
52+
'margin-top marker-offset marks mask mask-box-image mask-box-image-outset mask-box-image-repeat mask-box-image-slice mask-box-image-source mask-box-image-width ' +
53+
'mask-clip mask-image mask-origin mask-position mask-repeat mask-size mask-source-type mask-type max-height max-lines max-width min-height min-width move-to ' +
54+
'nav-down nav-index nav-left nav-right nav-up object-fit object-position opacity order orphans outline outline-color outline-offset outline-style outline-width ' +
55+
'overflow overflow-wrap overflow-x overflow-y padding padding-bottom padding-left padding-right padding-top page page-break-after page-break-before ' +
56+
'page-break-inside page-policy pause pause-after pause-before perspective perspective-origin pitch pitch-range play-during position presentation-level punctuation-trim ' +
57+
'quotes rendering-intent resize rest rest-after rest-before richness right rotation rotation-point ruby-align ruby-overhang ruby-position ruby-span size speak speak-as ' +
58+
'speak-header speak-numeral speak-punctuation speech-rate stress string-set tab-size table-layout target target-name target-new target-position text-align ' +
59+
'text-align-last text-combine-horizontal text-decoration text-decoration-color text-decoration-line text-decoration-skip text-decoration-style text-emphasis ' +
60+
'text-emphasis-color text-emphasis-position text-emphasis-style text-height text-indent text-justify text-orientation text-outline text-overflow text-shadow ' +
61+
'text-space-collapse text-transform text-underline-position text-wrap top transform transform-origin transform-style transition transition-delay transition-durations ' +
62+
'transition-property transition-timing-function unicode-bidi vertical-align visibility voice-balance voice-duration voice-family voice-pitch voice-range voice-rate ' +
63+
'voice-stress voice-volume volume white-space widows width word-break word-spacing word-wrap writing-mode z-index';
4964

5065
var values = 'above absolute all always aqua armenian attr aural auto avoid baseline behind below bidi-override black blink block blue bold bolder '+
5166
'border-box both bottom braille capitalize caption center center-left center-right circle close-quote code collapse compact condensed '+

0 commit comments

Comments
 (0)