Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html |
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html |
index 6ceb5967a5ff5d6e10ce21c3703fdc42b737a783..cfc74630e1f88f57822bfc93eb1ffcdb70776518 100644 |
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html |
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getAll.html |
@@ -38,4 +38,15 @@ test(function() { |
}); |
}, "getAll() throws if you try to get an invalid property"); |
+test(function() { |
+ testElement.style.animationIterationCount = "infinite, 6.2"; |
+ |
+ var result = testElement.styleMap.getAll('animation-iteration-count'); |
+ assert_equals(result.length, 2); |
+ assert_true(result[0] instanceof CSSKeywordValue); |
+ assert_true(result[1] instanceof CSSNumberValue); |
+ assert_equals(result[0].value, "infinite"); |
+ assert_equals(result[1].value, 6.2); |
+}, "getAll() returns a list of mixed types if they are all valid types"); |
+ |
</script> |