Dispatch timing events when inserting/removing SMIL elements When a SMIL animation element is inserted into a document where the SMIL timeline is running, and the animation elements' timing interval is active, no 'beginEvent' event would be dispatched, because UpdateActiveState() would not notice the state transition. Similarly for the 'endEvent', which would not "end" if it was removed from the document when it was active. Explicitly dispatch the relevant events when an animation element is added or removed from the time container and the time container has started. This addresses the timeouts in the href-animate-element.html and href-mpath-element.html tests, but failures remain due to other issues (not updating the animation value synchronously). Bug: 40118791 Change-Id: I52565562e7338b119ee5b31421ab7dc62ca254e2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5412942 Auto-Submit: Fredrik Söderquist <fs@opera.com> Commit-Queue: Philip Rogers <pdr@chromium.org> Reviewed-by: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/main@{#1282206}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.