servo/components/script
bors-servo 2fd427270d
Auto merge of #26609 - mrobinson:improve-transition-finishing, r=jdm
Improve ending of transitions

For legacy reasons, transitions were marked as finished after updating the
style. According to the spec, they should be marked as finished when
animations are updated and before restyle. This change does that as well
as preventing replacement of finished transitions.

Having finished transitions survive a full restyle cycle and allowing
the replacement of finished transition could lead to issues where
animations are removed from the global list of animating transitions
too soon:

 1. A transitions finishes
 2. Restyle
 3. The transition is marked as finished and events are queued
 4. Restyle cancels finished transition and replaces it instead of
    clearing finished transition
 5. Events are sent for the incorrectly canceled transition, removing it
    completely from the list of running transitions due to the extra
    event.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
2020-05-25 11:07:50 -04:00
..
docs Update doc links and code snippet for trace implementation 2020-05-03 19:03:33 +05:30
dom Auto merge of #26623 - jdm:imagebitmap-gate, r=gterzian 2020-05-25 00:08:19 -04:00
task_source
animation_timeline.rs Move most animation processing to script 2020-05-12 10:22:14 +02:00
animations.rs Improve ending of transitions 2020-05-21 19:56:29 +02:00
body.rs
build.rs Update error message. 2020-05-04 11:52:49 -04:00
canvas_state.rs Refactor ImageCache::find_image_or_metadata API. 2020-04-17 11:58:18 -04:00
Cargo.toml Use temporary files instead of pipes for JS unminification. 2020-05-22 14:40:50 -04:00
clipboard_provider.rs
devtools.rs Report real caller information for console APIs to devtools. 2020-04-28 21:32:41 -04:00
document_loader.rs
euclidext.rs Update euclid 2020-04-07 08:51:08 -07:00
fetch.rs check http_state in determine_request_referrer 2020-05-19 20:06:59 +03:00
image_listener.rs Refactor ImageCache::find_image_or_metadata API. 2020-04-17 11:58:18 -04:00
init.rs allow for a service worker manager per origin 2020-04-05 22:43:40 +08:00
layout_image.rs
lib.rs serviceworker: make job queue unique per origin 2020-05-21 13:21:21 +08:00
mem.rs
microtask.rs
network_listener.rs
realms.rs
script_module.rs Introduce import.meta hook for module script 2020-05-17 11:34:35 +09:00
script_runtime.rs Implement client-side logic for WebGPU id recycling 2020-05-22 21:22:19 +05:30
script_thread.rs Implement client-side logic for WebGPU id recycling 2020-05-22 21:22:19 +05:30
serviceworker_manager.rs serviceworker: turn-off event-loop, don't assume current scope, clear runtime on shutdown 2020-05-21 13:21:28 +08:00
stylesheet_loader.rs Properly set the url on the Response object when the response is an opaqueredirect 2020-05-06 20:08:26 +02:00
stylesheet_set.rs
task.rs
task_manager.rs
task_queue.rs
test.rs
textinput.rs Form constraints validation 2020-04-02 10:16:46 +02:00
timers.rs
unpremultiplytable.rs
webdriver_handlers.rs