Re: [csswg-drafts] [scroll-animations-1] Behavior of a fixedpos view-timeline (#12109)

The FixedPos elements are using computed ranges as if the element was not FixedPos.

Check https://codepen.io/bramus/pen/dPPvpQX/d6803bd6e02f420a9a2233c419deb10a and:

- Compare the color of FIXED to REGULAR as you scroll the page down
- Compare the color of REGULAR-LOWER to FIXED2 as you scroll the page down

The colors of each mentioned pair follow each other.

> I guess this behavior would be expected if it also would be static and not respond to scroll change, which could be considered as option 3.

This would be my expectation here, as these elements stay in place as you scroll.



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


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

Received on Monday, 5 May 2025 21:24:35 UTC