Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-grid-layout / stale-grid-layout-2.html
blobeadda6b6006e723f29b47e74f39aa087fea62616
1 <!DOCTYPE html>
2 <span style="display: grid" contenteditable=plaintext-only>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function crash() {
8 if (!window.eventSender)
9 return;
10 eventSender.keyDown("\t");
11 eventSender.keyDown("X");
12 document.designMode = 'on';
13 document.execCommand("InsertHTML", false, "<div>");
15 document.addEventListener("DOMContentLoaded", crash, false);
16 </script>The test checks that we don't leave stale pointers into the internal grid representation.<br> This test has PASSED if it didn't crash under ASAN.