summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/web-animations-api
diff options
context:
space:
mode:
authorshans@chromium.org <shans@chromium.org>2014-10-24 12:02:57 +0000
committershans@chromium.org <shans@chromium.org>2014-10-24 12:02:57 +0000
commitf9c17fc023ca78592f626a1ad337bf3733e2e973 (patch)
tree9f85167df03124bd1aeb4a634e4c54a5618e5086 /third_party/WebKit/LayoutTests/web-animations-api
parent79942503d1e4cc4cecef514930cd8538267a5c45 (diff)
downloadchromium_src-f9c17fc023ca78592f626a1ad337bf3733e2e973.zip
chromium_src-f9c17fc023ca78592f626a1ad337bf3733e2e973.tar.gz
chromium_src-f9c17fc023ca78592f626a1ad337bf3733e2e973.tar.bz2
WebIDL Dictionaries should access prototype chains when searching for properties. This change adds getPropertyNames to the v8 Dictionary class.
Web Animations Keyframes should make use of prototype chains when looking for CSS properties to animate. This change makes use of getPropertyNames to ensure this happens. Review URL: https://codereview.chromium.org/661453004 git-svn-id: svn://svn.chromium.org/blink/trunk@184350 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/web-animations-api')
-rw-r--r--third_party/WebKit/LayoutTests/web-animations-api/w3c/keyframe-properties.html5
1 files changed, 2 insertions, 3 deletions
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 639151c..10a2195 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
@@ -36,11 +36,10 @@ test(function() {
value: '100px',
enumerable: 'true'});
var keyframe = new Keyframe();
- assert_array_equals(Object.keys(keyframe), ["top"]);
try {
- div.animate([keyframe, {top: '200px'}], 1);
+ div.animate([keyframe, {top: '200px', left: '200px', height: '200px'}], 1);
} catch (e) {
- assert_unreached("Mismatched properties - left, width or height considered on keyframe.");
+ assert_unreached("Mismatched properties - left, width or height not considered on keyframe.");
}
},
'inherited keyframe properties tests',