[css-conditional] @container scroll-state(snapped) and snapchanged vs snapchanging (original) (raw)

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?