| <!DOCTYPE html> |
| <keygen> |
| <div style="display: grid;">The test checks that we don't add non-children of the grid into the grid representation<br>This test has passed if it didn't crash under ASAN. |
| <embed type=something-not-js> |
| </div> |
| <style> |
| embed { position: absolute; } |
| .c1 { animation-delay: 45762s; } |
| </style> |
| <script> |
| if (window.testRunner) |
| testRunner.dumpAsText(); |
| |
| function crash() { |
| var highlight = document.createElementNS("http://www.w3.org/1999/xhtml", "highlight"); |
| highlight.setAttribute("class", "c1"); |
| document.body.appendChild(highlight); |
| |
| for (i=0; i != 8; i++) |
| eventSender.keyDown("\t"); |
| eventSender.keyDown("X"); |
| } |
| |
| if (!window.eventSender) |
| alert("This test needs to be run under DumpRenderTree."); |
| else |
| document.addEventListener("DOMContentLoaded", crash, false); |
| </script> |