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

Unified Diff: third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html

Issue 2269043002: Reland of Remove EventSender from HTMLStyleElement (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove t.step() Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html
diff --git a/third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html b/third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html
index 3daebfd2871164dd8dd77d2df5109b6f3370be5a..4c70fb6771c2810fe2918777d5ecc08fa5641309 100644
--- a/third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html
+++ b/third_party/WebKit/LayoutTests/animations/animation-duration-infinite.html
@@ -1,5 +1,4 @@
<!DOCTYPE html>
-<div id='target'></div>
<style type="text/css">
#target {
background-color: black;
@@ -8,8 +7,13 @@
}
</style>
<script>
+function onLoad() {
var element = document.getElementById('target');
var animation = element.animate(
{opacity: ['0', '1']},
{duration: Infinity, iterationStart: 4.75});
+}
</script>
+<body onload="onLoad()">
+<div id="target"></div>
+</body>

Powered by Google App Engine
This is Rietveld 408576698