OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE HTML> |
| 2 <script src=../../resources/run-after-layout-and-paint.js></script> |
| 3 <script> |
| 4 if (window.testRunner) |
| 5 testRunner.waitUntilDone(); |
| 6 |
| 7 window.onload = function () { |
| 8 runAfterLayoutAndPaint(function() { |
| 9 container.style.visibility = "visible"; |
| 10 runAfterLayoutAndPaint(function() { |
| 11 container.style.visibility = "hidden"; |
| 12 runAfterLayoutAndPaint(function() { |
| 13 container.style.visibility = "visible"; |
| 14 if (window.testRunner) |
| 15 testRunner.notifyDone(); |
| 16 }); |
| 17 }); |
| 18 }); |
| 19 } |
| 20 </script> |
| 21 <div id="container" style="visibility: hidden"> |
| 22 <svg> |
| 23 <clipPath id="clip"> |
| 24 <rect width="100" height="100"></rect> |
| 25 </clipPath> |
| 26 <rect width="400" height="400" fill="green" visibility="visible" clip-path="
url(#clip)"></rect> |
| 27 </svg> |
| 28 </div> |
OLD | NEW |