[csswg-drafts] [scroll-animations-1] ViewTimelineOptions dictionary should accept subject (#7157)

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

== [scroll-animations-1] ViewTimelineOptions dictionary should accept subject ==
The proposed rewrite in #6674 adds a ViewTimeline, which produces a time value based on an element's position within the scroller. The dictionary passed to the ViewTimeline constructor is defined as:

```
dictionary ViewTimelineOptions {
  Element source;
  ScrollDirection axis = "block";
};
```

Given that ViewTimeline extends ScrollTimeline I assume the source is the scrolling element whose scroll position is to be observed. I think the dictionary should have a subject member, to set the readonly subject attribute on the ViewTimeline.

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


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

Received on Friday, 18 March 2022 18:41:44 UTC