blob: cfb3711bcee4404b74df682f94329038b9d2f88b [file] [log] [blame]
<title>Unfilled Animation Test</title>
<style type="text/css" media="screen">
#box {
height: 100px;
width: 100px;
border-top-width: 300px;
border-style: solid;
animation-duration: 10s;
animation-timing-function: ease-in-out;
animation-name: anim;
@keyframes anim {
from { border-top-width: 200px; }
to { border-top-width: 0px; }
<script src="resources/animation-test-helpers.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
if (window.testRunner)
const expectedValues = [
// [time, element-id, property, expected-value, tolerance]
[1, "box", "border-top-width", 196, 1],
This test performs an animation of the border-top-width property from a given value to 0. It tests if an intermediate value is correct.
<div id="box">
<div id="result">