2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / editing / deleting / delete-block-merge-contents-023.html
blob7ed224b6b66d85938c8c9b2d2d4b7719be20f275
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 .explanation {
11 border: 2px solid blue;
12 padding: 12px;
13 font-size: 24px;
14 margin-bottom: 24px;
16 </style>
17 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
19 <script>
21 function editingTest() {
22 extendSelectionForwardByLineCommand();
23 extendSelectionForwardByLineCommand();
24 deleteCommand();
27 </script>
29 <title>Editing Test</title>
30 </head>
31 <body contenteditable="true">
32 <div class="explanation">
33 Should see "XX" in a yellow box nested in a red box.
34 </div>
36 <div id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
37 <div id="test" class="editing">
39 <div style="border-style:solid; border-color: yellow;">
40 should not see this content<div>XX</div></div>
41 </div>
42 </div>
43 </div>
45 <script>
46 runEditingTest();
47 </script>
49 </body>
50 </html>