mdn / mdn/browser-compat-data

css.at-rules.container - Container Queries `style()` support not tracked

Open
#22,213 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

data:css
Dominant language
JSON
Stars
5.8k
Forks
2.6k
Avg merge
1d 21h
Merged PRs (30d)
186

Description

What type of issue is this?

Missing compatibility data

What information was incorrect, unhelpful, or incomplete?

https://developer.mozilla.org/en-US/docs/Web/CSS/@container#browser_compatibility has compat data for "Style queries for custom properties" but not for container style queries overall.

What browsers does this problem apply to, if applicable?

No response

What did you expect to see?

Some way to know that container style queries aren't supported for regular CSS properties. https://caniuse.com/css-container-queries-style makes this clear by treating it as partial implementation.

Did you test this? If so, how?

Nope.

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

ChromeStatus entries for support so far:
https://chromestatus.com/feature/5076875399921664
https://chromestatus.com/feature/6332337266098176

Do you have anything more you want to share?

It's not a given that container style queries will be supported on all CSS properties any time soon, or ever. We don't want to say "partial implementation" forever, since that would discourage use of the parts that actually do work.

cc @ddbeck

MDN URL

No response

MDN metadata

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the MDN @container browser compatibility section and compare its existing “Style queries for custom properties” data with the linked ChromeStatus entries. The work is done when compatibility data distinguishes support for style queries on custom properties from support for regular CSS properties, including partial implementation where appropriate.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
data, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.