Skip to content

Technical review: Document anchored container queries#42710

Open
chrisdavidmills wants to merge 5 commits intomdn:mainfrom
chrisdavidmills:anchored-container-queries
Open

Technical review: Document anchored container queries#42710
chrisdavidmills wants to merge 5 commits intomdn:mainfrom
chrisdavidmills:anchored-container-queries

Conversation

@chrisdavidmills
Copy link
Contributor

Description

Chrome 143 adds support for anchored container queries: see https://chromestatus.com/feature/5177580990496768. Also see https://developer.chrome.com/blog/anchored-container-queries for Chrome's blog post coverage.

This PR:

  • Adds a guide to explain anchored container queries. Note that this is added underneath the CSS anchor positioning module page rather than containment, as that is where it is specced.
  • Adds details of anchored container query syntax to the container-type and @container reference pages.
  • Links to the guide and otherwise mentions the feature in appropriate places. (I may have missed some; let me know if you spot any other places where this should be mentioned).

Motivation

Additional details

Related issues and pull requests

@chrisdavidmills chrisdavidmills requested review from a team as code owners January 9, 2026 14:58
@chrisdavidmills chrisdavidmills requested review from estelle and pepelsbey and removed request for a team January 9, 2026 14:58
@github-actions github-actions bot added the Content:CSS Cascading Style Sheets docs label Jan 9, 2026
@chrisdavidmills chrisdavidmills changed the title Document anchored container queries Technical review: Document anchored container queries Jan 9, 2026
@github-actions github-actions bot added the size/l [PR only] 501-1000 LoC changed label Jan 9, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

Preview URLs (7 pages)
Flaws (14)

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

Found an unexpected or unresolvable flaw? Please report it here.

URL: /en-US/docs/Web/CSS/Guides/Conditional_rules
Title: CSS conditional rules
Flaw count: 1

  • macros:
    • Macro cssxref produces link /en-US/docs/Web/CSS/at-rule which is a redirect

URL: /en-US/docs/Web/CSS/Reference/At-rules/@container
Title: @container
Flaw count: 13

  • broken_links:
    • Link /en-US/docs/Web/CSS/block-contents doesn't resolve
    • Link /en-US/docs/Web/CSS/custom-ident is a redirect
    • Link /en-US/docs/Web/CSS/size-feature doesn't resolve
    • Link /en-US/docs/Web/CSS/scroll-state-feature doesn't resolve
    • Link /en-US/docs/Web/CSS/function-token doesn't resolve
    • and 8 more flaws omitted
External URLs (2)

URL: /en-US/docs/Web/CSS/Reference/At-rules/@container
Title: @container


URL: /en-US/docs/Web/CSS/Reference/Properties/container-type
Title: container-type

(comment last updated: 2026-03-10 16:11:36)

@pepelsbey
Copy link
Member

Hey! Is it work in progress or is it ready for review? :)

@chrisdavidmills
Copy link
Contributor Author

Hey! Is it work in progress or is it ready for review? :)

This is still waiting for a tech review. @una, do you have time to review this, or is there someone else we could get to look at it?

@github-actions github-actions bot added the merge conflicts 🚧 [PR only] label Mar 10, 2026
@github-actions
Copy link
Contributor

This pull request has merge conflicts that must be resolved before it can be merged.

@chrisdavidmills chrisdavidmills requested a review from a team as a code owner March 10, 2026 16:07
@chrisdavidmills chrisdavidmills requested review from hamishwillee and removed request for a team March 10, 2026 16:07
@github-actions github-actions bot removed the merge conflicts 🚧 [PR only] label Mar 10, 2026
@hamishwillee
Copy link
Collaborator

@chrisdavidmills Happy to review this if @estelle doesn't have bandwidth, but not until next week.

@chrisdavidmills
Copy link
Contributor Author

@chrisdavidmills Happy to review this if @estelle doesn't have bandwidth, but not until next week.

I was waiting to see if Google could find a tech reviewer for this PR, but I reckon we should just get on with the editorial review stage if no one steps up by next week. Happy for either of you to do it.

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/l [PR only] 501-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants