Skip to content

Supports :target-before/after/current pseudo-class#1185

Open
yisibl wants to merge 2 commits intoparcel-bundler:masterfrom
yisibl:add-target-pseudo-class
Open

Supports :target-before/after/current pseudo-class#1185
yisibl wants to merge 2 commits intoparcel-bundler:masterfrom
yisibl:add-target-pseudo-class

Conversation

@devongovett
Copy link
Copy Markdown
Member

devongovett commented Mar 16, 2026

Should this be behind a flag or something? My understanding is that this spec is still in early draft/prototype stage, only supported in Chrome, and both WebKit and Firefox have concerns with it (W3C TAG too). Seems early to treat as standard. The current state isn't the worst because it's just a warning, but I suppose we could add a draft flag. wdyt?

@yisibl
Copy link
Copy Markdown
Contributor Author

yisibl commented Mar 16, 2026

I think that's fine.

The new features added in css-overflow-5 are currently only implemented in Chrome, so they can be controlled via flags for now.
https://drafts.csswg.org/css-overflow-5/#scroll-navigation
@yisibl
Copy link
Copy Markdown
Contributor Author

yisibl commented Mar 17, 2026

@devongovett Add scroll_navigation_controls flag in e200dd5

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.

'target-current' is not recognized as a valid pseudo-class

2 participants