Chromium Code Reviews| Index: LayoutTests/animations/unsigned-underflow.html |
| diff --git a/LayoutTests/animations/unsigned-underflow.html b/LayoutTests/animations/unsigned-underflow.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..14998322a5883fb7d630c2edcc8cc087df76500b |
| --- /dev/null |
| +++ b/LayoutTests/animations/unsigned-underflow.html |
| @@ -0,0 +1,29 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +#target { |
| + height: 100px; |
| + width: 100px; |
| + border: solid blue 0px; |
| + -webkit-animation-duration: 1s; |
| + -webkit-animation-timing-function: cubic-bezier(0,-1,1,-1); |
| + -webkit-animation-name: anim; |
| +} |
| +@-webkit-keyframes "anim" { |
| + from { border-top-width: 0px; } |
| + to { border-top-width: 10px; } |
| +} |
| +</style> |
| +<script src="resources/animation-test-helpers.js"></script> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsText(); |
| + |
| +const expectedValues = [ |
| + // [animation-name, time, element-id, property, expected-value, tolerance] |
| + ['anim', 0.5, 'target', 'border-top-width', 0, 0], |
| +]; |
| + |
| +runAnimationTest(expectedValues); |
| +</script> |
| +<body> |
|
Steve Block
2013/08/20 06:56:08
Would be good to add some text describing what thi
|
| +<div id="target"></div> |