Index: LayoutTests/css3/clippath/clippath-animated.html |
diff --git a/LayoutTests/css3/clippath/clippath-animated.html b/LayoutTests/css3/clippath/clippath-animated.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a4920f5e8edda48503ef7f42b8351ded4012b89c |
--- /dev/null |
+++ b/LayoutTests/css3/clippath/clippath-animated.html |
@@ -0,0 +1,41 @@ |
+<html> |
pdr.
2014/08/04 17:06:31
This test passes both with or without your patch.
Shanmuga Pandi
2014/08/05 11:30:35
Hello pdr,
Thanks for your time and review.
Thi
Shanmuga Pandi
2014/08/05 14:19:56
Will "run-webkit-tests" trigger any extra repaint
|
+<head> |
+<style> |
+.error { |
+ width: 100px; |
+ height: 100px; |
+ background-color: red; |
+ position: absolute; |
+} |
+.clipped { |
+ width: 100px; |
+ height: 100px; |
+ background-color: green; |
+ -webkit-clip-path: url(#svgPath); |
+ clip-path: url(#svgPath); |
+} |
+</style> |
+</head> |
+<body> |
+<script> |
+if (window.testRunner) |
+ testRunner.waitUntilDone(); |
+ |
+setTimeout(function() { |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ }, 1000); |
pdr.
2014/08/04 17:06:31
This line is incorrectly indented. As I said in my
Shanmuga Pandi
2014/08/05 14:19:56
Acknowledged.
|
+</script> |
+<div class="error"></div> |
+<div class="clipped"></div> |
+<svg height="0" width="0"> |
+ <defs> |
+ <clipPath id="svgPath" clipPathUnits="objectBoundingBox"> |
+ <circle cx="0.5" cy="0.5" r="0.5"> |
+ <animate attributeName="r" attributeType="XML" from="0.5" to="1" begin="0.1s" dur="0.05s" fill="freeze"/> |
+ </circle> |
+ </clipPath> |
+ </defs> |
+</svg> |
+</body> |
+</html> |