Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / table-section-node-at-point-crash.html
bloba3c15439146592a3cf50b378747855381b2d8ffd
1 <!DOCTYPE html>
2 <html>
3 <body>
4 Test passes if it does not crash.
5 <style>
6 #test1 {
7 display: table-cell;
8 content: counter(c);
9 counter-reset: c;
10 width: 1000px;
11 height: 1000px;
13 #test1::after {
14 content: counter(c);
15 counter-reset: c;
17 #test2 {
18 -webkit-flow-into: a;
20 #test2::before {
21 content: counter(c);
22 counter-reset: c;
24 </style>
25 <script>
26 if (window.testRunner) {
27 testRunner.dumpAsText();
28 testRunner.waitUntilDone();
31 function crash() {
32 test1 = document.createElement('div');
33 test1.setAttribute('id', 'test1');
34 document.body.appendChild(test1);
35 test2 = document.createElement('div');
36 test2.setAttribute('id', 'test2');
37 test1.appendChild(test2);
38 document.body.offsetTop;
39 document.body.style.zoom = 2;
40 if (window.testRunner) {
41 GCController.collect();
42 eventSender.mouseMoveTo(500, 500);
43 testRunner.notifyDone();
46 window.onload = crash;
47 </script>
48 </body>
49 </html>