@@ -455,81 +455,98 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
455455 "alignment-baseline" , "anchor-point" , "animation" , "animation-delay" ,
456456 "animation-direction" , "animation-duration" , "animation-fill-mode" ,
457457 "animation-iteration-count" , "animation-name" , "animation-play-state" ,
458- "animation-timing-function" , "appearance" , "azimuth" , "backface-visibility" ,
459- "background" , "background-attachment" , "background-blend-mode" , "background-clip" ,
460- "background-color" , "background-image" , "background-origin" , "background-position" ,
461- "background-repeat" , "background-size" , "baseline-shift" , "binding" ,
462- "bleed" , "bookmark-label" , "bookmark-level" , "bookmark-state" ,
463- "bookmark-target" , "border" , "border-bottom" , "border-bottom-color" ,
464- "border-bottom-left-radius" , "border-bottom-right-radius" ,
465- "border-bottom-style" , "border-bottom-width" , "border-collapse" ,
466- "border-color" , "border-image" , "border-image-outset" ,
458+ "animation-timing-function" , "appearance" , "azimuth" , "backdrop-filter" ,
459+ "backface-visibility" , "background" , "background-attachment" ,
460+ "background-blend-mode" , "background-clip" , "background-color" ,
461+ "background-image" , "background-origin" , "background-position" ,
462+ "background-position-x" , "background-position-y" , "background-repeat" ,
463+ "background-size" , "baseline-shift" , "binding" , "bleed" , "block-size" ,
464+ "bookmark-label" , "bookmark-level" , "bookmark-state" , "bookmark-target" ,
465+ "border" , "border-bottom" , "border-bottom-color" , "border-bottom-left-radius" ,
466+ "border-bottom-right-radius" , "border-bottom-style" , "border-bottom-width" ,
467+ "border-collapse" , "border-color" , "border-image" , "border-image-outset" ,
467468 "border-image-repeat" , "border-image-slice" , "border-image-source" ,
468- "border-image-width" , "border-left" , "border-left-color" ,
469- "border-left-style" , "border-left-width" , "border-radius" , "border-right" ,
470- "border-right-color" , "border-right-style" , "border-right-width" ,
471- "border-spacing" , "border-style" , "border-top" , "border-top-color" ,
472- "border-top-left-radius" , "border-top-right-radius" , "border-top-style" ,
473- "border-top-width" , "border-width" , "bottom" , "box-decoration-break" ,
474- "box-shadow" , "box-sizing" , "break-after" , "break-before" , "break-inside" ,
475- "caption-side" , "caret-color" , "clear" , "clip" , "color" , "color-profile" , "column-count" ,
476- "column-fill" , "column-gap" , "column-rule" , "column-rule-color" ,
477- "column-rule-style" , "column-rule-width" , "column-span" , "column-width" ,
478- "columns" , "content" , "counter-increment" , "counter-reset" , "crop" , "cue" ,
479- "cue-after" , "cue-before" , "cursor" , "direction" , "display" ,
480- "dominant-baseline" , "drop-initial-after-adjust" ,
481- "drop-initial-after-align" , "drop-initial-before-adjust" ,
482- "drop-initial-before-align" , "drop-initial-size" , "drop-initial-value" ,
483- "elevation" , "empty-cells" , "fit" , "fit-position" , "flex" , "flex-basis" ,
484- "flex-direction" , "flex-flow" , "flex-grow" , "flex-shrink" , "flex-wrap" ,
485- "float" , "float-offset" , "flow-from" , "flow-into" , "font" , "font-feature-settings" ,
486- "font-family" , "font-kerning" , "font-language-override" , "font-size" , "font-size-adjust" ,
487- "font-stretch" , "font-style" , "font-synthesis" , "font-variant" ,
488- "font-variant-alternates" , "font-variant-caps" , "font-variant-east-asian" ,
489- "font-variant-ligatures" , "font-variant-numeric" , "font-variant-position" ,
490- "font-weight" , "grid" , "grid-area" , "grid-auto-columns" , "grid-auto-flow" ,
491- "grid-auto-rows" , "grid-column" , "grid-column-end" , "grid-column-gap" ,
492- "grid-column-start" , "grid-gap" , "grid-row" , "grid-row-end" , "grid-row-gap" ,
493- "grid-row-start" , "grid-template" , "grid-template-areas" , "grid-template-columns" ,
494- "grid-template-rows" , "hanging-punctuation" , "height" , "hyphens" ,
495- "icon" , "image-orientation" , "image-rendering" , "image-resolution" ,
496- "inline-box-align" , "justify-content" , "justify-items" , "justify-self" , "left" , "letter-spacing" ,
497- "line-break" , "line-height" , "line-stacking" , "line-stacking-ruby" ,
469+ "border-image-width" , "border-left" , "border-left-color" , "border-left-style" ,
470+ "border-left-width" , "border-radius" , "border-right" , "border-right-color" ,
471+ "border-right-style" , "border-right-width" , "border-spacing" , "border-style" ,
472+ "border-top" , "border-top-color" , "border-top-left-radius" ,
473+ "border-top-right-radius" , "border-top-style" , "border-top-width" ,
474+ "border-width" , "bottom" , "box-decoration-break" , "box-shadow" , "box-sizing" ,
475+ "break-after" , "break-before" , "break-inside" , "caption-side" , "caret-color" ,
476+ "clear" , "clip" , "color" , "color-profile" , "column-count" , "column-fill" ,
477+ "column-gap" , "column-rule" , "column-rule-color" , "column-rule-style" ,
478+ "column-rule-width" , "column-span" , "column-width" , "columns" , "contain" ,
479+ "content" , "counter-increment" , "counter-reset" , "crop" , "cue" , "cue-after" ,
480+ "cue-before" , "cursor" , "direction" , "display" , "dominant-baseline" ,
481+ "drop-initial-after-adjust" , "drop-initial-after-align" ,
482+ "drop-initial-before-adjust" , "drop-initial-before-align" , "drop-initial-size" ,
483+ "drop-initial-value" , "elevation" , "empty-cells" , "fit" , "fit-position" ,
484+ "flex" , "flex-basis" , "flex-direction" , "flex-flow" , "flex-grow" ,
485+ "flex-shrink" , "flex-wrap" , "float" , "float-offset" , "flow-from" , "flow-into" ,
486+ "font" , "font-family" , "font-feature-settings" , "font-kerning" ,
487+ "font-language-override" , "font-optical-sizing" , "font-size" ,
488+ "font-size-adjust" , "font-stretch" , "font-style" , "font-synthesis" ,
489+ "font-variant" , "font-variant-alternates" , "font-variant-caps" ,
490+ "font-variant-east-asian" , "font-variant-ligatures" , "font-variant-numeric" ,
491+ "font-variant-position" , "font-variation-settings" , "font-weight" , "gap" ,
492+ "grid" , "grid-area" , "grid-auto-columns" , "grid-auto-flow" , "grid-auto-rows" ,
493+ "grid-column" , "grid-column-end" , "grid-column-gap" , "grid-column-start" ,
494+ "grid-gap" , "grid-row" , "grid-row-end" , "grid-row-gap" , "grid-row-start" ,
495+ "grid-template" , "grid-template-areas" , "grid-template-columns" ,
496+ "grid-template-rows" , "hanging-punctuation" , "height" , "hyphens" , "icon" ,
497+ "image-orientation" , "image-rendering" , "image-resolution" , "inline-box-align" ,
498+ "inset" , "inset-block" , "inset-block-end" , "inset-block-start" , "inset-inline" ,
499+ "inset-inline-end" , "inset-inline-start" , "isolation" , "justify-content" ,
500+ "justify-items" , "justify-self" , "left" , "letter-spacing" , "line-break" ,
501+ "line-height" , "line-height-step" , "line-stacking" , "line-stacking-ruby" ,
498502 "line-stacking-shift" , "line-stacking-strategy" , "list-style" ,
499503 "list-style-image" , "list-style-position" , "list-style-type" , "margin" ,
500- "margin-bottom" , "margin-left" , "margin-right" , "margin-top" ,
501- "marks" , "marquee-direction" , "marquee-loop" ,
502- "marquee-play-count" , "marquee-speed" , "marquee-style" , "max-height" ,
503- "max-width" , "min-height" , "min-width" , "mix-blend-mode" , "move-to" , "nav-down" , "nav-index" ,
504- "nav-left" , "nav-right" , "nav-up" , "object-fit" , "object-position" ,
505- "opacity" , "order" , "orphans" , "outline" ,
506- "outline-color" , "outline-offset" , "outline-style" , "outline-width" ,
507- "overflow" , "overflow-style" , "overflow-wrap" , "overflow-x" , "overflow-y" ,
508- "padding" , "padding-bottom" , "padding-left" , "padding-right" , "padding-top" ,
509- "page" , "page-break-after" , "page-break-before" , "page-break-inside" ,
510- "page-policy" , "pause" , "pause-after" , "pause-before" , "perspective" ,
511- "perspective-origin" , "pitch" , "pitch-range" , "place-content" , "place-items" , "place-self" , "play-during" , "position" ,
512- "presentation-level" , "punctuation-trim" , "quotes" , "region-break-after" ,
513- "region-break-before" , "region-break-inside" , "region-fragment" ,
514- "rendering-intent" , "resize" , "rest" , "rest-after" , "rest-before" , "richness" ,
515- "right" , "rotation" , "rotation-point" , "ruby-align" , "ruby-overhang" ,
516- "ruby-position" , "ruby-span" , "shape-image-threshold" , "shape-inside" , "shape-margin" ,
517- "shape-outside" , "size" , "speak" , "speak-as" , "speak-header" ,
518- "speak-numeral" , "speak-punctuation" , "speech-rate" , "stress" , "string-set" ,
519- "tab-size" , "table-layout" , "target" , "target-name" , "target-new" ,
520- "target-position" , "text-align" , "text-align-last" , "text-decoration" ,
504+ "margin-bottom" , "margin-left" , "margin-right" , "margin-top" , "marks" ,
505+ "marquee-direction" , "marquee-loop" , "marquee-play-count" , "marquee-speed" ,
506+ "marquee-style" , "max-block-size" , "max-height" , "max-inline-size" ,
507+ "max-width" , "min-block-size" , "min-height" , "min-inline-size" , "min-width" ,
508+ "mix-blend-mode" , "move-to" , "nav-down" , "nav-index" , "nav-left" , "nav-right" ,
509+ "nav-up" , "object-fit" , "object-position" , "offset" , "offset-anchor" ,
510+ "offset-distance" , "offset-path" , "offset-position" , "offset-rotate" ,
511+ "opacity" , "order" , "orphans" , "outline" , "outline-color" , "outline-offset" ,
512+ "outline-style" , "outline-width" , "overflow" , "overflow-style" ,
513+ "overflow-wrap" , "overflow-x" , "overflow-y" , "padding" , "padding-bottom" ,
514+ "padding-left" , "padding-right" , "padding-top" , "page" , "page-break-after" ,
515+ "page-break-before" , "page-break-inside" , "page-policy" , "pause" ,
516+ "pause-after" , "pause-before" , "perspective" , "perspective-origin" , "pitch" ,
517+ "pitch-range" , "place-content" , "place-items" , "place-self" , "play-during" ,
518+ "position" , "presentation-level" , "punctuation-trim" , "quotes" ,
519+ "region-break-after" , "region-break-before" , "region-break-inside" ,
520+ "region-fragment" , "rendering-intent" , "resize" , "rest" , "rest-after" ,
521+ "rest-before" , "richness" , "right" , "rotate" , "rotation" , "rotation-point" ,
522+ "row-gap" , "ruby-align" , "ruby-overhang" , "ruby-position" , "ruby-span" ,
523+ "scale" , "scroll-behavior" , "scroll-margin" , "scroll-margin-block" ,
524+ "scroll-margin-block-end" , "scroll-margin-block-start" , "scroll-margin-bottom" ,
525+ "scroll-margin-inline" , "scroll-margin-inline-end" ,
526+ "scroll-margin-inline-start" , "scroll-margin-left" , "scroll-margin-right" ,
527+ "scroll-margin-top" , "scroll-padding" , "scroll-padding-block" ,
528+ "scroll-padding-block-end" , "scroll-padding-block-start" ,
529+ "scroll-padding-bottom" , "scroll-padding-inline" , "scroll-padding-inline-end" ,
530+ "scroll-padding-inline-start" , "scroll-padding-left" , "scroll-padding-right" ,
531+ "scroll-padding-top" , "scroll-snap-align" , "scroll-snap-type" ,
532+ "shape-image-threshold" , "shape-inside" , "shape-margin" , "shape-outside" ,
533+ "size" , "speak" , "speak-as" , "speak-header" , "speak-numeral" ,
534+ "speak-punctuation" , "speech-rate" , "stress" , "string-set" , "tab-size" ,
535+ "table-layout" , "target" , "target-name" , "target-new" , "target-position" ,
536+ "text-align" , "text-align-last" , "text-combine-upright" , "text-decoration" ,
521537 "text-decoration-color" , "text-decoration-line" , "text-decoration-skip" ,
522- "text-decoration-style" , "text-emphasis" , "text-emphasis-color" ,
523- "text-emphasis-position" , "text-emphasis-style" , "text-height" ,
524- "text-indent" , "text-justify" , "text-outline" , "text-overflow" , "text-shadow" ,
525- "text-size-adjust" , "text-space-collapse" , "text-transform" , "text-underline-position" ,
526- "text-wrap" , "top" , "transform" , "transform-origin" , "transform-style" ,
527- "transition" , "transition-delay" , "transition-duration" ,
528- "transition-property" , "transition-timing-function" , "unicode-bidi" ,
529- "user-select" , "vertical-align" , "visibility" , "voice-balance" , "voice-duration" ,
530- "voice-family" , "voice-pitch" , "voice-range" , "voice-rate" , "voice-stress" ,
531- "voice-volume" , "volume" , "white-space" , "widows" , "width" , "will-change" , "word-break" ,
532- "word-spacing" , "word-wrap" , "z-index" ,
538+ "text-decoration-skip-ink" , "text-decoration-style" , "text-emphasis" ,
539+ "text-emphasis-color" , "text-emphasis-position" , "text-emphasis-style" ,
540+ "text-height" , "text-indent" , "text-justify" , "text-orientation" ,
541+ "text-outline" , "text-overflow" , "text-rendering" , "text-shadow" ,
542+ "text-size-adjust" , "text-space-collapse" , "text-transform" ,
543+ "text-underline-position" , "text-wrap" , "top" , "transform" , "transform-origin" ,
544+ "transform-style" , "transition" , "transition-delay" , "transition-duration" ,
545+ "transition-property" , "transition-timing-function" , "translate" ,
546+ "unicode-bidi" , "user-select" , "vertical-align" , "visibility" , "voice-balance" ,
547+ "voice-duration" , "voice-family" , "voice-pitch" , "voice-range" , "voice-rate" ,
548+ "voice-stress" , "voice-volume" , "volume" , "white-space" , "widows" , "width" ,
549+ "will-change" , "word-break" , "word-spacing" , "word-wrap" , "writing-mode" , "z-index" ,
533550 // SVG-specific
534551 "clip-path" , "clip-rule" , "mask" , "enable-background" , "filter" , "flood-color" ,
535552 "flood-opacity" , "lighting-color" , "stop-color" , "stop-opacity" , "pointer-events" ,
@@ -543,16 +560,28 @@ CodeMirror.defineMode("css", function(config, parserConfig) {
543560 ] , propertyKeywords = keySet ( propertyKeywords_ ) ;
544561
545562 var nonStandardPropertyKeywords_ = [
563+ "border-block" , "border-block-color" , "border-block-end" ,
564+ "border-block-end-color" , "border-block-end-style" , "border-block-end-width" ,
565+ "border-block-start" , "border-block-start-color" , "border-block-start-style" ,
566+ "border-block-start-width" , "border-block-style" , "border-block-width" ,
567+ "border-inline" , "border-inline-color" , "border-inline-end" ,
568+ "border-inline-end-color" , "border-inline-end-style" ,
569+ "border-inline-end-width" , "border-inline-start" , "border-inline-start-color" ,
570+ "border-inline-start-style" , "border-inline-start-width" ,
571+ "border-inline-style" , "border-inline-width" , "margin-block" ,
572+ "margin-block-end" , "margin-block-start" , "margin-inline" , "margin-inline-end" ,
573+ "margin-inline-start" , "padding-block" , "padding-block-end" ,
574+ "padding-block-start" , "padding-inline" , "padding-inline-end" ,
575+ "padding-inline-start" , "scroll-snap-stop" , "scrollbar-3d-light-color" ,
546576 "scrollbar-arrow-color" , "scrollbar-base-color" , "scrollbar-dark-shadow-color" ,
547577 "scrollbar-face-color" , "scrollbar-highlight-color" , "scrollbar-shadow-color" ,
548- "scrollbar-3d-light-color" , "scrollbar-track-color" , "shape-inside" ,
549- "searchfield-cancel-button" , "searchfield-decoration" , "searchfield-results-button" ,
550- "searchfield-results-decoration" , "zoom"
578+ "scrollbar-track-color" , "searchfield-cancel-button" , "searchfield-decoration" ,
579+ "searchfield-results-button" , "searchfield-results-decoration" , "shape-inside" , "zoom"
551580 ] , nonStandardPropertyKeywords = keySet ( nonStandardPropertyKeywords_ ) ;
552581
553582 var fontProperties_ = [
554- "font-family" , "src" , "unicode-range" , "font-variant" , "font-feature-settings ",
555- "font-stretch" , "font-weight" , "font-style"
583+ "font-display" , "font- family", "src" , "unicode-range" , "font-variant" ,
584+ "font-feature-settings" , "font-stretch" , "font-weight" , "font-style"
556585 ] , fontProperties = keySet ( fontProperties_ ) ;
557586
558587 var counterDescriptors_ = [
0 commit comments