- From: Yehonatan Daniv via GitHub <sysbot+gh@w3.org>
- Date: Thu, 30 Jan 2025 18:19:00 +0000
- To: public-css-archive@w3.org
ydaniv has just created a new issue for https://github.com/w3c/csswg-drafts: == [scroll-animations-1] Allow specifying small/large viewport for ViewTimelines that use the root viewport as scrollport == ViewTimelines [depend on the size of the scrollport](https://www.w3.org/TR/scroll-animations-1/#view-progress-visibility-range), and in cases where that is the root viewport, this is a dynamic value that may change, and when it changes this causes a visual jump in animations. This causes a visual nuisance that is avoided when authors use JS-based polyfills by using either the small or large viewport units, but it's currently not possible in the native implementation. So, proposing to allow authors to specify whether to use small/large viewport units, which will only take effect when used with the root scroller. Adding a new property to [`ViewTimelineOptions`](https://www.w3.org/TR/scroll-animations-1/#dictdef-viewtimelineoptions), (name TBB) `unit-size` with values `small`, `large`, and `auto`. cc @bramus @flackr @fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11615 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 30 January 2025 18:19:01 UTC