Open
Bug 2016879
Opened 3 months ago
Updated 8 hours ago
Add the constructor of ViewTimeline interface
Categories
(Core :: DOM: Animation, enhancement)
Core
DOM: Animation
Tracking
()
NEW
People
(Reporter: boris, Unassigned)
References
(Blocks 2 open bugs, )
Details
(Whiteboard: [scrollanimation:mvp] )
Attachments
(1 file)
Now it's time to add the constructor for ViewTimeline:
dictionary ViewTimelineOptions {
Element subject;
ScrollAxis axis = "block";
(DOMString or sequence<(CSSNumericValue or CSSKeywordValue)>) inset = "auto";
};
[Exposed=Window]
interface ViewTimeline : ScrollTimeline {
constructor(optional ViewTimelineOptions options = {});
...
};
We have to add ViewTimelineOptions as well. However, before we enable CSS Typed OM, we can restrict the inset to be (<DOMString or sequence<(double or DOMString)>). The double here is the length value (and so we don't accept percentage for now). This is just a tentative syntax and we will fix it in the following bug.
Updated•2 months ago
|
Points: --- → 1
Comment 1•11 days ago
|
||
Updated•11 days ago
|
Assignee: nobody → mozmail
Status: NEW → ASSIGNED
Updated•8 hours ago
|
Status: ASSIGNED → NEW
Updated•8 hours ago
|
Assignee: mozmail → nobody
You need to log in
before you can comment on or make changes to this bug.
Description
•