8000 [css-scroll-snap] What is (are) the desirable behavior(s) on re-snapping where the last snap point is on an element larger than the snapport · Issue #7438 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-scroll-snap] What is (are) the desirable behavior(s) on re-snapping where the last snap point is on an element larger than the snapport #7438

@hiikezoe

Description

@hiikezoe

There are a couple of interesting cases I can think of;

  1. the element is no longer larger than the snapport
  2. the element is still larger than the snapport but the size was changed (got smaller or larger)

In the case of 1), re-snapping should snap to the point specified by scroll-snap-align?

In the case of 2), re-snapping should snap to the same position, say the element size was 300px and snapped to at 100px, and now the size is 200px, re-snapping to at 100px? Or to the same proportional position? I mean, snapping to 200/300px?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0