Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / accessibility / corresponding-control-deleted-crash.html
blobb35c787be971ef9a7b8679828142f9cd4d52add2
2 <!DOCTYPE html>
3 <html>
4 <head>
5 <script src="../resources/js-test.js"></script>
6 </head>
7 <body>
9 <p id="description"></p>
10 <div id="console"></div>
12 <script>
13 description("Make sure that a debug assert is not triggered when a call to LayoutBlockFlow::deleteLineBoxTree calls AccessibilityRenderObject::accessibilityIsIgnored which may require the AXObject for a node that is being deleted.");
15 var label = document.createElement('label');
16 label.style.position = 'fixed';
17 document.body.appendChild(label);
19 var progress = document.createElement('progress');
20 progress.style.display = 'block';
21 label.appendChild(progress);
23 var kbd = document.createElement('kbd');
24 label.appendChild(kbd);
26 var labelShadow = label.createShadowRoot();
28 var select = document.createElement('select');
29 select.setAttribute('multiple', 'multiple');
30 labelShadow.appendChild(select);
32 var shadow = document.createElement('shadow');
33 labelShadow.appendChild(shadow);
35 select.focus();
37 document.body.removeChild(label);
39 </script>
40 </body>
41 </html>