Chromium Code Reviews| 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 = "hidden"; | |
|
fs
2016/11/07 12:03:30
Does the problem still reproduce with style="visib
| |
| 10 runAfterLayoutAndPaint(function() { | |
| 11 container.style.visibility = "visible"; | |
| 12 if (window.testRunner) | |
| 13 testRunner.notifyDone(); | |
| 14 }); | |
| 15 }); | |
| 16 } | |
| 17 </script> | |
| 18 <div id="container"> | |
| 19 <svg> | |
| 20 <clipPath id="clip"> | |
| 21 <rect width="100" height="100"></rect> | |
| 22 </clipPath> | |
| 23 <rect width="400" height="400" fill="green" visibility="visible" clip-path=" url(#clip)"></rect> | |
| 24 </svg> | |
| 25 </div> | |
| OLD | NEW |