blob: bb9c51dbae5602854ecd85036109b30ac03fe6f1 [file] [log] [blame]
<!doctype html>
<html lang="en">
<head>
<title>Testing animation on a none keyword</title>
<style>
#test {
max-width: none;
-webkit-animation-duration: 2s;
-webkit-animation-timing-function: linear;
-webkit-animation-name: none-test;
}
@-webkit-keyframes none-test {
25% { max-width: 10px; }
75% { max-width: 10px; }
}
</style>
<script src="resources/animation-test-helpers.js"></script>
<script>
const expectedValues = [
// [time, element-id, property, expected-value, tolerance]
[0, "test", "max-width", "none", 0],
[0.25, "test", "max-width", 10, 0],
[1, "test", "max-width", 10, 0],
[1.75, "test", "max-width", "none", 0],
[2, "test", "max-width", "none", 0],
];
runAnimationTest(expectedValues);
</script>
</head>
<body>
<div id="test">Animating max-width from/to none.</div>
</div>
</body>
</html>