Re: [csswg-drafts] [scroll-animations] Broader scope of scroll timelines (#7759)

> What’s the default value for scroll-timeline-root? If it’s none then it doesn’t really rhyme with the shorthand. Compare these two that both set the same values but have a different resulting scroll-timeline-root

But they _don't_ set the same values if you neglect to set the root when using the longhands. The shorthand intentionally also sets `-root` to still have a way to keep the simple case simple:

`scroll-timeline: foo` => A "locally attached" block-axis timeline.

> auto: Declare a STL with same ident as the -name property has set.

This requires list-coordination between `-root`/`-name`, which means that `-root` is actually just something that modifies the behavior of `-name` (and the `<custom-ident>` part of `-root` becomes pointless), which IMO brings us more or less back to the current world with `-attachment`.

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


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

Received on Friday, 28 April 2023 10:33:05 UTC