Chromium Code Reviews| Index: LayoutTests/svg/animations/animate-viewport-overflow.html |
| diff --git a/LayoutTests/svg/animations/animate-viewport-overflow.html b/LayoutTests/svg/animations/animate-viewport-overflow.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1436b45d46c29d5b33c1bbc7908184390704a5f2 |
| --- /dev/null |
| +++ b/LayoutTests/svg/animations/animate-viewport-overflow.html |
| @@ -0,0 +1,27 @@ |
| +<!doctype html> |
| +<head> |
| + <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/javascript"></script> |
| + <script> |
| + function repaintTest() { |
| + var svg = document.getElementById("svg"); |
| + svg.pauseAnimations(); |
| + svg.setCurrentTime(5); |
| + } |
| + </script> |
| + <style> |
| + div { |
| + height:100px; width:100px; |
| + } |
| + svg { overflow: visible; } |
| + </style> |
| +</head> |
| +<body onload="runRepaintAndPixelTest()"> |
| + <div> |
| + <svg id="svg" height="100" width="100" viewbox="0 0 100 100"> |
| + <rect y="200" width="100" height="100" fill="red"> |
|
fs
2014/04/01 12:18:31
Could you add a test which moves the rect too (ani
Erik Dahlström (inactive)
2014/04/01 13:23:14
Done.
|
| + <animate attributeName="fill" to="green" dur="1s" begin="1s" fill="freeze"/> |
| + </rect> |
| + </svg> |
| + </div> |
| + <div></div> |
| +</body> |