Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / update-from-element-during-editing-crash-2.html
blob2e717b2653e4eb0f29cd31343445b9cefa1b0771
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <style>
5 div + * {}
6 </style>
7 <p id="container"><textarea>a
8 </textarea></p>
9 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 var textarea = document.getElementsByTagName('textarea')[0];
15 textarea.focus();
16 textarea.selectionStart = 1;
17 textarea.selectionEnd = 1;
18 document.execCommand('InsertLineBreak', false, null);
20 document.body.innerText = "This test verifies WebKit doesn't crash even if the DOM changes in shadow DOM caused the shadow host's style to change.\nPASS";
22 </script>
23 </body>
24 </html>