[csswg-drafts] [scroll-animations] Possible infinite loop with element-offset (#5609)

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

== [scroll-animations] Possible infinite loop with element-offset ==
In https://drafts.csswg.org/scroll-animations-1/#element-based-offset-section
The timeline of the animation is decided by (roughly) the distance between the viewport edge and an element's edge.
However, the animation itself can affect that edge - e.g. if it's animating the `height` property.

So, if I'm not missing something, there could be a situation where the progress of the animation flickers endlessly.
This is already the case with hover pseudo elements (hovering on an element might cause a repositioning that would change the hover state).
Is this a problem? Maybe somehow the algorithm already deals with it?

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


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

Received on Tuesday, 13 October 2020 08:28:33 UTC