Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 3 <svg> | |
| 4 <linearGradient id="f"> | |
| 5 <stop stop-color="green"/> | |
| 6 </linearGradient> | |
| 7 <linearGradient id="f"> | |
| 8 <stop stop-color="red"/> | |
| 9 </linearGradient> | |
| 10 <rect width="100" height="100" fill="url(#f) orange"/> | |
| 11 </svg> | |
| 12 <script> | |
| 13 runAfterLayoutAndPaint(function() { | |
| 14 document.querySelectorAll('lineargradient')[1].remove(); | |
|
Stephen Chennney
2017/02/27 16:21:22
Another test comes to mind. If you remove the firs
fs
2017/02/27 17:47:30
I wrote this test, but it's currently failing (so
fs
2017/02/27 19:11:25
I realize that that test likely worked "by acciden
| |
| 15 }, true); | |
| 16 </script> | |
| OLD | NEW |