Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / 4278698.html
blobeda40cc855a33f0104be66571ce67733319fa242
1 <html>
2 <head>
4 <link rel=stylesheet href="../editingStyle.css" type="text/css">
5 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
7 <script>
9 function editingTest() {
10 moveSelectionForwardByCharacterCommand();
11 moveSelectionForwardByCharacterCommand();
12 typeCharacterCommand(' ');
15 </script>
17 <title>Adding a space inside whitespace:pre text collapses space</title>
18 </head>
19 <body>
21 <p>This tests to see if inserting a space inside normal whitespace inside of a whitespace:pre element will collapse other spaces surrounding it.</p>
22 <p>If successful, you should see 'a' followed by 10 spaces followed by 'b'.</p>
24 <hr>
26 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
27 <pre id="test" class="editing">a b</pre>
28 </div>
30 <script>
31 runEditingTest();
32 </script>
34 </body>
35 </html>