Skip to content

Commit 90bc67c

Browse files
authored
feat(css): alsoAppliesTo data for bg-pos-x/bg-pos-y (#707)
<!-- 🙌 Thanks for contributing! Adding details below will help us to merge your PR faster. --> <!-- Commits need to adhere to conventional commits and only `fix:` and `feat:` commits are added to the release notes. --> <!-- https://www.conventionalcommits.org/en/v1.0.0/#examples --> ### 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 <!-- 🔗 Link to documentation, bug trackers, source control, or other places providing more context --> ### Related issues and pull requests <!-- 🔨 If this fully resolves a GitHub issue, use "Fixes #123" --> <!-- 👉 Highlight related pull requests using "Relates to #123" --> <!-- ❗ If another pull request should be merged first, use "**Depends on:** #123" -->
1 parent 488b6e4 commit 90bc67c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

css/properties.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2329,6 +2329,11 @@
23292329
"appliesto": "allElements",
23302330
"computed": "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin",
23312331
"order": "uniqueOrder",
2332+
"alsoAppliesTo": [
2333+
"::first-letter",
2334+
"::first-line",
2335+
"::placeholder"
2336+
],
23322337
"status": "experimental",
23332338
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-position-x"
23342339
},
@@ -2345,6 +2350,11 @@
23452350
"appliesto": "allElements",
23462351
"computed": "listEachItemConsistingOfAbsoluteLengthPercentageAndOrigin",
23472352
"order": "uniqueOrder",
2353+
"alsoAppliesTo": [
2354+
"::first-letter",
2355+
"::first-line",
2356+
"::placeholder"
2357+
],
23482358
"status": "experimental",
23492359
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/background-position-y"
23502360
},

0 commit comments

Comments
 (0)