Skip to content

Conversation

@dipikabh
Copy link
Contributor

@dipikabh dipikabh commented Dec 15, 2025

Description

Continuing on from #42346, this PR replaces links in files/en-us/web/html with the macro:

  • Selector links: /en-US/docs/Web/CSS/Reference/Selectors/{{cssxref(":selector")}} and {{cssxref("::selector")}}

  • At-rule links: /en-US/docs/Web/CSS/Reference/At-rules/{{cssxref("@at-rule")}}

  • Value links: /en-US/docs/Web/CSS/Reference/Values/{{cssxref("keyword")}}, {{cssxref("function()")}}, and {{cssxref("data-type")}}

    • Because of special treatment of Web/CSS/Reference/Values/Color_value, {{cssxref("color_value", "<color>")}} has been replaced with {{cssxref("<color>")}}.

See "Additional details" and "Motivation" in #42346 for more context.

Related issues and pull requests

Search: \[`([^`]+?)`\]\(/en-US/docs/Web/CSS/Reference/Selectors/\1\)
Replace: {{cssxref("$1")}}
Search: \[`([^`]+)`\]\(/en-US/docs/Web/CSS/Reference/At-rules/(@media/[^)]+)\)
Replace: {{cssxref("$2")}}
Search: \[`([^`]+)`\]\(/en-US/docs/Web/CSS/Reference/Values/([^)]+)\)
Replace: {{cssxref("$1")}}
Search: \[`([^`]+)`\]\(/en-US/docs/Web/CSS/Reference/Values/(color_value/[^)]+)\)
Replace: {{cssxref("$2", "$1")}}
@dipikabh dipikabh requested a review from a team as a code owner December 15, 2025 17:05
@dipikabh dipikabh requested review from hamishwillee and removed request for a team December 15, 2025 17:05
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs size/m [PR only] 51-500 LoC changed labels Dec 15, 2025
@github-actions
Copy link
Contributor

Preview URLs (22 pages)
Flaws (3)

Note! 19 documents with no flaws that don't need to be listed. 🎉

URL: /en-US/docs/Web/HTML/Reference/Elements/td
Title: <td>: The Table Data Cell element
Flaw count: 1

  • unknown:
    • Error opening /shared-assets/images/diagrams/html/table/column-row-span.png: No such file or directory (os error 2)

URL: /en-US/docs/Web/HTML/Reference/Elements/th
Title: <th>: The Table Header element
Flaw count: 1

  • unknown:
    • Error opening /shared-assets/images/diagrams/html/table/column-row-span.png: No such file or directory (os error 2)

URL: /en-US/docs/Web/HTML/Reference/Elements/thead
Title: <thead>: The Table Head element
Flaw count: 1

  • unknown:
    • Error opening /shared-assets/images/diagrams/html/table/column-row-span.png: No such file or directory (os error 2)

Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants