User:Mantaroh/Scroll-driven animations: Difference between revisions

Jump to navigation Jump to search
Update implementation overview
(Update CSS Features.)
(Update implementation overview)
Line 86: Line 86:
== Implement overview ==
== Implement overview ==
  We need to implement several features as follow.
  We need to implement several features as follow.
   - Notify the scroll value to ScrollTimeline from scroll containers.
   - Notify the scroll value to related ScrollTimeline from scroll containers.
  - (ScrollTimeline requests to scroll container for receivable scroll notification?)
   - ScrollTimeline should implement AnimationTimeline interface and RefreshObserver interface.
   - ScrollTimeline should implement AnimationTimeline interface and RefreshObserver interface.
   - ScrollTimeline need to remain the scroll value which notified from scroll container.
   - ScrollTimeline needs to remain the scroll value which notified from scroll container in order to calculate several times when tick.
   - ScrollTimeline need to override AnimationTimeline::GetCurrentTime in order to notify current progress of aninmation to own animations.
   - ScrollTimeline needs to override AnimationTimeline::GetCurrentTime in order to notify current progress of animation to own animations.


 
[Consideration]
[Memo]
- How notify the scroll value from parent to child process? Especially e10s environment.
- e10s の時どうする?
  -> window から通知されるスクロール量をコンテンツ側の ScrollTimeline へ通知する必要がある


== Problem of implementation. ==
== Problem of implementation. ==
28

edits

Navigation menu