Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / unsupported-content / list-delete-003.html
blob4edd9146a28f674928273b09f164a5659d5f19b0
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 font-size: 24px;
9 .explanation {
10 border: 4px solid blue;
11 padding: 16px;
12 font-size: 18px;
13 margin-bottom: 10px;
15 .scenario:first-line { font-weight: bold; font-size: 24px; }
16 .expected:first-line { font-weight: bold; font-size: 24px; }
17 .results { margin-bottom: 10px; border: 2px solid green; font-size: 24px; }
18 </style>
19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
21 <script>
23 function editingTest() {
24 for (i = 0; i < 5; i++)
25 extendSelectionForwardByLineCommand();
26 for (i = 0; i < 5; i++)
27 extendSelectionBackwardByCharacterCommand();
28 deleteCommand();
31 </script>
33 <title>Editing Test</title>
34 </head>
35 <body>
37 <div class="explanation">
38 <div class="scenario">
39 Tests:
40 <br>
41 Our ability to "edit around" content the HTML editing code does not yet handle very well.
42 <br><i>For this test: </i>Select and delete a list and some surrounding content.
43 </div>
44 <br>
45 <div class="expected">
46 Expected Results:
47 <br>
48 The content in the red box must exactly match the content in the green box (except for the border color).
49 <br><i>For this test: </i>Only selected content should get deleted.
50 Surrounding content that is not selected should (obviously) not be affected.
51 </div>
52 </div>
54 <div class="results">
55 after
56 </div>
58 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
59 <div id="test" class="editing">
60 before
61 <ul>
62 <li>line one</li>
63 <li>line two</li>
64 <li>line three</li>
65 </ul>
66 after
67 </div>
68 </div>
70 <script>
71 runEditingTest();
72 </script>
74 </body>
75 </html>