Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / svg / custom / marker-layout-invalidation.html
1 <!DOCTYPE html>
2 <html>
3 <body>
4
5 <!-- Test for http://crbug.com/338461 -->
6 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
7   <rect filter="url(#filter)"></rect>
8   <filter id="filter" xlink:href="#marker"></filter>
9   <marker id="marker"></marker>
10   <style></style>
11 </svg>
12
13 <div>PASS: Did not crash.</div>
14
15 <script>
16   if (window.testRunner) {
17     testRunner.dumpAsText();
18     testRunner.waitUntilDone();
19   }
20
21   requestAnimationFrame(function() {
22     document.styleSheets[0].insertRule("#foobarbaz { } ", 0);
23
24     if (window.testRunner)
25       testRunner.notifyDone();
26   });
27 </script>
28
29 </body>
30 </html>