Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / deleting / smart-delete-001.html
blob9b8adc1057617537a1dd111321e1224cfe4ac311
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 font-size: 24px;
9 .explanation {
10 border: 2px solid blue;
11 padding: 12px;
12 font-size: 24px;
13 margin-bottom: 24px;
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
18 </style>
19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
21 <script>
23 function editingTest() {
24 doubleClickAtSelectionStart();
25 deleteCommand();
28 </script>
30 <title>Editing Test</title>
31 </head>
32 <body>
34 <div class="explanation">
35 <div class="scenario">
36 Tests:
37 <br>
38 Smart delete when deleting the first word on a line.
39 </div>
40 <div class="expected-results">
41 Expected Results:
42 <br>
43 The first word and the space following the first word should be deleted. It should like this this:
44 <BR>
45 bar baz
46 </div>
47 </div>
49 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
50 <div id="test" class="editing">
51 foo bar baz
52 </div>
53 </div>
55 <script>
56 runEditingTest();
57 </script>
59 </body>
60 </html>