[csswg-drafts] [scroll-animations-1] Consider adding a timeline range that takes ink overflow into account (#10581)

noamr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [scroll-animations-1] Consider adding a timeline range that takes ink overflow into account ==
Following up on #8282, scroll-driven animation primitives like `view()` are useful for any scroll-related behavior, such as setting `view-transition-name` only when an element is in the viewport. 

However, when implementing a precise user-experience, the fact that `view()` doesn't account for ink overflow leaves some inaccuracies - it's impossible to precisely tune the behavior such that it will be different when the entire element (including its ink overflow is within/outside the viewport).

Using a timeline-range for it might be useful, though we have to take into account that ink overflow is somewhat platform specific.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10581 using your GitHub account


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

Received on Tuesday, 16 July 2024 20:55:24 UTC