Skip to content

Firefox 149 adds CSS attr(type(<x>)) behind pref#29186

Merged
caugner merged 2 commits intomdn:mainfrom
dletorey:42742-type-syntax
Mar 13, 2026
Merged

Firefox 149 adds CSS attr(type(<x>)) behind pref#29186
caugner merged 2 commits intomdn:mainfrom
dletorey:42742-type-syntax

Conversation

@dletorey
Copy link
Copy Markdown
Contributor

@dletorey dletorey commented Mar 4, 2026

Summary

  • Added firefox support (with flag) for attr(x type(<types>))
  • Removed browser support attr(x type(<url>)) as it is not supported in any browser

Test results and supporting details

  • Tested all the attr(x type(<types>)) using the the CodePens in this collection in the following Firefox Browsers with the layout.css.attr.enabled flag:
    • Firefox Beta 149.0b3 (aarch64)
    • Firefox Nightly 150.0a1 (2026-03-02)
  • Tested the attr(x type(<url>)) with this Codepen in these browsers and all failed:
    • Chrome 145.0.7632.160
    • Edge 145.0.3800.82
    • Safari 26.2 (20623.1.14.18.4)
    • Firefox Beta 149.0b3 (aarch64) (with flag)
    • Firefox Nightly 150.0a1 (2026-03-02) (with flag)

Related issues

@github-actions github-actions bot added the data:css Compat data for CSS features. https://developer.mozilla.org/docs/Web/CSS label Mar 4, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 4, 2026

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

@Elchi3
Copy link
Copy Markdown
Member

Elchi3 commented Mar 5, 2026

If you have time until next week, then I think this would be a good PR for @caugner to take a look at. Some context in #26624

@Elchi3 Elchi3 requested a review from caugner March 5, 2026 11:22
@caugner caugner changed the title added firefox support with flag for attr(type(<x>)) Firefox 149 adds CSS attr(type(<x>)) behind pref Mar 13, 2026
@caugner caugner merged commit f2eb613 into mdn:main Mar 13, 2026
9 checks passed
@dletorey dletorey deleted the 42742-type-syntax branch March 18, 2026 11:08
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:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants