Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / execCommand / justify-right-crash.html
blob26059ef5059df0dae905a0913a1a7b819fc2003a
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 onload = function() {
9 // Insert "body" element into "div" element. Simple repetition of "body"
10 // element or renaming "body" to "div" doesn't reproduce bug.
11 var targetNode = document.getElementById('target');
12 targetNode.appendChild(document.body.cloneNode(true));
14 document.designMode = 'on';
15 document.execCommand('SelectAll');
16 document.execCommand('JustifyRight');
17 document.body.textContent = 'PASS if Blink doesn\'t crash.';
19 </script>
20 </head>
21 <body>
22 <textarea></textarea>
23 <span></span>
24 <div id="target" style="display:inline-table">foo</div>
25 </body>
26 </html>