From 01616e76d3ac408a64321a4b6ac37092792c6fbc Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Mon, 7 Oct 2024 00:32:28 +0800 Subject: [PATCH 1/2] update --- css/functions.json | 2 +- css/properties.json | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/css/functions.json b/css/functions.json index 3ec057513..e42984bf1 100644 --- a/css/functions.json +++ b/css/functions.json @@ -8,7 +8,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor" }, "anchor-size()": { - "syntax": "anchor-size( ? , ? )", + "syntax": "anchor-size( [ || ]?, ? )", "groups": [ "CSS Positioning" ], diff --git a/css/properties.json b/css/properties.json index b3661913d..bb0333c74 100644 --- a/css/properties.json +++ b/css/properties.json @@ -8420,7 +8420,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position" }, "position-anchor": { - "syntax": "", + "syntax": "auto | ", "media": "visual", "inherited": false, "animationType": "discrete", @@ -8428,7 +8428,7 @@ "groups": [ "CSS Positioning" ], - "initial": "implicit", + "initial": "auto", "appliesto": "absolutelyPositionedElements", "computed": "asSpecified", "order": "perGrammar", @@ -8443,7 +8443,10 @@ "position-try-fallbacks", "position-try-order" ], - "percentages": "no", + "percentages": [ + "position-try-fallbacks", + "position-try-order" + ], "groups": [ "CSS Positioning" ], From 57767ce51e683317db4fd85f357948c4dbaac9f2 Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sat, 19 Oct 2024 07:00:50 +0800 Subject: [PATCH 2/2] update name --- css/functions.json | 4 ++-- css/properties.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/css/functions.json b/css/functions.json index e42984bf1..09c9ce309 100644 --- a/css/functions.json +++ b/css/functions.json @@ -1,6 +1,6 @@ { "anchor()": { - "syntax": "anchor( ? , ? )", + "syntax": "anchor( ? && , ? )", "groups": [ "CSS Positioning" ], @@ -8,7 +8,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/anchor" }, "anchor-size()": { - "syntax": "anchor-size( [ || ]?, ? )", + "syntax": "anchor-size( [ || ]? , ? )", "groups": [ "CSS Positioning" ], diff --git a/css/properties.json b/css/properties.json index bb0333c74..2afa596d6 100644 --- a/css/properties.json +++ b/css/properties.json @@ -8420,7 +8420,7 @@ "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/position" }, "position-anchor": { - "syntax": "auto | ", + "syntax": "auto | ", "media": "visual", "inherited": false, "animationType": "discrete",