blob: 8bd348a4a5b0035e45e7f2afea449f1e0d033e96 [file] [log] [blame]
<html>
<head>
<script src="../../resources/testharness.js"></script>
<script src="../../resources/testharnessreport.js"></script>
</head>
<body>
<div id="test"></div>
<script>
var element = document.getElementById("test");
test(function() {
element.style.animationDuration = "3";
assert_equals(element.style.animationDuration, "");
}, "Unit-less non-zero animation-duration should be invalid")
test(function() {
element.style.transitionDuration = "3";
assert_equals(element.style.transitionDuration, "");
}, "Unit-less non-zero transition-duration should be invalid")
</script>
</body>
</html>