Skip to content

Commit

Permalink
Update CSS property list to May 2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed May 18, 2024
1 parent 43406dc commit 8a997c1
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 17 deletions.
25 changes: 13 additions & 12 deletions src/EditLexers/stlCSS.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ static KEYWORDLIST Keywords_CSS = {{
"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-options position-try-order "
"pointer pointer-events "
"position position-anchor position-try position-try-options 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 Down Expand Up @@ -119,7 +120,8 @@ static KEYWORDLIST Keywords_CSS = {{
"translate "
"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-name viewport-fit visibility "
"view-timeline view-timeline-axis view-timeline-inset view-timeline-name view-transition-class 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 All @@ -134,11 +136,11 @@ static KEYWORDLIST Keywords_CSS = {{
"historical-forms if import include keyframes layer left-bottom left-middle left-top media mixin namespace nest "
"ornaments page plugin position-try property return right-bottom right-middle right-top "
"scope starting-style styleset stylistic supports swash top-center top-left top-left-corner top-right top-right-corner "
"use viewport warn when while "
"use view-transition viewport warn when while "

, // 2 pseudo classes
"^-moz- ^-ms- ^-o- ^-webkit- active after any-link autofill before blank buffering checked closed current current( "
"default defined dir( disabled empty enabled extend( "
"^-moz- ^-ms- ^-o- ^-webkit- active active-view-transition active-view-transition-type( after any-link autofill "
"before blank buffering checked closed current current( default defined dir( disabled empty enabled extend( "
"first first-child first-letter first-line first-of-type focus focus-visible focus-within fullscreen future "
"has( host host( host-context( hover in-range indeterminate invalid is( "
"lang( last-child last-of-type left link local-link modal muted "
Expand Down Expand Up @@ -184,8 +186,8 @@ static KEYWORDLIST Keywords_CSS = {{
"LinkText Mark MarkText NaN VisitedText "
"above absolute absolute-colorimetric accumulate add additive adjust( alias "
"all-petite-caps all-scroll all-small-caps allow-discrete allow-end alpha alpha( alphabetic alphamix( "
"alternate alternate-reverse always anchor( anchor-size( and annotation( anywhere append( arcs argb( arguments armenian "
"as at attr( audio aural auto auto-flow auto-phrase "
"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 "
"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 "
Expand Down Expand Up @@ -216,9 +218,8 @@ static KEYWORDLIST Keywords_CSS = {{
"horizontal horizontal-tb hsl( hsla( hss-height hss-width hsv( hsva( hsvhue( hsvsaturation( hsvvalue( "
"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( implicit 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 "
"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 "
"invert invert( inverted is-bracketed( is-superselector( is-unitless( iscolor( isdefined( isem( iskeyword( isnumber( "
"isolate isolate-override ispercentage( ispixel( isruleset( isstring( isunit( isurl( italic "
Expand All @@ -236,8 +237,8 @@ static KEYWORDLIST Keywords_CSS = {{
"move multiple multiply multiply( "
"n-resize name( narrow ne-resize nearest negation( nest( nesw-resize neutral never nherit no-autospace "
"no-clip no-close-quote no-common-ligatures no-compress no-contextual no-discretionary-ligatures no-drop "
"no-historical-ligature no-limit no-open-quote no-preference no-punctuation no-repeat nonzero normal not not-allowed "
"nowrap ns-resize nth( null numbers numeric nw-resize nwse-resize "
"no-historical-ligature no-limit no-open-quote no-overflow no-preference no-punctuation no-repeat nonzero normal "
"not not-allowed nowrap ns-resize nth( null numbers numeric nw-resize nwse-resize "
"objects oblique oklab( oklch( old oldstyle-nums once one only "
"opacity( opaque open-quote opentype optimizeLegibility optimizeQuality optimizeSpeed or ordinal ornaments( "
"outer outset outside outside-shape over overlay overlay( overline "
Expand Down
16 changes: 12 additions & 4 deletions tools/lang/CSS.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 2023 https://www.w3.org/TR/CSS/ 7 December 2023
// 2024-03-16 https://drafts.csswg.org/
// 2024-05-18 https://drafts.csswg.org/
// https://github.com/w3c/csswg-drafts/
// https://www.w3.org/Style/CSS/all-properties
// https://www.w3.org/Style/CSS/all-descriptors
Expand All @@ -14,8 +14,9 @@
{
anchor-name: none;
anchor-scope: none | all;
position-anchor: implicit;
position-anchor: auto;
inset-area: none;
position-visibility: always | anchors-valid | anchors-visible | no-overflow;

position-try-options: none | inset-area();
position-try-order: normal | most-width | most-height | most-block-size | most-inline-size;
Expand Down Expand Up @@ -480,7 +481,7 @@ step-start step-end steps()
bookmark-state: open | closed;
}

// CSS Generated Content for Paged Media Module https://www.w3.org/TR/css-gcpm-3/ 22 January 2024
// CSS Generated Content for Paged Media Module https://www.w3.org/TR/css-gcpm-3/ 25 January 2024
::footnote-call
::footnote-marker
{
Expand Down Expand Up @@ -761,16 +762,18 @@ all continuous paged visual audio speech tactile grid bitmap interactive static
offset: auto | reverse;
}

// CSS Multi-column Layout Module Level 1 https://www.w3.org/TR/css-multicol-1/ 12 October 2021
// CSS Multi-column Layout Module Level 1 https://www.w3.org/TR/css-multicol-1/ 16 May 2024
{
column-width: auto;
column-count: auto;
columns:;

column-gap:;
column-rule-color: currentColor;
column-rule-style:;
column-rule-width:;
column-rule:;

column-span: none | all;
column-fill: auto | balance | balance-all;
}
Expand Down Expand Up @@ -1306,10 +1309,15 @@ pi infinity NaN
zoom:;
}

// CSS View Transitions Module Level 2 https://www.w3.org/TR/css-view-transitions-2/ 16 May 2024
// CSS View Transitions Module Level 1 https://www.w3.org/TR/css-view-transitions-1/ 5 September 2023
{
view-transition-class: none;
view-transition-name: none;
}
@view-transition {}
:active-view-transition
:active-view-transition-type()
::view-transition
::view-transition-group()
::view-transition-image-pair()
Expand Down
2 changes: 1 addition & 1 deletion tools/lang/html.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!--
https://whatwg.org/ 15 March 2024
https://whatwg.org/ 17 May 2024
HTML 4.01 https://www.w3.org/TR/html4/ 27 March 2018
XHTML 2.0 https://www.w3.org/TR/xhtml2/ 16 December 2010
-->
Expand Down

0 comments on commit 8a997c1

Please sign in to comment.