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

Unified Diff: third_party/WebKit/LayoutTests/transitions/webkit-clip-path-equality.html

Issue 2947103002: Expose getAnimations as function on Document (Closed)
Patch Set: Rebase Created 3 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/transitions/webkit-clip-path-equality.html
diff --git a/third_party/WebKit/LayoutTests/transitions/webkit-clip-path-equality.html b/third_party/WebKit/LayoutTests/transitions/webkit-clip-path-equality.html
index f0c2375244949468439356a7d4c0912c4be6c3e6..b62319b20aadddf8c06ea8e3cd47369a6ee346d2 100644
--- a/third_party/WebKit/LayoutTests/transitions/webkit-clip-path-equality.html
+++ b/third_party/WebKit/LayoutTests/transitions/webkit-clip-path-equality.html
@@ -20,14 +20,14 @@ onload = function() {
};
function step1() {
target.offsetTop;
- result = document.timeline.getAnimations().length == 0 ?
+ result = document.getAnimations().length == 0 ?
'PASS - No transition started.' :
'FAIL - Unexpected transition started.';
target.style.webkitClipPath = 'circle(200px at 0px 0px)';
requestAnimationFrame(step2);
}
function step2() {
- result += document.timeline.getAnimations().length == 1 ?
+ result += document.getAnimations().length == 1 ?
'\nPASS - Transition started.' :
'\nFAIL - Transition did not start.';
document.documentElement.style.whiteSpace = 'pre';

Powered by Google App Engine
This is Rietveld 408576698