w3c / w3c/csswg-drafts

[css-scroll-snap] Clarify what the expected animation behavior on scroll-margin and scroll-padding

Open
#8,445 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-scroll-snap-1
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Those properties are defined as animatable by computed value, but its outcome is unclear to me. Given that these properties don't change layout, browsers don't need to re-snap? I am asking because there's an interesting bug report, https://bugzilla.mozilla.org/show_bug.cgi?id=1816003 .

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the CSS Scroll Snap definitions for scroll-margin, scroll-padding, computed-value animation, and re-snapping behavior. Compare the specification with the linked Bugzilla 1816003 report. Done means the expected animation and re-snapping behavior is clearly resolved in the specification.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
documentation
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.