Skip to content

add(foundations): CSS anchor positioning page#54

Draft
jdevalk wants to merge 2 commits into
mainfrom
standards-scan/anchor-positioning-2026-06-24
Draft

add(foundations): CSS anchor positioning page#54
jdevalk wants to merge 2 commits into
mainfrom
standards-scan/anchor-positioning-2026-06-24

Conversation

@jdevalk

@jdevalk jdevalk commented Jun 24, 2026

Copy link
Copy Markdown
Owner

What

New spec page: CSS anchor positioning under foundations.

Documents the anchor-name / position-anchor / position-area mechanism — tethering tooltips, menus, and popovers to their trigger element with pure CSS, across overflow/z-index/transform boundaries, with @position-try viewport-aware fallbacks. Replaces JS positioning libraries (Popper / Floating UI).

Why now

CSS anchor positioning reached Baseline "newly available" in January 2026 (Chrome, Safari 18.2+, Firefox) — the freshest web-platform feature in today's scan. We already reference it in passing on the Popover API page but had no standalone topic. It's the natural positioning companion to our existing popover-api / view-transitions / scroll-driven-animations "modern platform feature" pages.

Primary source

  • CSS Anchor Positioning Module Level 1 — W3C CSS Working Group (leads the citation). MDN (canonical /Guides/Anchor_positioning/Using URL + anchor-name) and Chrome for Developers for context.

Status

recommended — a progressive enhancement (gated behind @supports, with a static fallback), not a platform requirement. The page is explicit that you keep a usable fallback until support is universal, per the status discipline ("required only if the platform breaks without it").

Changes

  • src/content/spec/foundations/anchor-positioning.md (new, ~480 words, canonical sections, British English)
  • relatedSlugs wired reciprocally into popover-api
  • Changelog added entry (2026-06-24-anchor-positioning.md)
  • OG images regenerated (new per-page image + count-driven og-default / checklist / spec / foundations category)

Verification

npm run build passes (149 pages indexed). npm run lint 0 errors (1 pre-existing warning, unrelated file). npm run format:check clean.

Opened as a draft for maintainer review — not for auto-merge.

🤖 Generated with Claude Code

New spec page documenting CSS anchor positioning (anchor-name /
position-anchor / position-area, CSS Anchor Positioning Module Level 1).
Baseline newly available since early 2026; pairs with the Popover API for
tethering tooltips, menus, and popovers to their trigger with no JS.

- Adds src/content/spec/foundations/anchor-positioning.md (status: recommended)
- Wires anchor-positioning into popover-api relatedSlugs
- Changelog "added" entry, OG images regenerated

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 24, 2026

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6e1f8c2
Status: ✅  Deploy successful!
Preview URL: https://09eb41cd.specification-website.pages.dev
Branch Preview URL: https://standards-scan-anchor-positi.specification-website.pages.dev

View logs

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant