Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / layerZOrderCrash.html
blobe2ee631fb3f7a6ffa3ce607d2184025c99c95db6
1 <html>
2 <head>
3 <style type="text/css">
4 html, table {
5 position: relative;
7 </style>
8 </head>
10 <body>
12 To reproduce this bug outside of DumpRenderTree, click the link below. If broken,
13 we will crash. <br>
15 <script>
16 function disappear() {
17 var e = document.getElementById('foo');
19 if(e.style.display !='none')
20 e.style.display='none';
21 else
22 e.style.display='';
24 return false;
26 </script>
28 <table>
29 <tr><td><a href="#" onclick="disappear()">link</a></td></tr>
30 <tr id="foo" style="">
31 <td>
32 <table>
33 <tr><td>content<br>content<br>content<br></td></tr>
34 </table>
35 </td>
36 </tr>
37 </table>
39 <script>
40 if (window.eventSender) {
41 eventSender.mouseMoveTo(30,20);
42 eventSender.mouseDown();
43 eventSender.mouseUp();
45 </script>
47 </body>
48 </html>