Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / pasteboard / 4076267.html
blob6fa1585db2b4d9431d8e77c15d616b748a27d2c4
1 <html>
2 <head>
4 <script src=../editing.js language="JavaScript" type="text/JavaScript"></script>
6 <script>
8 function editingTest() {
9 moveSelectionForwardByCharacterCommand();
10 extendSelectionForwardByLineCommand();
11 copyCommand();
12 deleteCommand();
13 deleteCommand();
14 pasteAndMatchStyleCommand();
17 </script>
19 <title>Pasting plain text loses leading/trailing whitespace</title>
20 </head>
21 <body>
23 <p>This tests to see if leading spaces are lost during a copy/paste</p>
25 <hr>
27 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
28 <div id="test" class="editing">. this text should have a single leading space before it</div>
29 </div>
31 <script>
32 runEditingTest();
33 </script>
35 </body>
36 </html>