Skip to content

Commit

Permalink
Update CSS properties.
Browse files Browse the repository at this point in the history
  • Loading branch information
zufuliu committed Jun 16, 2023
1 parent 9de816f commit d53367e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Latest development builds (artifacts in Release configuration for each compiler
* Objective-C/C++, [Screenshots](https://github.com/zufuliu/notepad2/wiki/Screenshots#objective-cc)
* [C Standard Library](tools/lang/C.c), up to C2x.
* [C++ STL](tools/lang/CPP.cpp), up to C++20.
* [CSS Style Sheet](tools/lang/CSS.css), up to April 2023 snapshot.
* [CSS Style Sheet](tools/lang/CSS.css), up to June 2023 snapshot.
* [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
3 changes: 2 additions & 1 deletion src/EditLexers/stlCSS.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static KEYWORDLIST Keywords_CSS = {{
"text-emphasis text-emphasis-color text-emphasis-position text-emphasis-skip text-emphasis-style text-group-align "
"text-indent text-justify text-orientation text-overflow text-rendering "
"text-shadow text-size-adjust text-spacing text-spacing-trim text-transform "
"text-underline-offset text-underline-position text-wrap top touch-action "
"text-underline-offset text-underline-position text-wrap timeline-scope top touch-action "
"transform transform-box transform-origin transform-style "
"transition transition-delay transition-duration transition-property transition-timing-function translate "
"unicode-bidi unicode-range update user-select user-zoom "
Expand Down Expand Up @@ -149,6 +149,7 @@ static KEYWORDLIST Keywords_CSS = {{
"^-moz- ^-ms- ^-o- ^-webkit- after before blank( content "
"file-selector-button first-letter first-line footnote-call footnote-marker grammar-error highlight( marker "
"nth-fragment( part( placeholder postfix prefix region selection shadow slot( spelling-error target-text "
"view-transition view-transition-group( view-transition-image-pair( view-transition-new( view-transition-old( "

, // 4 color names
"aliceblue antiquewhite aqua aquamarine azure beige bisque black blanchedalmond blue blueviolet brown burlywood "
Expand Down
20 changes: 13 additions & 7 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/ 14 February 2023
// 2023-04-15 https://drafts.csswg.org/
// 2023-06-17 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 @@ -10,7 +10,7 @@
// https://www.w3.org/TR/css-syntax-3/ 24 December 2021
!important

// CSS Animations Level 2 https://www.w3.org/TR/css-animations-2/ 2 March 2023
// CSS Animations Level 2 https://www.w3.org/TR/css-animations-2/ 2 June 2023
// CSS Animations Level 1 https://www.w3.org/TR/css-animations-1/ 2 March 2023
@keyframes
from to
Expand Down Expand Up @@ -739,7 +739,7 @@ all continuous paged visual audio speech tactile grid bitmap interactive static
max-device-aspect-ratio:;
}

// CSS Mobile Text Size Adjustment Module Level 1 https://drafts.csswg.org/css-size-adjust/ 22 June 2022
// CSS Mobile Text Size Adjustment Module Level 1 https://drafts.csswg.org/css-size-adjust/ 23 June 2022
{
text-size-adjust: auto | none;
}
Expand Down Expand Up @@ -998,7 +998,7 @@ all continuous paged visual audio speech tactile grid bitmap interactive static
scrollbar-width: auto | thin | none;
}

// Scroll-driven Animations https://www.w3.org/TR/scroll-animations-1/ 6 April 2023
// Scroll-driven Animations https://www.w3.org/TR/scroll-animations-1/ 6 June 2023
{
scroll-timeline-name: none;
scroll-timeline-axis: block | inline | vertical | horizontal;
Expand All @@ -1012,6 +1012,7 @@ all continuous paged visual audio speech tactile grid bitmap interactive static
animation-range:;
animation-range-start:;
animation-range-end:;
timeline-scope:;
}
scroll()
block inline vertical horizontal
Expand Down Expand Up @@ -1279,10 +1280,15 @@ pow() sqrt() hypot() log() exp()
abs() sign()
pi infinity NaN

// CSS View Transitions Module Level 1 https://www.w3.org/TR/css-view-transitions-1/ 24 November 2022
// CSS View Transitions Module Level 1 https://www.w3.org/TR/css-view-transitions-1/ 30 May 2023
{
view-transition-name: none;
}
::view-transition
::view-transition-group()
::view-transition-image-pair()
::view-transition-old()
::view-transition-new()

// Visual formatting model https://www.w3.org/TR/CSS22/visuren.html
{
Expand Down Expand Up @@ -1323,7 +1329,7 @@ pi infinity NaN
visibility: visible | hidden | collapse;
}

// Web Animations https://www.w3.org/TR/web-animations-1/ 8 September 2022
// Web Animations https://www.w3.org/TR/web-animations-1/ 5 June 2023

// CSS Will Change Module Level 1 https://www.w3.org/TR/css-will-change-1/ 5 May 2022
{
Expand Down Expand Up @@ -1367,7 +1373,7 @@ aural speech
speak-header: once | always;
}

// Compatibility https://compat.spec.whatwg.org/ 27 March 2023
// Compatibility https://compat.spec.whatwg.org/ 18 May 2023
{
touch-action: auto | none | pan-x | pan-left | pan-right | pan-y | pan-up | pan-down | pinch-zoom | manipulation;
}
Expand Down

0 comments on commit d53367e

Please sign in to comment.