Skip to content

Single-axis scroll containers #1418

Open

Description

@freedebreuil

Specification title

Single-axis scroll containers

Specification or proposal URL (if available)

w3c/csswg-drafts#13903

Explainer URL (if available)

https://github.com/explainers-by-googlers/single-axis-scroll-containers

Proposal author(s)

@freedebreuil @flackr

web-feature id

overflow

MDN URL

No response

Caniuse.com URL

No response

Bugzilla URL

No response

Mozillians who can provide input

No response

WebKit standards-position

WebKit/standards-positions#680

Other information

This proposal extends the functionality of the overflow property to support usage of scrollable values with clip (for example, overflow: scroll clip). This, among other things, affects the behavior of an element with position: sticky, and gives authors a way to ensure an axis using overflow: clip stays in place.

Activity

  1. moved this from Unscreened to Needs proposed position in standards-positions reviewon Jun 8, 2026
  2. added
    venue: W3C
    on Jun 8, 2026
  3. smaug---- commented on Jun 8, 2026

    @smaug----
    Collaborator

    How does this play with touch-action?

  4. freedebreuil commented on Jun 17, 2026

    @freedebreuil
    Author

    How does this play with touch-action?

    Thanks, good point. I think the right model is that scroll containers are now per-axis. For touch-action, the “nearest scroll container” lookup should be per-axis too: a horizontal-only scroller should be the stopping point for horizontal panning, but not for vertical panning.

    In the non-scrollable value / clipped axis, the element should be transparent when finding the relevant scroller. So this possibly needs a small Pointer Events clarification and tests.

  5. emilio commented on Nov 9, 2026

    @emilio
    Collaborator

    In terms of layout, is it well defined what happens for a single-axis scroll container for things like baseline alignment? I guess we only adjust baselines if you're scrollable in the block axis?

    The complexity here seems quite high and it seems it could be rather confusing for authors... Though maybe that's just temporary thing. But I get the use case. I wonder if @theres-waldo has thoughts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

topic: CSSvenue: W3C

Type

No type

Fields

Priority

None yet

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions