Chromium Code Reviews| Index: LayoutTests/css3/clippath/clippath-mutated.html |
| diff --git a/LayoutTests/css3/clippath/clippath-mutated.html b/LayoutTests/css3/clippath/clippath-mutated.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..914a12cf98ee1dd4456255c13b8a29794c95ab7c |
| --- /dev/null |
| +++ b/LayoutTests/css3/clippath/clippath-mutated.html |
| @@ -0,0 +1,39 @@ |
| +<!DOCTYPE html> |
| +<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> |
| +<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"></circle> |
| + </clipPath> |
| + </defs> |
| +</svg> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.waitUntilDone(); |
| + |
| +setTimeout(function() { |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| + }, 1000); |
|
pdr.
2014/08/04 17:06:31
Same here.
Shanmuga Pandi
2014/08/06 14:51:34
Done.
|
| +requestAnimationFrame(function() { |
| + setTimeout(function() { |
| + document.querySelector('circle').setAttribute('r', 1); |
| + }, 0); |
| +}); |
| +</script> |