From 762a0b62791770b1747ddcf8dcadff7de031c30c Mon Sep 17 00:00:00 2001 From: skyclouds2001 <95597335+skyclouds2001@users.noreply.github.com> Date: Sun, 5 Jan 2025 20:26:08 +0800 Subject: [PATCH] style(css): update feature order (#845) --- css/at-rules.json | 40 ++++++++++++++++++++-------------------- css/functions.json | 34 +++++++++++++++++----------------- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git a/css/at-rules.json b/css/at-rules.json index 6204ef19..66ed610e 100644 --- a/css/at-rules.json +++ b/css/at-rules.json @@ -191,16 +191,6 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-feature-settings" }, - "font-variation-settings": { - "syntax": "normal | [ ]#", - "media": "all", - "initial": "normal", - "percentages": "no", - "computed": "asSpecified", - "order": "orderOfAppearance", - "status": "standard", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-variation-settings" - }, "font-stretch": { "syntax": "{1,2}", "media": "all", @@ -221,6 +211,16 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-style" }, + "font-variation-settings": { + "syntax": "normal | [ ]#", + "media": "all", + "initial": "normal", + "percentages": "no", + "computed": "asSpecified", + "order": "orderOfAppearance", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@font-face/font-variation-settings" + }, "font-weight": { "syntax": "{1,2}", "media": "all", @@ -466,16 +466,6 @@ "CSS Houdini" ], "descriptors": { - "syntax": { - "syntax": "", - "media": "all", - "percentages": "no", - "initial": "n/a (required)", - "computed": "asSpecified", - "order": "uniqueOrder", - "status": "standard", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/syntax" - }, "inherits": { "syntax": "true | false", "media": "all", @@ -495,6 +485,16 @@ "order": "uniqueOrder", "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/initial-value" + }, + "syntax": { + "syntax": "", + "media": "all", + "percentages": "no", + "initial": "n/a (required)", + "computed": "asSpecified", + "order": "uniqueOrder", + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/@property/syntax" } }, "status": "standard", diff --git a/css/functions.json b/css/functions.json index 94cba2c5..2c3507dd 100644 --- a/css/functions.json +++ b/css/functions.json @@ -255,6 +255,14 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/filter-function/hue-rotate" }, + "hwb()": { + "syntax": "hwb( [ | none] [ | none] [ | none] [ / [ | none] ]? )", + "groups": [ + "CSS Color" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hwb" + }, "hypot()": { "syntax": "hypot( # )", "groups": [ @@ -264,14 +272,6 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/hypot" }, - "hwb()": { - "syntax": "hwb( [ | none] [ | none] [ | none] [ / [ | none] ]? )", - "groups": [ - "CSS Color" - ], - "status": "standard", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/color_value/hwb" - }, "image()": { "syntax": "image( ? [ ? , ? ]! )", "groups": [ @@ -724,6 +724,15 @@ "status": "standard", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/sqrt" }, + "tan()": { + "syntax": "tan( )", + "groups": [ + "CSS Units", + "CSS Lengths" + ], + "status": "standard", + "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/tan" + }, "target-counter()": { "syntax": "target-counter( [ | ] , , ? )", "groups": [ @@ -745,15 +754,6 @@ ], "status": "nonstandard" }, - "tan()": { - "syntax": "tan( )", - "groups": [ - "CSS Units", - "CSS Lengths" - ], - "status": "standard", - "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/tan" - }, "translate()": { "syntax": "translate( , ? )", "groups": [