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

Unified Diff: third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframe-properties.html

Issue 2145503002: Fix test expectations to match specification (I think) (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/keyframe-properties.html
diff --git a/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframe-properties.html b/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframe-properties.html
index 10a21950ab2bc8bea6246c233af36d79049cd735..07d6efc1c8c32724fc00422e31faff7329fe17f2 100644
--- a/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframe-properties.html
+++ b/third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframe-properties.html
@@ -1,8 +1,9 @@
-<!doctype html>
+<!DOCTYPE html>
+<meta charset='utf-8'>
<title>Web Animations API: Keyframe Property tests</title>
+<link rel='help' href='https://w3c.github.io/web-animations/#processing-a-keyframes-argument'>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
-<div id="log"></div>
<div id="div"></div>
<script>
@@ -19,13 +20,7 @@ test(function() {
} catch (e) {
assert_unreached("Mismatched properties - both or neither properties on keyframe were considered.");
}
-},
-'enumerable keyframe properties tests',
-{
- help: 'http://dev.w3.org/fxtf/web-animations/#dfn-procedure-for-converting-an-ecmascript-value-to-an-idl-keyframe-object',
- assert: 'Only enumerable properties on keyframes are considered',
- author: 'Shane Stephens'
-});
+}, 'Only enumerable properties on keyframes are considered');
test(function() {
var KeyframeParent = function() { this.width = "100px"; };
@@ -37,17 +32,10 @@ test(function() {
enumerable: 'true'});
var keyframe = new Keyframe();
try {
- div.animate([keyframe, {top: '200px', left: '200px', height: '200px'}], 1);
+ div.animate([keyframe, {top: '200px'}], 1);
} catch (e) {
- assert_unreached("Mismatched properties - left, width or height not considered on keyframe.");
+ assert_unreached("Mismatched properties - left, width or height considered on first keyframe.");
}
-},
-'inherited keyframe properties tests',
-{
- help: 'http://dev.w3.org/fxtf/web-animations/#dfn-procedure-for-converting-an-ecmascript-value-to-an-idl-keyframe-object',
- assert: 'Only properties in Object.keys on keyframes are considered',
- author: 'Shane Stephens'
-});
-
+}, 'Only properties defined directly on keyframes are considered');
</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