From 52cd37d7193f73ed18f54dfdcdd53a800a0fa565 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 4 Jan 2025 22:51:35 +0800 Subject: [PATCH 01/38] chore(css): merge CSS Units group into CSS Values and Units --- css/definitions.json | 7 +--- css/functions.json | 69 ++++++++++++---------------------- css/properties.json | 2 +- css/selectors.md | 2 +- css/units.json | 89 +++++++++++++++----------------------------- css/units.md | 6 +-- 6 files changed, 59 insertions(+), 116 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 501f456e8..9f6253956 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -4,7 +4,6 @@ "Basic Selectors", "Combinators", "Compositing and Blending", - "CSS Angles", "CSS Animations", "CSS Backgrounds and Borders", "CSS Basic User Interface", @@ -25,13 +24,11 @@ "CSS Flexible Lengths", "CSS Fonts", "CSS Fragmentation", - "CSS Frequencies", "CSS Generated Content", "CSS Grid Layout", "CSS Houdini", "CSS Images", "CSS Inline", - "CSS Lengths", "CSS Lists and Counters", "CSS Logical Properties", "CSS Masking", @@ -42,7 +39,6 @@ "CSS Pages", "CSS Positioning", "CSS Regions", - "CSS Resolutions", "CSS Ruby", "CSS Scroll Anchoring", "CSS Scrollbars", @@ -53,11 +49,10 @@ "CSS Table", "CSS Text", "CSS Text Decoration", - "CSS Times", "CSS Transforms", "CSS Transitions", "CSS Types", - "CSS Units", + "CSS Values and Units", "CSS Variables", "CSS View Transitions", "CSS Will Change", diff --git a/css/functions.json b/css/functions.json index 94cba2c5e..dcdf5dfbc 100644 --- a/css/functions.json +++ b/css/functions.json @@ -2,8 +2,7 @@ "abs()": { "syntax": "abs( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/abs" @@ -11,8 +10,7 @@ "acos()": { "syntax": "acos( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/acos" @@ -36,8 +34,7 @@ "asin()": { "syntax": "asin( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/asin" @@ -45,8 +42,7 @@ "atan()": { "syntax": "atan( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/atan" @@ -54,8 +50,7 @@ "atan2()": { "syntax": "atan2( , )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/atan2" @@ -87,8 +82,7 @@ "calc()": { "syntax": "calc( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/calc" @@ -96,8 +90,7 @@ "calc-size()": { "syntax": "calc-size( , )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/calc-size" @@ -113,8 +106,7 @@ "clamp()": { "syntax": "clamp( #{3} )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/clamp" @@ -140,8 +132,7 @@ "cos()": { "syntax": "cos( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cos" @@ -207,8 +198,7 @@ "exp()": { "syntax": "exp( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/exp" @@ -258,8 +248,7 @@ "hypot()": { "syntax": "hypot( # )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hypot" @@ -356,8 +345,7 @@ "log()": { "syntax": "log( , ? )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/log" @@ -381,8 +369,7 @@ "max()": { "syntax": "max( # )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/max" @@ -390,8 +377,7 @@ "min()": { "syntax": "min( # )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/min" @@ -399,8 +385,7 @@ "minmax()": { "syntax": "minmax( [ | min-content | max-content | auto ] , [ | | min-content | max-content | auto ] )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/minmax" @@ -408,8 +393,7 @@ "mod()": { "syntax": "mod( , )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/mod" @@ -483,8 +467,7 @@ "pow()": { "syntax": "pow( , )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/pow" @@ -509,8 +492,7 @@ "rem()": { "syntax": "rem( , )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/rem" @@ -601,8 +583,7 @@ "round()": { "syntax": "round( ?, , )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/round" @@ -676,8 +657,7 @@ "sign()": { "syntax": "sign( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sign" @@ -685,8 +665,7 @@ "sin()": { "syntax": "sin( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sin" @@ -718,8 +697,7 @@ "sqrt()": { "syntax": "sqrt( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sqrt" @@ -748,8 +726,7 @@ "tan()": { "syntax": "tan( )", "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/tan" diff --git a/css/properties.json b/css/properties.json index 11322ff18..69aecea22 100644 --- a/css/properties.json +++ b/css/properties.json @@ -6343,7 +6343,7 @@ "animationType": "notAnimatable", "percentages": "no", "groups": [ - "CSS Units" + "CSS Values and Units" ], "initial": "numeric-only", "appliesto": "allElements", diff --git a/css/selectors.md b/css/selectors.md index 27aad3f95..85850a4e7 100644 --- a/css/selectors.md +++ b/css/selectors.md @@ -21,7 +21,7 @@ A selector object looks like this: The three properties shown above are all required: * `syntax` (string): The syntax of the selector (e.g. `::after` with two colons indicating a [pseudo-element](https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Pseudo-classes_and_pseudo-elements#Pseudo-elements), `:hover` with one colon indicating a [pseudo-class](https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Pseudo-classes_and_pseudo-elements#Pseudo-classes), or `A ~ B` indicating a [combinator](https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Combinators_and_multiple_selectors#Combinators)). -* `groups` (array of strings): CSS is organized in modules like "CSS Units" or "CSS Lengths". MDN organizes features in these groups as well — `groups` should contain the name of the module(s) the selector is defined in. +* `groups` (array of strings): CSS is organized in modules like "CSS Values and Units". MDN organizes features in these groups as well — `groups` should contain the name of the module(s) the selector is defined in. * `status` (enum string): This is either `standard`, `nonstandard`, `experimental` or `obsolete` depending on the standardization status of the feature. There is another property that is optional: diff --git a/css/units.json b/css/units.json index 8a5b5c4b2..537acb854 100644 --- a/css/units.json +++ b/css/units.json @@ -1,70 +1,61 @@ { "cap": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "ch": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "cm": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "deg": { "groups": [ - "CSS Units", - "CSS Angles" + "CSS Values and Units" ], "status": "standard" }, "dpcm": { "groups": [ - "CSS Units", - "CSS Resolutions" + "CSS Values and Units" ], "status": "standard" }, "dpi": { "groups": [ - "CSS Units", - "CSS Resolutions" + "CSS Values and Units" ], "status": "standard" }, "dppx": { "groups": [ - "CSS Units", - "CSS Resolutions" + "CSS Values and Units" ], "status": "standard" }, "em": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "ex": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "fr": { "groups": [ - "CSS Units", + "CSS Values and Units", "CSS Flexible Lengths", "CSS Grid Layout" ], @@ -72,141 +63,121 @@ }, "grad": { "groups": [ - "CSS Units", - "CSS Angles" + "CSS Values and Units" ], "status": "standard" }, "Hz": { "groups": [ - "CSS Units", - "CSS Frequencies" + "CSS Values and Units" ], "status": "standard" }, "ic": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "in": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "kHz": { "groups": [ - "CSS Units", - "CSS Frequencies" + "CSS Values and Units" ], "status": "standard" }, "mm": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "ms": { "groups": [ - "CSS Units", - "CSS Times" + "CSS Values and Units" ], "status": "standard" }, "pc": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "pt": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "px": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "Q": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "rad": { "groups": [ - "CSS Units", - "CSS Angles" + "CSS Values and Units" ], "status": "standard" }, "rem": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "s": { "groups": [ - "CSS Units", - "CSS Times" + "CSS Values and Units" ], "status": "standard" }, "turn": { "groups": [ - "CSS Units", - "CSS Angles" + "CSS Values and Units" ], "status": "standard" }, "vh": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "vmax": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "vmin": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "vw": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" }, "x": { "groups": [ - "CSS Units", - "CSS Resolutions" + "CSS Values and Units" ], "status": "standard" } diff --git a/css/units.md b/css/units.md index 77f59fa43..a73e64d47 100644 --- a/css/units.md +++ b/css/units.md @@ -13,13 +13,13 @@ A unit object looks like this: ```json "ch": { "groups": [ - "CSS Units", - "CSS Lengths" + "CSS Values and Units" ], "status": "standard" } ``` The 2 properties are both required. -* `groups` (array of strings): CSS is organized in modules like "CSS Units" or "CSS Lengths". MDN organizes features in these groups as well — `groups` should contain the name of the module(s) the unit is defined in. + +* `groups` (array of strings): CSS is organized in modules like "CSS Values and Units". MDN organizes features in these groups as well — `groups` should contain the name of the module(s) the unit is defined in. * `status` (enum string): This is either `standard`, `nonstandard`, `experimental` or `obsolete` depending on the standardization status of the feature. From 1f261e0f2f643307098b1b12c46bba149d8d1850 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 18 Feb 2025 00:25:24 +0800 Subject: [PATCH 02/38] chore(css): Update group for CSS Text --- css/definitions.json | 1 + css/properties.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 5b670f82b..16f7c46db 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -32,6 +32,7 @@ "CSS Lists and Counters", "CSS Logical Properties", "CSS Masking", + "CSS Mobile Text Size Adjustment", "CSS Motion Path", "CSS Multi-column Layout", "CSS Namespaces", diff --git a/css/properties.json b/css/properties.json index 3a1edf065..b2171a30f 100644 --- a/css/properties.json +++ b/css/properties.json @@ -8254,7 +8254,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Text" + "Scalable Vector Graphics" ], "initial": "normal", "appliesto": "textElements", @@ -10101,7 +10101,7 @@ "animationType": "byComputedValueType", "percentages": "referToSizeOfFont", "groups": [ - "CSS Text" + "CSS Mobile Text Size Adjustment" ], "initial": "autoForSmartphoneBrowsersSupportingInflation", "appliesto": "allElements", From 2138f3ed5e00254351f168b1f1519fc4b1048720 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 18 Feb 2025 00:17:07 +0800 Subject: [PATCH 03/38] chore(css): Update group for CSS Fonts --- css/definitions.json | 1 + css/properties.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 16f7c46db..0718a4f0d 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -41,6 +41,7 @@ "CSS Paged Media", "CSS Positioning", "CSS Resolutions", + "CSS Rhythmic Sizing", "CSS Ruby", "CSS Scroll Anchoring", "CSS Scrollbars", diff --git a/css/properties.json b/css/properties.json index b2171a30f..612ff64ed 100644 --- a/css/properties.json +++ b/css/properties.json @@ -6444,7 +6444,7 @@ "animationType": "numberOrLength", "percentages": "referToElementFontSize", "groups": [ - "CSS Fonts" + "CSS Inline" ], "initial": "normal", "appliesto": "allElements", @@ -6465,7 +6465,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Fonts" + "CSS Rhythmic Sizing" ], "initial": "0", "appliesto": "blockContainers", From 49f6c9218e8f55cc05bf7b3dbdfc96348e8f6e29 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Wed, 12 Feb 2025 01:12:21 +0800 Subject: [PATCH 04/38] chore(css): Update group for CSS Animations --- css/at-rules.json | 2 +- css/definitions.json | 1 + css/functions.json | 4 ++-- css/properties.json | 22 +++++++++++----------- css/types.json | 3 --- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/css/at-rules.json b/css/at-rules.json index ccbdbf3aa..74c627ce3 100644 --- a/css/at-rules.json +++ b/css/at-rules.json @@ -521,7 +521,7 @@ "CSSStartingStyleRule" ], "groups": [ - "CSS Animations" + "CSS Transitions" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@starting-style" diff --git a/css/definitions.json b/css/definitions.json index 0718a4f0d..6d464a304 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -74,6 +74,7 @@ "Pseudo-elements", "Selectors", "Scalable Vector Graphics", + "Scroll-driven Animations", "WebKit Extensions" ] } diff --git a/css/functions.json b/css/functions.json index 7b4f8d0f1..74dffbc9f 100644 --- a/css/functions.json +++ b/css/functions.json @@ -669,7 +669,7 @@ "scroll()": { "syntax": "scroll( [ || ]? )", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/scroll" @@ -814,7 +814,7 @@ "view()": { "syntax": "view([ || <'view-timeline-inset'>]?)", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/view" diff --git a/css/properties.json b/css/properties.json index 612ff64ed..7d46782d9 100644 --- a/css/properties.json +++ b/css/properties.json @@ -1941,7 +1941,7 @@ ], "percentages": "relativeToTimelineRangeIfSpecifiedOtherwiseEntireTimeline", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": [ "animation-range-start", @@ -1963,7 +1963,7 @@ "animationType": "notAnimatable", "percentages": "relativeToTimelineRangeIfSpecifiedOtherwiseEntireTimeline", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "normal", "appliesto": "allElements", @@ -1979,7 +1979,7 @@ "animationType": "notAnimatable", "percentages": "relativeToTimelineRangeIfSpecifiedOtherwiseEntireTimeline", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "normal", "appliesto": "allElements", @@ -9272,7 +9272,7 @@ ], "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": [ "scroll-timeline-name", @@ -9294,7 +9294,7 @@ "animationType": "notAnimatable", "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "block", "appliesto": "scrollContainers", @@ -9310,7 +9310,7 @@ "animationType": "notAnimatable", "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "none", "appliesto": "scrollContainers", @@ -10248,7 +10248,7 @@ "animationType": "notAnimatable", "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "none", "appliesto": "allElements", @@ -10559,7 +10559,7 @@ ], "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": [ "view-timeline-name", @@ -10581,7 +10581,7 @@ "animationType": "notAnimatable", "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "block", "appliesto": "allElements", @@ -10597,7 +10597,7 @@ "animationType": "byComputedValueType", "percentages": "relativeToCorrespondingDimensionOfRelevantScrollport", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "auto", "appliesto": "allElements", @@ -10613,7 +10613,7 @@ "animationType": "notAnimatable", "percentages": "no", "groups": [ - "CSS Animations" + "Scroll-driven Animations" ], "initial": "none", "appliesto": "allElements", diff --git a/css/types.json b/css/types.json index e23a0354f..e19d71122 100644 --- a/css/types.json +++ b/css/types.json @@ -48,7 +48,6 @@ "CSS Will Change", "CSS Counter Styles", "CSS Lists and Counters", - "CSS Animations", "CSS Types" ], "status": "standard", @@ -56,7 +55,6 @@ }, "dashed-ident": { "groups": [ - "CSS Animations", "CSS Types" ], "status": "standard", @@ -113,7 +111,6 @@ }, "easing-function": { "groups": [ - "CSS Animations", "CSS Transitions", "CSS Types" ], From 212baaa56d46b48f617d3cee550e601a5bb83c87 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Fri, 21 Feb 2025 23:39:12 +0800 Subject: [PATCH 05/38] chore(css): Fix group for CSS Transitions module (#5) --- css/types.json | 1 + 1 file changed, 1 insertion(+) diff --git a/css/types.json b/css/types.json index e19d71122..3ce4260ae 100644 --- a/css/types.json +++ b/css/types.json @@ -111,6 +111,7 @@ }, "easing-function": { "groups": [ + "CSS Animations", "CSS Transitions", "CSS Types" ], From b5af8d84203a6b86667ecd257b92e42ee12cf7b1 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 9 Feb 2025 23:46:02 +0800 Subject: [PATCH 06/38] chore(css): Rename CSS Logical Properties to CSS Logical Properties and Values --- css/definitions.json | 2 +- css/properties.json | 106 +++++++++++++++++++++---------------------- 2 files changed, 54 insertions(+), 54 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 6d464a304..9c16ec66d 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -30,7 +30,7 @@ "CSS Inline", "CSS Lengths", "CSS Lists and Counters", - "CSS Logical Properties", + "CSS Logical Properties and Values", "CSS Masking", "CSS Mobile Text Size Adjustment", "CSS Motion Path", diff --git a/css/properties.json b/css/properties.json index 7d46782d9..507942eca 100644 --- a/css/properties.json +++ b/css/properties.json @@ -2375,7 +2375,7 @@ "animationType": "lpc", "percentages": "blockSizeOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "auto", "appliesto": "sameAsWidthAndHeight", @@ -2426,7 +2426,7 @@ ], "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "border-block-width", @@ -2450,7 +2450,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "currentcolor", "appliesto": "allElements", @@ -2470,7 +2470,7 @@ ], "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "border-top-width", @@ -2494,7 +2494,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "currentcolor", "appliesto": "allElements", @@ -2510,7 +2510,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "allElements", @@ -2526,7 +2526,7 @@ "animationType": "byComputedValueType", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "medium", "appliesto": "allElements", @@ -2546,7 +2546,7 @@ ], "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "border-width", @@ -2570,7 +2570,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "currentcolor", "appliesto": "allElements", @@ -2586,7 +2586,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "allElements", @@ -2602,7 +2602,7 @@ "animationType": "byComputedValueType", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "medium", "appliesto": "allElements", @@ -2618,7 +2618,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "allElements", @@ -2634,7 +2634,7 @@ "animationType": "byComputedValueType", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "medium", "appliesto": "allElements", @@ -2826,7 +2826,7 @@ "animationType": "lpc", "percentages": "referToDimensionOfBorderBox", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsUAsNotRequiredWhenCollapse", @@ -2845,7 +2845,7 @@ "animationType": "lpc", "percentages": "referToDimensionOfBorderBox", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsUAsNotRequiredWhenCollapse", @@ -3003,7 +3003,7 @@ ], "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "border-inline-width", @@ -3027,7 +3027,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "currentcolor", "appliesto": "allElements", @@ -3047,7 +3047,7 @@ ], "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "border-width", @@ -3071,7 +3071,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "currentcolor", "appliesto": "allElements", @@ -3087,7 +3087,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "allElements", @@ -3103,7 +3103,7 @@ "animationType": "byComputedValueType", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "medium", "appliesto": "allElements", @@ -3123,7 +3123,7 @@ ], "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "border-width", @@ -3147,7 +3147,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "currentcolor", "appliesto": "allElements", @@ -3163,7 +3163,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "allElements", @@ -3179,7 +3179,7 @@ "animationType": "byComputedValueType", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "medium", "appliesto": "allElements", @@ -3195,7 +3195,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "allElements", @@ -3211,7 +3211,7 @@ "animationType": "byComputedValueType", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "medium", "appliesto": "allElements", @@ -3453,7 +3453,7 @@ "animationType": "lpc", "percentages": "referToDimensionOfBorderBox", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsUAsNotRequiredWhenCollapse", @@ -3472,7 +3472,7 @@ "animationType": "lpc", "percentages": "referToDimensionOfBorderBox", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsUAsNotRequiredWhenCollapse", @@ -6115,7 +6115,7 @@ "animationType": "lpc", "percentages": "inlineSizeOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "auto", "appliesto": "sameAsWidthAndHeight", @@ -6131,7 +6131,7 @@ "animationType": "lpc", "percentages": "logicalHeightOrWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "top", @@ -6157,7 +6157,7 @@ "animationType": "lpc", "percentages": "logicalHeightOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "inset-block-start", @@ -6179,7 +6179,7 @@ "animationType": "lpc", "percentages": "logicalHeightOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "auto", "appliesto": "positionedElements", @@ -6195,7 +6195,7 @@ "animationType": "lpc", "percentages": "logicalHeightOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "auto", "appliesto": "positionedElements", @@ -6211,7 +6211,7 @@ "animationType": "lpc", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "inset-inline-start", @@ -6233,7 +6233,7 @@ "animationType": "lpc", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "auto", "appliesto": "positionedElements", @@ -6249,7 +6249,7 @@ "animationType": "lpc", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "auto", "appliesto": "positionedElements", @@ -6586,7 +6586,7 @@ "animationType": "length", "percentages": "dependsOnLayoutModel", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "margin-block-start", @@ -6608,7 +6608,7 @@ "animationType": "length", "percentages": "dependsOnLayoutModel", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "sameAsMargin", @@ -6624,7 +6624,7 @@ "animationType": "length", "percentages": "dependsOnLayoutModel", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "sameAsMargin", @@ -6659,7 +6659,7 @@ "animationType": "length", "percentages": "dependsOnLayoutModel", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "margin-inline-start", @@ -6681,7 +6681,7 @@ "animationType": "length", "percentages": "dependsOnLayoutModel", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "sameAsMargin", @@ -6697,7 +6697,7 @@ "animationType": "length", "percentages": "dependsOnLayoutModel", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "sameAsMargin", @@ -7248,7 +7248,7 @@ "animationType": "lpc", "percentages": "blockSizeOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "sameAsWidthAndHeight", @@ -7280,7 +7280,7 @@ "animationType": "lpc", "percentages": "inlineSizeOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "none", "appliesto": "sameAsWidthAndHeight", @@ -7327,7 +7327,7 @@ "animationType": "lpc", "percentages": "blockSizeOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "sameAsWidthAndHeight", @@ -7359,7 +7359,7 @@ "animationType": "lpc", "percentages": "inlineSizeOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "sameAsWidthAndHeight", @@ -7993,7 +7993,7 @@ "animationType": "length", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "padding-block-start", @@ -8015,7 +8015,7 @@ "animationType": "length", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsExceptInternalTableDisplayTypes", @@ -8031,7 +8031,7 @@ "animationType": "length", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsExceptInternalTableDisplayTypes", @@ -8067,7 +8067,7 @@ "animationType": "length", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": [ "padding-inline-start", @@ -8089,7 +8089,7 @@ "animationType": "length", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsExceptInternalTableDisplayTypes", @@ -8105,7 +8105,7 @@ "animationType": "length", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties" + "CSS Logical Properties and Values" ], "initial": "0", "appliesto": "allElementsExceptInternalTableDisplayTypes", From cf51b7c0293fdb45ad83774f39617e96e45d3fa3 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 9 Feb 2025 23:36:30 +0800 Subject: [PATCH 07/38] feat(css): Update syntax for `circle()` and `ellipse()` functions --- css/functions.json | 4 ++-- css/syntaxes.json | 13 ++++++++----- css/syntaxes.md | 3 --- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/css/functions.json b/css/functions.json index 74dffbc9f..6dde04b9e 100644 --- a/css/functions.json +++ b/css/functions.json @@ -103,7 +103,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/calc-size" }, "circle()": { - "syntax": "circle( [ ]? [ at ]? )", + "syntax": "circle( ? [ at ]? )", "groups": [ "CSS Shapes" ], @@ -203,7 +203,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/element" }, "ellipse()": { - "syntax": "ellipse( [ {2} ]? [ at ]? )", + "syntax": "ellipse( ? [ at ]? )", "groups": [ "CSS Shapes" ], diff --git a/css/syntaxes.json b/css/syntaxes.json index f5727d0d5..d9f36a022 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -132,7 +132,7 @@ "syntax": "? && " }, "circle()": { - "syntax": "circle( [ ]? [ at ]? )" + "syntax": "circle( ? [ at ]? )" }, "clamp()": { "syntax": "clamp( #{3} )" @@ -303,7 +303,7 @@ "syntax": "element( )" }, "ellipse()": { - "syntax": "ellipse( [ {2} ]? [ at ]? )" + "syntax": "ellipse( ? [ at ]? )" }, "ending-shape": { "syntax": "circle | ellipse" @@ -710,9 +710,15 @@ "quote": { "syntax": "open-quote | close-quote | no-open-quote | no-close-quote" }, + "radial-extent": { + "syntax": "closest-corner | closest-side | farthest-corner | farthest-side" + }, "radial-gradient()": { "syntax": "radial-gradient( [ || ]? [ at ]? , )" }, + "radial-size": { + "syntax": " | | {2}" + }, "ratio": { "syntax": " [ / ]?" }, @@ -830,9 +836,6 @@ "shape-box": { "syntax": " | margin-box" }, - "shape-radius": { - "syntax": " | closest-side | farthest-side" - }, "side-or-corner": { "syntax": "[ left | right ] || [ top | bottom ]" }, diff --git a/css/syntaxes.md b/css/syntaxes.md index 58f641184..c5ada2af9 100644 --- a/css/syntaxes.md +++ b/css/syntaxes.md @@ -39,9 +39,6 @@ Or, syntaxes might reference other syntaxes that are also defined in syntaxes.js "length-percentage": { "syntax": " | " }, -"shape-radius": { - "syntax": " | closest-side | farthest-side" -}, ``` For more information about the formal grammar of CSS syntaxes, see [CSS value definition syntax](https://developer.mozilla.org/en-US/docs/Web/CSS/Value_definition_syntax). From 0e4d6a17568fed87c926990be22396d0b71b7597 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 9 Feb 2025 23:10:10 +0800 Subject: [PATCH 08/38] feat(css): Add missing `rect()` and `xywh()` functions --- css/functions.json | 16 ++++++++++++++++ css/syntaxes.json | 6 ++++++ 2 files changed, 22 insertions(+) diff --git a/css/functions.json b/css/functions.json index 6dde04b9e..c5b1f9c0b 100644 --- a/css/functions.json +++ b/css/functions.json @@ -517,6 +517,14 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ray" }, + "rect()": { + "syntax": "rect( [ | auto ]{4} [ round <'border-radius'> ]? )", + "groups": [ + "CSS Shapes" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/rect" + }, "rem()": { "syntax": "rem( , )", "groups": [ @@ -818,5 +826,13 @@ ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/animation-timeline/view" + }, + "xywh()": { + "syntax": "xywh( {2} {2} [ round <'border-radius'> ]? )", + "groups": [ + "CSS Shapes" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/xywh" } } diff --git a/css/syntaxes.json b/css/syntaxes.json index d9f36a022..9ca8dfb8d 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -740,6 +740,9 @@ "relative-size": { "syntax": "larger | smaller" }, + "rect()": { + "syntax": "rect( [ | auto ]{4} [ round <'border-radius'> ]? )" + }, "rem()": { "syntax": "rem( , )" }, @@ -1004,6 +1007,9 @@ "wq-name": { "syntax": "? " }, + "xywh()": { + "syntax": "xywh( {2} {2} [ round <'border-radius'> ]? )" + }, "xyz": { "syntax": "xyz | xyz-d50 | xyz-d65" }, From 729efa94b3ee4dfd2f5d50ef5ed6de0aee4972e9 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 9 Feb 2025 22:52:51 +0800 Subject: [PATCH 09/38] chore(css): Fix group for `shape-rendering` --- css/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index 507942eca..69294ab74 100644 --- a/css/properties.json +++ b/css/properties.json @@ -9422,7 +9422,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Shapes" + "Scalable Vector Graphics" ], "initial": "auto", "appliesto": "limitedSVGElementsShapes", From faa30d80cc0b200d378dcf78bc16b06c34e8fea3 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 9 Feb 2025 22:49:07 +0800 Subject: [PATCH 10/38] chore(css): Fix group for `clip-rule` --- css/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index 69294ab74..605fb5390 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4050,7 +4050,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "Scalable Vector Graphics" + "CSS Masking" ], "initial": "nonzero", "appliesto": "limitedSVGElementsGraphics", From d0c1baf22503ba2585a78e3e27dc8c97da3e62e0 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:06:07 +0800 Subject: [PATCH 11/38] chore(css): Rename CSS Positioning group to CSS Positioned Layout group (#12) --- css/definitions.json | 2 +- css/properties.json | 39 +++++++++++++++++++++++---------------- css/selectors.json | 3 ++- 3 files changed, 26 insertions(+), 18 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 9c16ec66d..ec9abf719 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -39,7 +39,7 @@ "CSS Overflow", "CSS Overscroll Behavior", "CSS Paged Media", - "CSS Positioning", + "CSS Positioned Layout", "CSS Resolutions", "CSS Rhythmic Sizing", "CSS Ruby", diff --git a/css/properties.json b/css/properties.json index 605fb5390..3c39848b6 100644 --- a/css/properties.json +++ b/css/properties.json @@ -3680,7 +3680,7 @@ "animationType": "lpc", "percentages": "referToContainingBlockHeight", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -4002,7 +4002,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "none", "appliesto": "blockLevelElements", @@ -4891,7 +4891,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "none", "appliesto": "allElementsNoEffectIfDisplayNone", @@ -6131,7 +6131,8 @@ "animationType": "lpc", "percentages": "logicalHeightOrWidthOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": [ "top", @@ -6157,7 +6158,8 @@ "animationType": "lpc", "percentages": "logicalHeightOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": [ "inset-block-start", @@ -6179,7 +6181,8 @@ "animationType": "lpc", "percentages": "logicalHeightOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -6195,7 +6198,8 @@ "animationType": "lpc", "percentages": "logicalHeightOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -6211,7 +6215,8 @@ "animationType": "lpc", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": [ "inset-inline-start", @@ -6233,7 +6238,8 @@ "animationType": "lpc", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -6249,7 +6255,8 @@ "animationType": "lpc", "percentages": "logicalWidthOfContainingBlock", "groups": [ - "CSS Logical Properties and Values" + "CSS Logical Properties and Values", + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -6361,7 +6368,7 @@ "animationType": "lpc", "percentages": "referToWidthOfContainingBlock", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -7864,7 +7871,7 @@ "animationType": "discreteButVisibleForDurationWhenAnimatedNone", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "none", "appliesto": "allElements", @@ -8385,7 +8392,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "static", "appliesto": "allElements", @@ -8574,7 +8581,7 @@ "animationType": "lpc", "percentages": "referToWidthOfContainingBlock", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -10264,7 +10271,7 @@ "animationType": "lpc", "percentages": "referToContainingBlockHeight", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", @@ -10842,7 +10849,7 @@ "animationType": "integer", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Positioned Layout" ], "initial": "auto", "appliesto": "positionedElements", diff --git a/css/selectors.json b/css/selectors.json index 5175110bd..22bfe7bb9 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -1011,7 +1011,8 @@ "syntax": "::backdrop", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS Positioned Layout" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::backdrop" From f6693edf95106842db4392becda645d1d065c830 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:08:13 +0800 Subject: [PATCH 12/38] chore(css): Fix group for some CSS Inline module feature --- css/properties.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index 3c39848b6..c1f2185e7 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4646,6 +4646,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ + "CSS Inline", "Scalable Vector Graphics" ], "initial": "auto", @@ -10542,7 +10543,7 @@ "animationType": "length", "percentages": "referToLineHeight", "groups": [ - "CSS Table" + "CSS Inline" ], "initial": "baseline", "appliesto": "inlineLevelAndTableCellElements", From 26ab04c8db89bf6173c2fa6525cad3ef40fcdb7d Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:10:59 +0800 Subject: [PATCH 13/38] Fix group for CSS Images module (#14) --- css/functions.json | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/css/functions.json b/css/functions.json index c5b1f9c0b..6509afacc 100644 --- a/css/functions.json +++ b/css/functions.json @@ -138,8 +138,7 @@ "conic-gradient()": { "syntax": "conic-gradient( [ from ]? [ at ]?, )", "groups": [ - "CSS Backgrounds and Borders", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/conic-gradient" @@ -180,8 +179,7 @@ "cross-fade()": { "syntax": "cross-fade( , ? )", "groups": [ - "Filter Effects", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/cross-fade" @@ -359,8 +357,7 @@ "linear-gradient()": { "syntax": "linear-gradient( [ | to ]? , )", "groups": [ - "CSS Backgrounds and Borders", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/linear-gradient" @@ -503,8 +500,7 @@ "radial-gradient()": { "syntax": "radial-gradient( [ || ]? [ at ]? , )", "groups": [ - "CSS Backgrounds and Borders", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/radial-gradient" @@ -537,8 +533,7 @@ "repeating-conic-gradient()": { "syntax": "repeating-conic-gradient( [ from ]? [ at ]?, )", "groups": [ - "CSS Backgrounds and Borders", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-conic-gradient" @@ -546,8 +541,7 @@ "repeating-linear-gradient()": { "syntax": "repeating-linear-gradient( [ | to ]? , )", "groups": [ - "CSS Backgrounds and Borders", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-linear-gradient" @@ -555,8 +549,7 @@ "repeating-radial-gradient()": { "syntax": "repeating-radial-gradient( [ || ]? [ at ]? , )", "groups": [ - "CSS Backgrounds and Borders", - "CSS Color" + "CSS Images" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/gradient/repeating-radial-gradient" From c9e82724940a8238c4d26dd4f0b0a7b63d588300 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 00:14:25 +0800 Subject: [PATCH 14/38] chore(css): Add CSS Anchor Positioning group (#15) --- css/at-rules.json | 2 +- css/definitions.json | 1 + css/functions.json | 4 ++-- css/properties.json | 16 ++++++++-------- 4 files changed, 12 insertions(+), 11 deletions(-) diff --git a/css/at-rules.json b/css/at-rules.json index 74c627ce3..86d444ce3 100644 --- a/css/at-rules.json +++ b/css/at-rules.json @@ -456,7 +456,7 @@ "CSSPositionTryRule" ], "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@position-try" diff --git a/css/definitions.json b/css/definitions.json index ec9abf719..4f5cc2c83 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -4,6 +4,7 @@ "Basic Selectors", "Combinators", "Compositing and Blending", + "CSS Anchor Positioning", "CSS Angles", "CSS Animations", "CSS Backgrounds and Borders", diff --git a/css/functions.json b/css/functions.json index 6509afacc..56a6f62e2 100644 --- a/css/functions.json +++ b/css/functions.json @@ -20,7 +20,7 @@ "anchor()": { "syntax": "anchor( ? && , ? )", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor" @@ -28,7 +28,7 @@ "anchor-size()": { "syntax": "anchor-size( [ || ]? , ? )", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor-size" diff --git a/css/properties.json b/css/properties.json index c1f2185e7..8920f598d 100644 --- a/css/properties.json +++ b/css/properties.json @@ -1743,7 +1743,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "none", "appliesto": "allElementsThatGenerateAPrincipalBox", @@ -1759,7 +1759,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "none", "appliesto": "allElements", @@ -8410,7 +8410,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "auto", "appliesto": "absolutelyPositionedElements", @@ -8426,7 +8426,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "none", "appliesto": "positionedElementsWithADefaultAnchorElement", @@ -8448,7 +8448,7 @@ "position-try-order" ], "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": [ "position-try-fallbacks", @@ -8470,7 +8470,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "none", "appliesto": "absolutelyPositionedElements", @@ -8486,7 +8486,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "normal", "appliesto": "absolutelyPositionedElements", @@ -8502,7 +8502,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Positioning" + "CSS Anchor Positioning" ], "initial": "anchors-visible", "appliesto": "absolutelyPositionedElements", From 4616b96db6303360d3624709d5f5bfb2f3e08de7 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 28 Jan 2025 22:38:19 +0800 Subject: [PATCH 15/38] chore(css): Fox group for CSS Display module features --- css/properties.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/properties.json b/css/properties.json index 8920f598d..f56379718 100644 --- a/css/properties.json +++ b/css/properties.json @@ -7587,7 +7587,7 @@ "animationType": "integer", "percentages": "no", "groups": [ - "CSS Flexible Box Layout" + "CSS Display" ], "initial": "0", "appliesto": "flexItemsGridItemsAbsolutelyPositionedContainerChildren", @@ -10653,7 +10653,8 @@ "animationType": "visibility", "percentages": "no", "groups": [ - "CSS Box Model" + "CSS Display", + "Scalable Vector Graphics" ], "initial": "visible", "appliesto": "allElements", From e110015e2d4bf106378f2a2c6fb9ccf51cc9799d Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Tue, 28 Jan 2025 22:22:28 +0800 Subject: [PATCH 16/38] chore(css): Fix group for css `env()` function --- css/definitions.json | 1 + css/functions.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/definitions.json b/css/definitions.json index 4f5cc2c83..fa573874d 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -20,6 +20,7 @@ "CSS Custom Properties for Cascading Variables", "CSS Device Adaptation", "CSS Display", + "CSS Environment Variables", "CSS Flexible Box Layout", "CSS Fonts", "CSS Fragmentation", diff --git a/css/functions.json b/css/functions.json index 56a6f62e2..a3b5c43a4 100644 --- a/css/functions.json +++ b/css/functions.json @@ -211,7 +211,7 @@ "env()": { "syntax": "env( , ? )", "groups": [ - "CSS Box Model" + "CSS Environment Variables" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/env" From 620041fc194c06ada104b10b47758e9717c6f81e Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 25 Jan 2025 13:36:16 +0800 Subject: [PATCH 17/38] Update status for page-break-* properties --- css/properties.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/properties.json b/css/properties.json index f56379718..92ea0e295 100644 --- a/css/properties.json +++ b/css/properties.json @@ -8214,7 +8214,7 @@ "appliesto": "blockElementsInNormalFlow", "computed": "asSpecified", "order": "uniqueOrder", - "status": "standard", + "status": "obsolete", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/page-break-after" }, "page-break-before": { @@ -8233,7 +8233,7 @@ "appliesto": "blockElementsInNormalFlow", "computed": "asSpecified", "order": "uniqueOrder", - "status": "standard", + "status": "obsolete", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/page-break-before" }, "page-break-inside": { @@ -8252,7 +8252,7 @@ "appliesto": "blockElementsInNormalFlow", "computed": "asSpecified", "order": "uniqueOrder", - "status": "standard", + "status": "obsolete", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/page-break-inside" }, "paint-order": { From 60987fe0c80a69c3bfe01ca04444c3331e68224a Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 25 Jan 2025 14:30:19 +0800 Subject: [PATCH 18/38] chore(css): Fix group key for `text-overflow` --- css/properties.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/properties.json b/css/properties.json index 92ea0e295..24fa3eaae 100644 --- a/css/properties.json +++ b/css/properties.json @@ -10053,7 +10053,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Basic User Interface" + "CSS Overflow" ], "initial": "clip", "appliesto": "blockContainerElements", From 8ec4d72806577022dd10feaede321992eabdbc9f Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Fri, 24 Jan 2025 00:29:11 +0800 Subject: [PATCH 19/38] chore(css): Update group for `@import` --- css/at-rules.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/css/at-rules.json b/css/at-rules.json index 86d444ce3..448aca722 100644 --- a/css/at-rules.json +++ b/css/at-rules.json @@ -334,8 +334,7 @@ "CSSImportRule" ], "groups": [ - "CSS Conditional Rules", - "Media Queries" + "CSS Cascading and Inheritance" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@import" From 34d22208e9679628ec2c28fbe96b762d1cd680b9 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Thu, 23 Jan 2025 00:57:17 +0800 Subject: [PATCH 20/38] feat(css): Update syntax for `an+b` type --- css/selectors.json | 8 ++++---- css/syntaxes.json | 30 +++++++++++++++++++++++++++--- css/types.json | 6 ------ 3 files changed, 31 insertions(+), 13 deletions(-) diff --git a/css/selectors.json b/css/selectors.json index 22bfe7bb9..e52393a88 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -496,7 +496,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:not" }, ":nth-child()": { - "syntax": ":nth-child( [ of ]? )", + "syntax": ":nth-child( [ of ]? )", "groups": [ "Pseudo-classes", "Selectors" @@ -505,7 +505,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:nth-child" }, ":nth-last-child()": { - "syntax": ":nth-last-child( [ of ]? )", + "syntax": ":nth-last-child( [ of ]? )", "groups": [ "Pseudo-classes", "Selectors" @@ -514,7 +514,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:nth-last-child" }, ":nth-last-of-type()": { - "syntax": ":nth-last-of-type( )", + "syntax": ":nth-last-of-type( )", "groups": [ "Pseudo-classes", "Selectors" @@ -523,7 +523,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:nth-last-of-type" }, ":nth-of-type()": { - "syntax": ":nth-of-type( )", + "syntax": ":nth-of-type( )", "groups": [ "Pseudo-classes", "Selectors" diff --git a/css/syntaxes.json b/css/syntaxes.json index 9ca8dfb8d..c0d44c3ff 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -11,6 +11,9 @@ "alpha-value": { "syntax": " | " }, + "an+b": { + "syntax": "odd | even | | | '+'?† n | -n | | '+'?† | | | '+'?† n | -n | | '+'?† n- | -n- | ['+' | '-'] | '+'?† n ['+' | '-'] | -n ['+' | '-'] " + }, "anchor()": { "syntax": "anchor( ? && , ? )" }, @@ -263,6 +266,9 @@ "dasharray": { "syntax": "[ [ | ]+ ]#" }, + "dashndashdigit-ident": { + "syntax": "" + }, "deprecated-system-color": { "syntax": "ActiveBorder | ActiveCaption | AppWorkspace | Background | ButtonHighlight | ButtonShadow | CaptionText | InactiveBorder | InactiveCaption | InactiveCaptionText | InfoBackground | InfoText | Menu | MenuText | Scrollbar | ThreeDDarkShadow | ThreeDFace | ThreeDHighlight | ThreeDLightShadow | ThreeDShadow | Window | WindowFrame | WindowText" }, @@ -422,6 +428,9 @@ "id-selector": { "syntax": "" }, + "integer": { + "syntax": "" + }, "image": { "syntax": " | | | | | | " }, @@ -587,6 +596,18 @@ "mod()": { "syntax": "mod( , )" }, + "n-dimension": { + "syntax": "" + }, + "ndash-dimension": { + "syntax": "" + }, + "ndashdigit-dimension": { + "syntax": "" + }, + "ndashdigit-ident": { + "syntax": "" + }, "name-repeat": { "syntax": "repeat( [ | auto-fill ], + )" }, @@ -599,9 +620,6 @@ "ns-prefix": { "syntax": "[ | '*' ]? '|'" }, - "nth": { - "syntax": " | even | odd" - }, "number-percentage": { "syntax": " | " }, @@ -845,6 +863,12 @@ "sign()": { "syntax": "sign( )" }, + "signed-integer": { + "syntax": "" + }, + "signless-integer": { + "syntax": "" + }, "sin()": { "syntax": "sin( )" }, diff --git a/css/types.json b/css/types.json index 3ce4260ae..1761ce8ab 100644 --- a/css/types.json +++ b/css/types.json @@ -1,10 +1,4 @@ { - "an-plus-b": { - "groups": [ - "Selectors" - ], - "status": "standard" - }, "angle": { "groups": [ "CSS Types" From 82c1f645cd7eafd2ccec1b3de738294fac50ea03 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 19 Jan 2025 19:15:49 +0800 Subject: [PATCH 21/38] feat(css): Add css `symbols()` function --- css/functions.json | 8 ++++++++ css/syntaxes.json | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/css/functions.json b/css/functions.json index a3b5c43a4..43c1371c7 100644 --- a/css/functions.json +++ b/css/functions.json @@ -734,6 +734,14 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sqrt" }, + "symbols()": { + "syntax": "symbols( ? [ | ]+ )", + "groups": [ + "CSS Counter Styles" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/symbols" + }, "tan()": { "syntax": "tan( )", "groups": [ diff --git a/css/syntaxes.json b/css/syntaxes.json index c0d44c3ff..c481c9699 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -941,6 +941,12 @@ "symbol": { "syntax": " | | " }, + "symbols()": { + "syntax": "symbols( ? [ | ]+ )" + }, + "symbols-type": { + "syntax": "cyclic | numeric | alphabetic | symbolic | fixed" + }, "system-color": { "syntax": "AccentColor | AccentColorText | ActiveText | ButtonBorder | ButtonFace | ButtonText | Canvas | CanvasText | Field | FieldText | GrayText | Highlight | HighlightText | LinkText | Mark | MarkText | SelectedItem | SelectedItemText | VisitedText" }, From dad86421f20dad732767b890e631752b14bb4eee Mon Sep 17 00:00:00 2001 From: Brian Smith Date: Mon, 3 Feb 2025 10:56:08 +0100 Subject: [PATCH 22/38] chore(ci): remove unused workflows --- .github/workflows/codeql.yml | 40 ------------------------------------ 1 file changed, 40 deletions(-) delete mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml deleted file mode 100644 index 85d151657..000000000 --- a/.github/workflows/codeql.yml +++ /dev/null @@ -1,40 +0,0 @@ -name: "CodeQL" - -on: - push: - branches: ["main"] - paths-ignore: - - "**.md" - pull_request: - # The branches below must be a subset of the branches above - branches: ["main"] - paths-ignore: - - "**.md" - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - permissions: - actions: read - contents: read - security-events: write - - strategy: - matrix: - language: ["javascript"] - - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@v3 - with: - languages: ${{ matrix.language }} - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 - with: - category: "/language:${{matrix.language}}" From f1c8abf0e8d7608ea70752fb04b796a8f0a3faf1 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 19 Jan 2025 15:41:29 +0800 Subject: [PATCH 23/38] Remove never used CSSOM View group --- css/definitions.json | 1 - 1 file changed, 1 deletion(-) diff --git a/css/definitions.json b/css/definitions.json index fa573874d..a798d2db1 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -63,7 +63,6 @@ "CSS View Transitions", "CSS Will Change", "CSS Writing Modes", - "CSSOM View", "Filter Effects", "Grouping Selectors", "MathML", From 451acf672fe4c31b64132276087dd177969d8fe6 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:02:39 +0800 Subject: [PATCH 24/38] chore(css): Remove cross-fade from Filter Effects group (#26) From 2955efbf4b7155f9a5353fc0a560637fda87549c Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:03:59 +0800 Subject: [PATCH 25/38] chore(css): Rename CSS Motion Path to Motion Path (#27) --- css/definitions.json | 1 + css/functions.json | 5 ++--- css/properties.json | 12 ++++++------ 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index a798d2db1..5938e0c1e 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -68,6 +68,7 @@ "MathML", "Media Queries", "Microsoft Extensions", + "Motion Path", "Mozilla Extensions", "Pointer Events", "Pseudo", diff --git a/css/functions.json b/css/functions.json index 43c1371c7..7da4c63dd 100644 --- a/css/functions.json +++ b/css/functions.json @@ -466,8 +466,7 @@ "path()": { "syntax": "path( <'fill-rule'>? , )", "groups": [ - "CSS Shapes", - "CSS Motion Path" + "CSS Shapes" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/basic-shape/path" @@ -508,7 +507,7 @@ "ray()": { "syntax": "ray( && ? && contain? && [at ]? )", "groups": [ - "CSS Motion Path" + "Motion Path" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/ray" diff --git a/css/properties.json b/css/properties.json index 24fa3eaae..cc1841229 100644 --- a/css/properties.json +++ b/css/properties.json @@ -7458,7 +7458,7 @@ "offset-anchor" ], "groups": [ - "CSS Motion Path" + "Motion Path" ], "initial": [ "offset-position", @@ -7487,7 +7487,7 @@ "animationType": "position", "percentages": "relativeToWidthAndHeight", "groups": [ - "CSS Motion Path" + "Motion Path" ], "initial": "auto", "appliesto": "transformableElements", @@ -7503,7 +7503,7 @@ "animationType": "lpc", "percentages": "referToTotalPathLength", "groups": [ - "CSS Motion Path" + "Motion Path" ], "initial": "0", "appliesto": "transformableElements", @@ -7519,7 +7519,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Motion Path" + "Motion Path" ], "initial": "none", "appliesto": "transformableElements", @@ -7536,7 +7536,7 @@ "animationType": "position", "percentages": "referToSizeOfContainingBlock", "groups": [ - "CSS Motion Path" + "Motion Path" ], "initial": "normal", "appliesto": "transformableElements", @@ -7552,7 +7552,7 @@ "animationType": "angleOrBasicShapeOrPath", "percentages": "no", "groups": [ - "CSS Motion Path" + "Motion Path" ], "initial": "auto", "appliesto": "transformableElements", From 746cf776f5cc3abc7c77c1cce44f5f50f6bdcd9a Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:05:26 +0800 Subject: [PATCH 26/38] feat(css): Update synatx for css `zoom` property (#28) --- css/properties.json | 10 +++++----- css/properties.schema.json | 2 ++ l10n/css.json | 6 ++++++ 3 files changed, 13 insertions(+), 5 deletions(-) diff --git a/css/properties.json b/css/properties.json index cc1841229..47977b715 100644 --- a/css/properties.json +++ b/css/properties.json @@ -10862,18 +10862,18 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/z-index" }, "zoom": { - "syntax": "normal | reset | | ", + "syntax": "normal | reset | || ", "media": "visual", "inherited": false, "animationType": "notAnimatable", - "percentages": "no", + "percentages": "convertedToNumber", "groups": [ "Microsoft Extensions" ], - "initial": "normal", + "initial": "1", "appliesto": "allElements", - "computed": "asSpecified", - "order": "uniqueOrder", + "computed": "asSpecifiedButWithPercentageConvertedToTheEquivalentNumber", + "order": "perGrammar", "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/zoom" } diff --git a/css/properties.schema.json b/css/properties.schema.json index 5a1d41a8a..341084b1e 100644 --- a/css/properties.schema.json +++ b/css/properties.schema.json @@ -47,6 +47,7 @@ "percentages": { "enum": [ "blockSizeOfContainingBlock", + "convertedToNumber", "dependsOnLayoutModel", "inlineSizeOfContainingBlock", "lengthsAsPercentages", @@ -126,6 +127,7 @@ "asSpecified", "asSpecifiedAppliesToEachProperty", "asSpecifiedButVisibleOrClipReplacedToAutoOrHiddenIfOtherValueDifferent", + "asSpecifiedButWithPercentageConvertedToTheEquivalentNumber", "asSpecifiedExceptMatchParent", "asSpecifiedExceptPositionedFloatingAndRootElementsKeywordMaybeDifferent", "asSpecifiedRelativeToAbsoluteLengths", diff --git a/l10n/css.json b/l10n/css.json index d7f374a0d..ef50cbdd2 100644 --- a/l10n/css.json +++ b/l10n/css.json @@ -431,6 +431,9 @@ "ca": "com s'especifica, excepte que si {{cssxref(\"overflow-x\")}} o bé {{cssxref(\"overflow-y\")}} són diferents de visible o clip, aquests dos valors computen a auto o hidden respectivament", "ja": "指定通り、ただし {{cssxref(\"overflow-x\")}} と {{cssxref(\"overflow-y\")}} のどちらかが visible でも clip でもない場合は、 visible/clip はそれぞれ auto/hidden と計算される" }, + "asSpecifiedButWithPercentageConvertedToTheEquivalentNumber": { + "en-US": "as specified, but with {{cssxref(\"<percentage>\")}} converted to the equivalent {{cssxref(\"<number>\")}}" + }, "asSpecifiedExceptMatchParent": { "de": "wie angegeben, außer für den match-parent Wert, welcher in Bezug auf den direction Wert des Elternelements berechnet wird und einen berechneten Wert von left oder right ergibt", "en-US": "as specified, except for the match-parent value which is calculated against its parent's direction value and results in a computed value of either left or right", @@ -682,6 +685,9 @@ "ja": "連続メディア", "ru": "продолжительный" }, + "convertedToNumber": { + "en-US": "Converted to {{cssxref(\"<number>\")}}" + }, "createsStackingContext": { "de": "Erstellt Stapelkontext", "en-US": "Creates stacking context", From fb88a194cb21b3ee410ad011b340ff7d591ab0ce Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:29:26 +0800 Subject: [PATCH 27/38] chore(css): Rename CSS Device Adaptation to CSS Viewport (#29) --- css/definitions.json | 2 +- css/properties.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 5938e0c1e..1e076de58 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -18,7 +18,6 @@ "CSS Containment", "CSS Counter Styles", "CSS Custom Properties for Cascading Variables", - "CSS Device Adaptation", "CSS Display", "CSS Environment Variables", "CSS Flexible Box Layout", @@ -61,6 +60,7 @@ "CSS Types", "CSS Units", "CSS View Transitions", + "CSS Viewport", "CSS Will Change", "CSS Writing Modes", "Filter Effects", diff --git a/css/properties.json b/css/properties.json index 47977b715..706f6c3be 100644 --- a/css/properties.json +++ b/css/properties.json @@ -10868,7 +10868,7 @@ "animationType": "notAnimatable", "percentages": "convertedToNumber", "groups": [ - "Microsoft Extensions" + "CSS Viewport" ], "initial": "1", "appliesto": "allElements", From 7e76340fe2d58bbfe2f699e6c8df98fe4636cfc2 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:30:36 +0800 Subject: [PATCH 28/38] style(css): fix feature order (#30) --- css/syntaxes.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/css/syntaxes.json b/css/syntaxes.json index c481c9699..7b5f3eac6 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -149,15 +149,15 @@ "color": { "syntax": " | currentColor | | | " }, + "color()": { + "syntax": "color( [from ]? [ / [ | none ] ]? )" + }, "color-base": { "syntax": " | | | | transparent" }, "color-function": { "syntax": " | | | | | | | | | " }, - "color()": { - "syntax": "color( [from ]? [ / [ | none ] ]? )" - }, "color-interpolation-method": { "syntax": "in [ | ? | ]" }, From 2962ec7fbaf7e0ecf0874f67b2aa24fe6c8386f9 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:34:15 +0800 Subject: [PATCH 29/38] feat(css): Update group value for CSS Lists and Counters group (#31) --- css/properties.json | 6 +++--- css/selectors.json | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/css/properties.json b/css/properties.json index 706f6c3be..a77d917c2 100644 --- a/css/properties.json +++ b/css/properties.json @@ -4499,7 +4499,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Counter Styles" + "CSS Lists and Counters" ], "initial": "none", "appliesto": "allElements", @@ -4515,7 +4515,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Counter Styles" + "CSS Lists and Counters" ], "initial": "none", "appliesto": "allElements", @@ -4531,7 +4531,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Counter Styles" + "CSS Lists and Counters" ], "initial": "none", "appliesto": "allElements", diff --git a/css/selectors.json b/css/selectors.json index e52393a88..ec07e720d 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -1117,7 +1117,8 @@ "syntax": "::marker", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS Lists and Counters" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::marker" From 25b0cab4824d3ed2da11c2c3da3f6b3292e5ca6a Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:35:10 +0800 Subject: [PATCH 30/38] feat(css): Update `filter-function-list` to `filter-value-list` (#32) --- css/properties.json | 4 ++-- css/syntaxes.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/properties.json b/css/properties.json index a77d917c2..e01f7cad3 100644 --- a/css/properties.json +++ b/css/properties.json @@ -2053,7 +2053,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/aspect-ratio" }, "backdrop-filter": { - "syntax": "none | ", + "syntax": "none | ", "media": "visual", "inherited": false, "animationType": "filterList", @@ -4737,7 +4737,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/fill-rule" }, "filter": { - "syntax": "none | ", + "syntax": "none | ", "media": "visual", "inherited": false, "animationType": "filterList", diff --git a/css/syntaxes.json b/css/syntaxes.json index 7b5f3eac6..95423d175 100644 --- a/css/syntaxes.json +++ b/css/syntaxes.json @@ -350,7 +350,7 @@ "filter-function": { "syntax": " | | | | | | | | | " }, - "filter-function-list": { + "filter-value-list": { "syntax": "[ | ]+" }, "final-bg-layer": { From 362d8c8c64433594ffa1c8e1896ac0db4f7a55df Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:36:14 +0800 Subject: [PATCH 31/38] feat(css): Update syntax for `text-transform:math-auto` (#33) * Update syntax for `text-transform:math-auto` * Update css/properties.json --- css/properties.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/css/properties.json b/css/properties.json index e01f7cad3..84bd440db 100644 --- a/css/properties.json +++ b/css/properties.json @@ -10135,13 +10135,14 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/text-spacing-trim" }, "text-transform": { - "syntax": "none | capitalize | uppercase | lowercase | full-width | full-size-kana", + "syntax": "none | [ capitalize | uppercase | lowercase ] || full-width || full-size-kana | math-auto", "media": "visual", "inherited": true, "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Text" + "CSS Text", + "MathML" ], "initial": "none", "appliesto": "allElements", From 3f357be700592de77b61ca1dd393596b126ce240 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:37:25 +0800 Subject: [PATCH 32/38] chore(css): Rename CSS Scrollbars to CSS Scrollbars Styling to match spec (#34) --- css/definitions.json | 2 +- css/properties.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index 1e076de58..c4d1300d1 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -45,8 +45,8 @@ "CSS Rhythmic Sizing", "CSS Ruby", "CSS Scroll Anchoring", - "CSS Scrollbars", "CSS Scroll Snap", + "CSS Scrollbars Styling", "CSS Shadow Parts", "CSS Shapes", "CSS Speech", diff --git a/css/properties.json b/css/properties.json index 84bd440db..66832a784 100644 --- a/css/properties.json +++ b/css/properties.json @@ -9334,7 +9334,7 @@ "animationType": "byComputedValueType", "percentages": "no", "groups": [ - "CSS Scrollbars" + "CSS Scrollbars Styling" ], "initial": "auto", "appliesto": "scrollingBoxes", @@ -9366,7 +9366,7 @@ "animationType": "discrete", "percentages": "no", "groups": [ - "CSS Scrollbars" + "CSS Scrollbars Styling" ], "initial": "auto", "appliesto": "scrollingBoxes", From 558001bab80e4a2e63047df7349e532abc8c5a28 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:43:57 +0800 Subject: [PATCH 33/38] Update group defnitions for CSS View Transitions (#35) --- css/selectors.json | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/css/selectors.json b/css/selectors.json index ec07e720d..25c8dbb32 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -129,7 +129,8 @@ "syntax": ":active-view-transition", "groups": [ "Pseudo-classes", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard" }, @@ -137,7 +138,8 @@ "syntax": ":active-view-transition-type( # )", "groups": [ "Pseudo-classes", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard" }, @@ -1181,7 +1183,8 @@ "syntax": "::view-transition", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::view-transition" @@ -1190,7 +1193,8 @@ "syntax": "::view-transition-group([ '*' | ])", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::view-transition-group" @@ -1199,7 +1203,8 @@ "syntax": "::view-transition-image-pair([ '*' | ])", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::view-transition-image-pair" @@ -1208,7 +1213,8 @@ "syntax": "::view-transition-new([ '*' | ])", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::view-transition-new" @@ -1217,7 +1223,8 @@ "syntax": "::view-transition-old([ '*' | ])", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS View Transitions" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::view-transition-old" From fbb8b0b2f8843a04fe1d2caaf37d087845fcb67a Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:45:44 +0800 Subject: [PATCH 34/38] feat(css): Add rest standard selectors (#36) --- css/selectors.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/css/selectors.json b/css/selectors.json index 25c8dbb32..0a6c7f3c8 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -44,6 +44,15 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Attribute_selectors" }, + "Nesting selector": { + "syntax": "A { &B { } }", + "groups": [ + "Basic Selectors", + "Selectors" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Nesting_selector" + }, "Selector list": { "syntax": ",", "groups": [ @@ -98,6 +107,15 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Column_combinator" }, + "Namespace separator": { + "syntax": "A | B", + "groups": [ + "Combinators", + "Selectors" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/Namespace_separator" + }, "Pseudo-classes": { "syntax": ":", "groups": [ From f4e1b8c32eb213206cb81ff1f663679ca170aee7 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:46:31 +0800 Subject: [PATCH 35/38] feat(css): Add CSS Shadow Parts group to `::part()` (#37) --- css/selectors.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/css/selectors.json b/css/selectors.json index 0a6c7f3c8..c78e54f3c 100644 --- a/css/selectors.json +++ b/css/selectors.json @@ -1147,7 +1147,8 @@ "syntax": "::part( + )", "groups": [ "Pseudo-elements", - "Selectors" + "Selectors", + "CSS Shadow Parts" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/::part" From e0949cbc70395c1f6292c0c9bcee196c6725236f Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:49:43 +0800 Subject: [PATCH 36/38] feat(css): Update for CSS Generated Content group (#38) --- css/definitions.json | 2 ++ css/functions.json | 14 +++++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/css/definitions.json b/css/definitions.json index c4d1300d1..57500bd2b 100644 --- a/css/definitions.json +++ b/css/definitions.json @@ -59,6 +59,8 @@ "CSS Transitions", "CSS Types", "CSS Units", + "CSS Values and Units", + "CSS Variables", "CSS View Transitions", "CSS Viewport", "CSS Will Change", diff --git a/css/functions.json b/css/functions.json index 7da4c63dd..08a56009f 100644 --- a/css/functions.json +++ b/css/functions.json @@ -63,7 +63,7 @@ "attr()": { "syntax": "attr( ? [, ]? )", "groups": [ - "CSS Generated Content" + "CSS Values and Units" ], "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/attr" @@ -344,7 +344,7 @@ "groups": [ "CSS Generated Content" ], - "status": "standard" + "status": "experimental" }, "light-dark()": { "syntax": "light-dark( , )", @@ -753,23 +753,23 @@ "target-counter()": { "syntax": "target-counter( [ | ] , , ? )", "groups": [ - "CSS Lists and Counters" + "CSS Generated Content" ], - "status": "nonstandard" + "status": "experimental" }, "target-counters()": { "syntax": "target-counters( [ | ] , , , ? )", "groups": [ - "CSS Lists and Counters" + "CSS Generated Content" ], - "status": "nonstandard" + "status": "experimental" }, "target-text()": { "syntax": "target-text( [ | ] , [ content | before | after | first-letter ]? )", "groups": [ "CSS Generated Content" ], - "status": "standard" + "status": "experimental" }, "translate()": { "syntax": "translate( , ? )", From c18fd9d0acf3f59b610590768b960d80a8d3e772 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:51:15 +0800 Subject: [PATCH 37/38] chore(css): Update group of CSS Cascading and Inheritance (#39) From 309db273adf0520398c2c0105f37da67d8667e8f Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 22 Feb 2025 01:53:52 +0800 Subject: [PATCH 38/38] Apply suggestions from code review --- css/units.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/units.json b/css/units.json index 537acb854..7796d4bf9 100644 --- a/css/units.json +++ b/css/units.json @@ -56,7 +56,7 @@ "fr": { "groups": [ "CSS Values and Units", - "CSS Flexible Lengths", + "CSS Flexible Box Layout", "CSS Grid Layout" ], "status": "standard"