Skip to content

Conversation

dletorey
Copy link
Contributor

Summary

  • Added the mdn_url for:
    • :heading
    • :heading()

Related issues

@github-actions github-actions bot added data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:xs [PR only] 0-6 LoC changed labels Aug 19, 2025
Copy link
Contributor

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@@ -4,6 +4,7 @@
"headingfunction": {
"__compat": {
"description": "`:heading()`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:heading",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The correct page should be https://developer.mozilla.org/en-US/docs/Web/CSS/:heading_function, and that one has no BCD table yet, and therefore no BCD frontmatter.

@@ -4,6 +4,7 @@
"heading": {
"__compat": {
"description": "`:heading`",
"mdn_url": "https://developer.mozilla.org/docs/Web/CSS/:heading",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Meanwhile added by #27618.

@caugner
Copy link
Contributor

caugner commented Aug 19, 2025

@dletorey Please note that we have automation that adds mdn_urls when the MDN page references BCD key, so manually adding mdn_urls is generally discouraged. (We should maybe make this explicit somewhere in the README or docs.)

Once you add BCD frontmatter to the :heading_function page, it will automatically be added to BCD data within the next day or so. 😉

So I'm going to close this PR.

@caugner caugner closed this Aug 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS size:xs [PR only] 0-6 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants