[css-conditional] @container scroll-state(snapped) and snapchanged vs snapchanging · Issue #10784 · w3c/csswg-drafts (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

@lilles

Description

@lilles

There are a few options for when the snap target changes for scroll-state(snapped: ...) queries

  1. Matches same target as the snapchanged event
  2. Matches same target as the snapchanging event
  3. Introduce two different snapped feature names, one for each of (1) and (2)

If we only have a single feature, I assume (2) would be the preferred behavior?

If we decide to have two features, what should their names be? snapped and snapping?