Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(333)

Side by Side Diff: LayoutTests/web-animations-api/resource-loading.html

Issue 196573030: Web Animations API: Load resources referenced in element.animate() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 #target {
4 width: 100px;
5 height: 100px;
6 }
7 </style>
8 <div id='target'></div>
9 This test passes if it does not crash. Newly referenced resources in the Web Ani mations api should be resolved in the style building stage.
10 <script>
11 target.animate([
12 {backgroundImage: 'url(../animations/resources/blue-100.png)', color: 'blue' },
13 {backgroundImage: 'url(../animations/resources/green-100.png)', color: 'gree n'},
14 ], {duration: 1, fill: 'forwards'});
15 if (window.testRunner) {
16 testRunner.dumpAsText();
17 testRunner.waitUntilDone();
18 }
19 requestAnimationFrame(function() {
20 testRunner.notifyDone();
21 });
22 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/web-animations-api/resource-loading-expected.txt » ('j') | Source/core/animation/AnimatableImage.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698