Skip to content

Commit

Permalink
Update CSS property list to November 2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Nov 16, 2024
1 parent b5e879c commit 97aabf1
Show file tree
Hide file tree
Showing 5 changed files with 90 additions and 54 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Latest development builds (artifacts in Release configuration for each compiler
* [C Standard Library](tools/lang/C.c), up to C2x.
* [C++ STL](tools/lang/CPP.cpp), up to C++20.
* [Cangjie (仓颉)](tools/lang/Cangjie.cj), up to October 2024.
* [CSS Style Sheet](tools/lang/CSS.css), up to September 2024.
* [CSS Style Sheet](tools/lang/CSS.css), up to November 2024.
* [SCSS Style Sheet](tools/lang/SCSS.scss), up to Dart Sass 1.50.
* [Less Style Sheet](tools/lang/Less.less), up to Less 4.1.
* [HSS Style Sheet](tools/lang/HSS.hss)
Expand Down
60 changes: 32 additions & 28 deletions src/EditLexers/stlCSS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ static KEYWORDLIST Keywords_CSS = {{
"hyphenate-character hyphenate-limit-chars hyphenate-limit-last hyphenate-limit-lines hyphenate-limit-zone hyphens "
"image-orientation image-rendering image-resolution inherits "
"initial-letter initial-letter-align initial-letter-wrap initial-value inline-size inline-sizing input-security "
"inset inset-area inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline-start "
"interpolate-size inverted-colors isolation "
"inset inset-block inset-block-end inset-block-start inset-inline inset-inline-end inset-inline-start interpolate-size "
"inverted-colors isolation "
"justify-content justify-items justify-self "
"left letter-spacing lighting-color "
"line-break line-clamp line-fit-edge line-gap-override line-grid line-height line-height-step line-padding line-snap "
Expand All @@ -65,25 +65,27 @@ static KEYWORDLIST Keywords_CSS = {{
"marker-end marker-knockout-left marker-knockout-right marker-mid marker-pattern marker-segment marker-side marker-start "
"marks mask mask-border "
"mask-border-mode mask-border-outset mask-border-repeat mask-border-slice mask-border-source mask-border-width "
"mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size mask-type "
"max-aspect-ratio max-block-size max-device-aspect-ratio max-device-height max-device-width max-height max-inline-size "
"max-lines max-resolution max-width min-aspect-ratio min-block-size "
"min-device-aspect-ratio min-device-height min-device-width min-height min-inline-size min-intrinsic-sizing "
"min-resolution min-width mix-blend-mode monochrome "
"mask-clip mask-composite mask-image mask-mode mask-origin mask-position mask-repeat mask-size mask-type masonry "
"masonry-auto-tracks masonry-direction masonry-fill masonry-flow masonry-slack "
"masonry-template-areas masonry-template-tracks masonry-track masonry-track-end masonry-track-start max-aspect-ratio "
"max-block-size max-device-aspect-ratio max-device-height max-device-width max-height max-inline-size max-lines "
"max-resolution max-width min-aspect-ratio min-block-size min-device-aspect-ratio min-device-height min-device-width "
"min-height min-inline-size min-intrinsic-sizing min-resolution min-width mix-blend-mode monochrome "
"nav-controls nav-down nav-left nav-right nav-up navigation negative "
"object-fit object-position offset offset-anchor offset-distance offset-path offset-position offset-rotate opacity "
"order orientation orphans outline outline-color outline-offset outline-style outline-width overflow overflow-anchor "
"overflow-block overflow-clip-margin "
"overflow-clip-margin-block overflow-clip-margin-block-end overflow-clip-margin-block-start overflow-clip-margin-bottom "
"overflow-clip-margin-inline overflow-clip-margin-inline-end overflow-clip-margin-inline-start overflow-clip-margin-left "
"overflow-clip-margin-right overflow-clip-margin-top overflow-inline overflow-wrap overflow-x overflow-y override-colors "
"overflow-clip-margin-right overflow-clip-margin-top overflow-inline overflow-wrap overflow-x overflow-y overflowing "
"override-colors "
"overscroll-behavior overscroll-behavior-block overscroll-behavior-inline overscroll-behavior-x overscroll-behavior-y "
"pad padding padding-block padding-block-end padding-block-start padding-bottom "
"padding-inline padding-inline-end padding-inline-start padding-left padding-right padding-top "
"page page-break-after page-break-before page-break-inside page-orientation pause pause-after pause-before "
"perspective perspective-origin pitch pitch-range place-content place-items place-self play-during "
"pointer pointer-events position "
"position-anchor position-try position-try-fallbacks position-try-options position-try-order position-visibility "
"pointer pointer-events "
"position position-anchor position-area position-try position-try-fallbacks position-try-order position-visibility "
"prefers-color-scheme prefers-contrast prefers-reduced-data prefers-reduced-motion prefers-reduced-transparency prefix "
"presentation-level print-color-adjust "
"quotes "
Expand All @@ -98,12 +100,12 @@ static KEYWORDLIST Keywords_CSS = {{
"scroll-padding-top scroll-snap-align scroll-snap-stop scroll-snap-type scroll-start-target "
"scroll-timeline scroll-timeline-axis scroll-timeline-name scrollbar-color scrollbar-gutter scrollbar-width "
"shape shape-image-threshold shape-inside shape-margin shape-outside shape-padding shape-rendering shape-subtract "
"size size-adjust spatial-navigation-action spatial-navigation-contain spatial-navigation-function "
"size size-adjust snapped spatial-navigation-action spatial-navigation-contain spatial-navigation-function "
"speak speak-as speak-header speak-numeral speak-punctuation speech-rate src stress string-set stroke "
"stroke-align stroke-alignment stroke-break stroke-color "
"stroke-dash-corner stroke-dash-justify stroke-dashadjust stroke-dasharray stroke-dashcorner stroke-dashoffset "
"stroke-image stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-origin stroke-position "
"stroke-repeat stroke-size stroke-width "
"stroke-repeat stroke-size stroke-width stuck "
"subscript-position-override subscript-size-override suffix superscript-position-override superscript-size-override "
"symbols syntax system "
"tab-size table-layout text-align text-align-all text-align-last text-anchor text-autospace "
Expand All @@ -120,8 +122,8 @@ static KEYWORDLIST Keywords_CSS = {{
"translate types "
"unicode-bidi unicode-range update user-select "
"vertical-align vertical-viewport-segments video-color-gamut video-dynamic-range "
"view-timeline view-timeline-axis view-timeline-inset view-timeline-name view-transition-class view-transition-name "
"viewport-fit visibility "
"view-timeline view-timeline-axis view-timeline-inset view-timeline-name "
"view-transition-class view-transition-group view-transition-name viewport-fit visibility "
"voice-balance voice-duration voice-family voice-pitch voice-range voice-rate voice-stress voice-volume volume "
"white-space white-space-collapse white-space-trim widows width will-change "
"word-break word-space-transform word-spacing word-wrap "
Expand Down Expand Up @@ -157,8 +159,8 @@ static KEYWORDLIST Keywords_CSS = {{
"view-transition view-transition-group( view-transition-image-pair( view-transition-new( view-transition-old( "

, // 4 math functions
"abs( acos( asin( atan( atan2( calc( calc-mix( calc-size( clamp( color-mix( container-progress( cos( cross-fade( exp( "
"hypot( log( max( media-progress( min( mix( mod( pow( progress( random( rem( round( sign( sin( sqrt( tan( transform-mix( "
"abs( acos( asin( atan( atan2( calc( calc-mix( calc-size( clamp( container-progress( cos( exp( hypot( log( "
"max( media-progress( min( mod( pow( progress( random( rem( round( sign( sin( sqrt( tan( "

, // 5 color names
"aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood "
Expand Down Expand Up @@ -189,18 +191,18 @@ static KEYWORDLIST Keywords_CSS = {{
"above absolute absolute-colorimetric accumulate add additive adjust( alias "
"all-petite-caps all-scroll all-small-caps allow-discrete allow-end allow-keywords alpha alpha( alphabetic alphamix( "
"alternate alternate-reverse always anchor( anchor-size( anchors-valid anchors-visible and annotation( anywhere append( "
"arcs argb( arguments armenian as at attr( audio aural auto auto-flow auto-phrase "
"arcs argb( arguments armenian as at attr( audio aural auto auto-areas auto-fit auto-flow auto-phrase "
"average( avoid avoid-column avoid-flex avoid-line avoid-page avoid-region "
"back backwards balance balance-all bar baseline behind below bevel bidi-override bitmap "
"blackness( blink block block-end block-start blue( blur( bold bolder boolean( border-box both both-edges bounding-box "
"braille break break-all break-spaces break-word brightness( browser bullets butt button "
"calc-args( calc-name( call( cap cap-height capitalize caption ceil( cell center center-left center-right central "
"ch-width change( character-variant( checkbox child child( circle circle( clone close-quote coarse code col-resize "
"collapse collection "
"color( color-CBDT color-COLRv0 color-COLRv1 color-SVG color-burn color-contrast( color-dodge color-sbix "
"color( color-CBDT color-COLRv0 color-COLRv1 color-SVG color-burn color-contrast( color-dodge color-mix( color-sbix "
"column column-reverse common-ligatures compact compatible( complement( compress condensed conic-gradient( "
"content( content-box content-exists( contents context-menu contextual continuous contrast( contrast-color( convert( "
"copy counter( counters( cover create crisp-edges crispEdges crop cross crosshair css "
"copy counter( counters( cover create crisp-edges crispEdges crop cross cross-fade( crosshair css "
"cubic-bezier( currentColor cursive custom cyclic "
"dark darken darken( dashed dashes data-uri( "
"decimal decimal-leading-zero deep-merge( deep-remove( default( dense desaturate( device-cmyk( diagonal-fractions "
Expand All @@ -222,8 +224,9 @@ static KEYWORDLIST Keywords_CSS = {{
"hue hue( hue-rotate( hwb( "
"ic-height ic-width icon ideograph-alpha ideograph-numeric ideographic ideographic-ink ideographic-space ie-hex-str( if( "
"image( image-height( image-set( image-size( image-width( important in increment incremental index( infinite infinity "
"inherit initial initial-only inline inline-block inline-end inline-flex inline-grid inline-start inline-table inner "
"insert insert( inset( inset-area( inside inspect( int( inter-character inter-word interactive interlace intersect "
"inherit inherit( initial initial-only "
"inline inline-block inline-end inline-flex inline-grid inline-masonry inline-start inline-table inner "
"insert insert( inset( inside inspect( int( inter-character inter-word interactive interlace intersect "
"invert invert( inverted is-bracketed( is-superselector( is-unitless( iscolor( isdefined( isem( iskeyword( isnumber( "
"isolate isolate-override ispercentage( ispixel( isruleset( isstring( isunit( isurl( italic "
"jis04 jis78 jis90 join( jump-both jump-end jump-none jump-start justify justify-all keep keep-all keys( keywords( "
Expand All @@ -234,8 +237,8 @@ static KEYWORDLIST Keywords_CSS = {{
"luma( luminance luminance( luminosity "
"male mandatory manipulation manual map margin-box "
"match-parent match-self match-source math math-auto mathematical matrix( matrix3d( max-content maximum "
"media( media-document( medium menu menulist menulist-button merge merge( message-box meta meter "
"middle min-color-index min-content min-monochrome minimal-ui minimum minmax( miter miter-clip mix mixed mixin-exists( "
"media( media-document( medium menu menulist menulist-button merge merge( message-box meta meter middle "
"min-color-index min-content min-monochrome minimal-ui minimum minmax( miter miter-clip mix mix( mixed mixin-exists( "
"moderate module-functions( module-variables( monospace more most-block-size most-height most-inline-size most-width "
"move multiple multiply multiply( "
"n-resize name( narrow ne-resize nearest negation( nest( nesw-resize neutral never nherit no-autospace "
Expand All @@ -253,14 +256,14 @@ static KEYWORDLIST Keywords_CSS = {{
"quote( "
"radial-gradient( radio raise random-item( range( ray( rec2020 rect rect( red( reduce reduced reference regexp( "
"relative relative-colorimetric remove( "
"repeat repeat-x repeat-y repeating-conic-gradient( repeating-linear-gradient( repeating-radial-gradient( "
"repeat repeat( repeat-x repeat-y repeating-conic-gradient( repeating-linear-gradient( repeating-radial-gradient( "
"replace replace( reverse revert revert-layer rgb( rgba( ridge right-side rightwards "
"rotate( rotate-left rotate-right rotate3d( rotateX( rotateY( rotateZ( round row row-resize row-reverse rtl "
"ruby ruby-base ruby-base-container ruby-text ruby-text-container run-in running( "
"s-resize sRGB safe same sans-serif saturate( saturation saturation( "
"scale( scale-down scale3d( scaleX( scaleY( scaleZ( screen screen( scroll scroll( scroll-position se-resize searchfield "
"select( selector selector( self-end self-start semi-condensed semi-expanded separate separator( sepia( serif sesame "
"set( set-nth( shade( show "
"scale( scale-down scale3d( scaleX( scaleY( scaleZ( screen screen( scroll scroll( scroll-position scroll-state se-resize "
"searchfield select( selector selector( self-end self-start semi-condensed semi-expanded separate separator( sepia( "
"serif sesame set( set-nth( shade( show "
"sibling-count( sibling-index( sideways sideways-lr sideways-rl silent simple-selectors( simplified size( "
"skew( skewX( skewY( slash( slashed-zero slice slice( slider-horizontal slow slower "
"small small-caps small-caption smaller smooth snap snap-block snap-inline soft soft-light softlight( solid "
Expand All @@ -272,7 +275,8 @@ static KEYWORDLIST Keywords_CSS = {{
"table table-caption table-cell table-column table-column-group table-footer-group table-header-group "
"table-row table-row-group tabular-nums tactile target-counter( target-counters( target-text( "
"techn( text text-bottom text-top textarea textfield thick thin through tint( titling-caps "
"to to-lower-case( to-upper-case( toggle( traditional translate( translate3d( translateX( translateY( translateZ( "
"to to-lower-case( to-upper-case( toggle( "
"traditional transform-mix( translate( translate3d( translateX( translateY( translateZ( "
"triangle trim-adjacent trim-all trim-auto trim-both trim-end trim-start true truetype tty tv type( type-of( "
"ui-monospace ui-rounded ui-sans-serif ui-serif ultra-condensed ultra-expanded "
"under underline underscore unicase unicode unify( unique-id( unit( unquote( unsafe unset "
Expand Down
Loading

0 comments on commit 97aabf1

Please sign in to comment.