You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
"run the fullscreen rendering steps" and "run CSS animations and send events" do not actaully exist anywhere #707
What do you all think of introducing "queue an animation frame task"? I think going forward some events could also be done like that, as long as the order of "queue an animation frame task" calls themselves are in a predictable order the order of event dispatch should also stay reliable.
The second half of the "Timing model concepts" section describes the integration of Web Animations with this processing model but its somewhat placeholder text at this stage. Perhaps we could reword "run CSS animations and send events" to "update declarative animations and send animation events". Then we can refer back to that definition from Web Animations / CSS animations / CSS transitions.
Long-term when CSS animations and transitions are speced in terms of Web Animations we can drop the "passing in now as the timestamp" part.
I'll put together some spec text for this in the next few days. (It's a bit awkward because ultimately the spec text belongs in Web Animations even though Web Animations is not yet a normative reference for CSS Animations/Transitions.)
Activity
Add intersection observer to the event loop's rendering
annevk commentedon Feb 23, 2016
Does https://www.w3.org/Bugs/Public/show_bug.cgi?id=28001#c4 work for all rendering things? It seems @foolip implemented a single queue, but then rendering tasks cannot depend on other rendering tasks having happened.
Happy to introduce "render tasks" if this approach works for folks.
foolip commentedon Feb 25, 2016
Note that the "animation frame task" code I worked on never landed, so that shouldn't shape the design.
Add intersection observer to the event loop's rendering
foolip commentedon Dec 8, 2016
I've now landed a concept of "animation frame task" in Blink that I intend to use for Fullscreen, to match the timing of "run the fullscreen rendering steps":
https://codereview.chromium.org/2536643002
What do you all think of introducing "queue an animation frame task"? I think going forward some events could also be done like that, as long as the order of "queue an animation frame task" calls themselves are in a predictable order the order of event dispatch should also stay reliable.
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
Add tests for fullscreenchange and fullscreenerror event timing
9 remaining items
Link to "run the fullscreen steps" in Fullscreen
Link to "run the fullscreen steps" in Fullscreen
domenic commentedon Jun 15, 2017
OK, so we fixed the fullscreen thing. What remains is that the spec references a nonexistant "run CSS animations and send events":
I tried to find some kind of processing model that fires these events in https://drafts.csswg.org/css-animations-1/, but I could not. Paging the editors of that spec for advice; it appears there's no normative requirement, either in HTML or in the Web Animations spec, which actually states that things must animate and that events must be fired?
@grorg @dbaron @tabatkins @birtles
birtles commentedon Jun 15, 2017
The second half of the "Timing model concepts" section describes the integration of Web Animations with this processing model but its somewhat placeholder text at this stage. Perhaps we could reword "run CSS animations and send events" to "update declarative animations and send animation events". Then we can refer back to that definition from Web Animations / CSS animations / CSS transitions.
Long-term when CSS animations and transitions are speced in terms of Web Animations we can drop the "passing in now as the timestamp" part.
domenic commentedon Jun 16, 2017
That sounds great. Let me know if you're able to work on creating such a hook for us to link to, and I'll happily update HTML.
birtles commentedon Nov 17, 2017
I'll put together some spec text for this in the next few days. (It's a bit awkward because ultimately the spec text belongs in Web Animations even though Web Animations is not yet a normative reference for CSS Animations/Transitions.)
birtles commentedon Dec 4, 2017
@domenic I've added update animations and send events to Web Animations now so I suggest that might be a suitable place to link to.
birtles commentedon Dec 5, 2017
Note that today I moved the Web Animations ED into the csswg-drafts repository so the updated link is: https://drafts.csswg.org/web-animations-1/#update-animations-and-send-events (I've updated my previous comment too).
birtles commentedon Dec 5, 2017
And an unversioned link, i.e. just
web-animationsshould work too.Properly reference "update animations and send events"
Properly reference "update animations and send events"
Properly reference "update animations and send events"
Link to "run the fullscreen steps" in Fullscreen
Properly reference "update animations and send events"