Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / insert-character-in-overflow-crash.html
blobfb2cca84d08cd273a46e2634a3b270e8b39a74fa
1 <div id="container">
2 <div contenteditable="true" id="sample" style="overflow: hidden;"></div>
3 </div>
4 <script>
5 var elem = document.getElementById('sample');
6 var selection = window.getSelection();
7 selection.collapse(elem, 0);
8 document.execCommand('InsertText', false, String.fromCharCode(0x0E1B));
9 document.execCommand('InsertText', false, String.fromCharCode(0x0E44));
10 if (window.testRunner) {
11 testRunner.dumpAsText();
12 document.body.textContent = 'PASS; NOT CRASHED';
14 </script>