Re: [csswg-drafts] [css-view-transitions-2] Ignore offscreen elements from participating in transitions (#8282)

> * Another reason I like `view-transition-visibility` is that this feels conceptually similar [`position-visibility`](https://drafts.csswg.org/css-anchor-position-1/#position-visibility). Specify how view transition name should behave based on the visibility of the element. So would become a consistent pattern for authors to understand.

+1 on drawing the parallel to position-visibility.

> * For the values, I like `always` as the default (as-in always capture). `in-viewport` is nice to say "only capture when in viewport".

What about scrollers with clipped overflow where you’d want to use this? In that case `in-scrollport` seems more universal? Or maybe `in-view` to add some wiggle room?



-- 
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8282#issuecomment-2160784572 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 11 June 2024 13:34:22 UTC