Closed Bug 2016876 Opened 3 months ago Closed 10 days ago

Add ViewTimeline interface and its readonly attributes

Categories

(Core :: DOM: Animation, enhancement)

enhancement
Points:
3

Tracking

()

RESOLVED FIXED
152 Branch
Tracking Status
firefox152 --- fixed

People

(Reporter: boris, Assigned: jwatt)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [scrollanimation:mvp] )

Attachments

(1 file)

The interface looks like:

[Exposed=Window]
interface ViewTimeline : ScrollTimeline {
  ...
  readonly attribute Element subject;
  readonly attribute CSSNumericValue startOffset;
  readonly attribute CSSNumericValue endOffset;
};

However, CSSNumericValue depend on CSS Typed OM, so for now we could just use double to present the percentage.
We will do the constructor in another bug.

Whiteboard: [scrollanimation:mvp]
Blocks: 2016880
Points: --- → 3
Assignee: nobody → mozmail
Status: NEW → ASSIGNED
Pushed by jwatt@jwatt.org: https://github.com/mozilla-firefox/firefox/commit/5dc9133ca7ed https://hg.mozilla.org/integration/autoland/rev/4243652261ea Add ViewTimeline interface and its readonly attributes. r=dshin,webidl,layout-scroll-driven-animation-reviewers,smaug,firefox-style-system-reviewers
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
Target Milestone: --- → 152 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: