Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <style> | |
| 3 ::selection { | |
| 4 page-break-before: right; | |
| 5 } | |
| 6 </style> | |
| 7 <script> | |
| 8 if (window.testRunner) { | |
| 9 testRunner.dumpAsText(); | |
| 10 testRunner.waitUntilDone(); | |
| 11 } | |
| 12 onload = function() { | |
| 13 document.body.offsetTop; | |
|
Stephen Chennney
2017/04/28 16:12:31
This might be to force layout. Can it be switched
fs
2017/04/28 18:16:33
Yes, we want layout to be clean before adding the
fs
2017/05/02 13:53:32
I tried inserting a runAfterLayoutAndPaint to repl
| |
| 14 document.getElementById("text1").setAttribute("filter", "url(#f)"); | |
| 15 document.execCommand("SelectAll", false); | |
| 16 | |
| 17 requestAnimationFrame(function() { | |
| 18 document.vlinkColor = "#ff0000"; | |
| 19 requestAnimationFrame(function() { testRunner.notifyDone(); }); | |
| 20 }); | |
| 21 } | |
| 22 </script> | |
| 23 <p>PASS if no crash</p> | |
| 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 |