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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/deferred-updates.html

Issue 2141703004: Clean up web-animations-api/deferred-updates.html test to match webkit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed Created 4 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/web-animations-api/deferred-updates.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/deferred-updates.html b/third_party/WebKit/LayoutTests/web-animations-api/deferred-updates.html
deleted file mode 100644
index 7f3652314cd829981f472de05ab0cf6e9c31e530..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/web-animations-api/deferred-updates.html
+++ /dev/null
@@ -1,23 +0,0 @@
-<!DOCTYPE html>
-<script src="../resources/testharness.js"></script>
-<script src="../resources/testharnessreport.js"></script>
-<div id="target">Test target</div>
-<script>
-var target = document.getElementById('target');
-test(function() {
- var player = target.animate([{background: 'green'}, {background: 'green'}], 10000);
- assert_equals(getComputedStyle(target).backgroundColor, 'rgb(0, 128, 0)');
- player.cancel();
-}, 'Animation effects should be visible to getComputedStyle');
-
-var layoutTest = async_test('Animation effects should be visible to offsetHeight, etc.');
-addEventListener('load', function() {
- layoutTest.step(function() {
- var player = target.animate([{height: '732px'}, {height: '732px'}], 10000);
- assert_equals(target.offsetHeight, 732);
- player.cancel();
- });
- layoutTest.done();
- target.remove();
-});
-</script>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698