Open
Bug 2016880
Opened 3 months ago
Updated 2 months ago
Use CSSNumericValue and CSSKeywordValue for ViewTimeline interface
Categories
(Core :: DOM: Animation, enhancement)
Core
DOM: Animation
Tracking
()
NEW
People
(Reporter: boris, Unassigned)
References
(Depends on 2 open bugs, Blocks 1 open bug, )
Details
(Whiteboard: [scrollanimation:mvp] )
Once we make the decision of Bug 2015606, and we start to replace the attributes with new types (defined in CSS Typed OM), we can update the ViewTimeline interface to use CSSNumericValue and CSSKeywordValue:
dictionary ViewTimelineOptions {
Element subject;
ScrollAxis axis = "block";
(DOMString or sequence<(CSSNumericValue or CSSKeywordValue)>) inset = "auto";
};
[Exposed=Window]
interface ViewTimeline : ScrollTimeline {
constructor(optional ViewTimelineOptions options = {});
readonly attribute Element subject;
readonly attribute CSSNumericValue startOffset;
readonly attribute CSSNumericValue endOffset;
};
| Reporter | ||
Updated•3 months ago
|
Summary: Use CSSNumericValue or CSSKeywordValue for ViewTimeline interface → Use CSSNumericValue and CSSKeywordValue for ViewTimeline interface
Whiteboard: [scrollanimation:mvp]
Updated•2 months ago
|
Points: --- → 1
You need to log in
before you can comment on or make changes to this bug.
Description
•