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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html

Issue 2137293003: Add metadata and improve descriptions for null keyframe offset test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/w3c/keyframes-with-null-offsets.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html b/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html
index 8b46edfe27d33eb76b875f1342618814bcc335c4..179b0b72b21079e2a657a012e4285781bd9e6f63 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframes-with-null-offsets.html
@@ -1,4 +1,8 @@
<!DOCTYPE html>
+<meta charset=utf-8>
+<title>Test keyframes with null offsets</title>
+<link rel="help" ­href="https://w3c.github.io/web-animations/#keyframes-section">
+
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
<script src="resources/keyframes-test.js"></script>
@@ -14,7 +18,7 @@ test(function() {
0.5: {opacity: '0', left: '0px'},
0.75: {opacity: '0.375', left: '37.5px'},
1: {opacity: '0.75', left: '75px'},
- }, 'case A');
+ }, 'Null and missing offsets behave identically');
assertAnimationStyles([
{opacity: '0.5', left: '50px', offset: null},
{opacity: '0', left: '0px', offset: 0.25},
@@ -26,7 +30,7 @@ test(function() {
0.5: {opacity: '0.25', left: '25px'},
0.75: {opacity: '0.5', left: '50px'},
1: {opacity: '0.75', left: '75px'},
- }, 'case B');
+ }, 'Null and explicit offsets behave as with missing and explicit offsets.');
},
'element.animate() with null offsets specified',
{
« 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