OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/testharness.js"></script> |
| 3 <script src="../../resources/testharnessreport.js"></script> |
| 4 <script src="../../resources/run-after-layout-and-paint.js"></script> |
| 5 <style> |
| 6 ::selection { |
| 7 page-break-before: right; |
| 8 } |
| 9 </style> |
| 10 <script> |
| 11 async_test(t => { |
| 12 window.onload = t.step_func(() => { |
| 13 document.body.offsetTop; |
| 14 document.getElementById("text1").setAttribute("filter", "url(#f)"); |
| 15 document.execCommand("SelectAll", false); |
| 16 |
| 17 runAfterLayoutAndPaint(t.step_func(() => { |
| 18 document.vlinkColor = "#ff0000"; |
| 19 requestAnimationFrame(t.step_func_done()); |
| 20 })); |
| 21 }); |
| 22 }, "Don't crash."); |
| 23 </script> |
| 24 <svg id="svg1"> |
| 25 <text>Text2</text> |
| 26 </svg> |
| 27 <svg> |
| 28 <text id="text1">Text</text> |
| 29 </svg> |
| 30 <svg> |
| 31 <filter id="f"> |
| 32 <feImage xlink:href="#svg1"/> |
| 33 </filter> |
| 34 </svg> |
OLD | NEW |