Skip to content

Make CSS attr types definition list items#40418

Merged
dipikabh merged 1 commit intomdn:mainfrom
hamishwillee:css_attr_type
Jul 18, 2025
Merged

Make CSS attr types definition list items#40418
dipikabh merged 1 commit intomdn:mainfrom
hamishwillee:css_attr_type

Conversation

@hamishwillee
Copy link
Copy Markdown
Collaborator

This makes the options of https://developer.mozilla.org/en-US/docs/Web/CSS/attr#attr-type into definition list items.
This allows them to be linked, including from BCD, and is IMO always good practice

Related to discussion in mdn/browser-compat-data#26624 (review)

@hamishwillee hamishwillee requested a review from a team as a code owner July 18, 2025 00:18
@hamishwillee hamishwillee requested review from estelle and removed request for a team July 18, 2025 00:18
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs size/m [PR only] 51-500 LoC changed labels Jul 18, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Preview URLs

Flaws (4)

URL: /en-US/docs/Web/CSS/attr
Title: attr()
Flaw count: 4

  • broken_links:
    • Can't resolve /en-US/docs/Web/CSS/declaration-value
    • Can't resolve /en-US/docs/Web/CSS/ident-token
    • Can't resolve /en-US/docs/Web/CSS/ident-token
    • Can't resolve /en-US/docs/Web/CSS/attr-unit

Copy link
Copy Markdown
Contributor

@dipikabh dipikabh left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot!

@dipikabh dipikabh merged commit db98052 into mdn:main Jul 18, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants