From 90bc67ca14d8c428460bf34db12aae66a8f38580 Mon Sep 17 00:00:00 2001 From: Frank Dana Date: Tue, 23 Jan 2024 04:37:44 -0500 Subject: [PATCH] feat(css): alsoAppliesTo data for bg-pos-x/bg-pos-y (#707) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### Description Copy the `alsoAppliesTo` data from `background-position` to `background-position-x` and `background-position-y`, an obvious derivation from the shorthand property. ### Motivation Provide more complete/detailed "Formal definition" data for MDN CSS property reference. ### Additional details ### Related issues and pull requests --- css/properties.json | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/css/properties.json b/css/properties.json index 5d6c8902..ded412a8 100644 --- a/css/properties.json +++ b/css/properties.json @@ -2329,6 +2329,11 @@ "appliesto": "allElements", "computed": "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin", "order": "uniqueOrder", + "alsoAppliesTo": [ + "::first-letter", + "::first-line", + "::placeholder" + ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-position-x" }, @@ -2345,6 +2350,11 @@ "appliesto": "allElements", "computed": "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin", "order": "uniqueOrder", + "alsoAppliesTo": [ + "::first-letter", + "::first-line", + "::placeholder" + ], "status": "experimental", "mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-position-y" },