DescriptionIntroduce animation frame tasks
This will be used to fix the timing of Fullscreen state transitions and
events. In the spec, it is still acknowledged that "Animation frame task
is not really defined yet, including relative order within that task":
https://fullscreen.spec.whatwg.org/#dom-element-requestfullscreen
However, this matches the order in HTML, where "run the fullscreen
rendering steps" comes after various events and before "run the
animation frame callbacks":
https://html.spec.whatwg.org/multipage/webappapis.html#event-loop-processing-model
It would have to be HTML that defines "animation frame task" for the
integration with Fullscreen to really make sense, tracked by:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=28001
BUG=402376
Committed: https://crrev.com/0428d2791da252d73049587ac6bd4fa1610f6734
Cr-Commit-Position: refs/heads/master@{#436670}
Patch Set 1 #
Total comments: 2
Patch Set 2 : tweak behavior, write tests #
Total comments: 2
Patch Set 3 : document ScriptedAnimationController.h #Patch Set 4 : drop 'the' #
Messages
Total messages: 20 (13 generated)
|