| <!DOCTYPE html> |
| <html> |
| <body> |
| |
| <!-- Test for http://crbug.com/338461 --> |
| <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> |
| <rect filter="url(#filter)"></rect> |
| <filter id="filter" xlink:href="#marker"></filter> |
| <marker id="marker"></marker> |
| <style></style> |
| </svg> |
| |
| <div>PASS: Did not crash.</div> |
| |
| <script> |
| if (window.testRunner) { |
| testRunner.dumpAsText(); |
| testRunner.waitUntilDone(); |
| } |
| |
| requestAnimationFrame(function() { |
| document.styleSheets[0].insertRule("#foobarbaz { } ", 0); |
| |
| if (window.testRunner) |
| testRunner.notifyDone(); |
| }); |
| </script> |
| |
| </body> |
| </html> |