Index: third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animation/id.html |
diff --git a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animation/id.html b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animation/id.html |
index 9d293733756350262046ff5d42b98c024bdce88b..2fadd562369951e9305e563846d1898e14f9af2a 100644 |
--- a/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animation/id.html |
+++ b/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animation/id.html |
@@ -13,11 +13,16 @@ |
test(function(t) { |
var div = createDiv(t); |
var animation = div.animate({}, 100 * MS_PER_SEC); |
- assert_equals(animation.id, '', 'id for CSS Animation is initially empty'); |
- animation.id = 'anim' |
+ assert_equals(animation.id, '', 'id for Animation is initially empty'); |
+}, 'Animation.id initial value'); |
+ |
+test(function(t) { |
+ var div = createDiv(t); |
+ var animation = div.animate({}, 100 * MS_PER_SEC); |
+ animation.id = 'anim'; |
assert_equals(animation.id, 'anim', 'animation.id reflects the value set'); |
-}, 'Animation.id for CSS Animations'); |
+}, 'Animation.id setter'); |
</script> |
</body> |