add(foundations): CSS anchor positioning page#54
Draft
jdevalk wants to merge 2 commits into
Draft
Conversation
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>
Deploying specification-website with
|
| 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 |
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
New spec page: CSS anchor positioning under
foundations.Documents the
anchor-name/position-anchor/position-areamechanism — tethering tooltips, menus, and popovers to their trigger element with pure CSS, acrossoverflow/z-index/transformboundaries, with@position-tryviewport-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
/Guides/Anchor_positioning/UsingURL +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 ("requiredonly if the platform breaks without it").Changes
src/content/spec/foundations/anchor-positioning.md(new, ~480 words, canonical sections, British English)relatedSlugswired reciprocally intopopover-apiaddedentry (2026-06-24-anchor-positioning.md)og-default/checklist/spec/foundationscategory)Verification
npm run buildpasses (149 pages indexed).npm run lint0 errors (1 pre-existing warning, unrelated file).npm run format:checkclean.Opened as a draft for maintainer review — not for auto-merge.
🤖 Generated with Claude Code