Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / inserting / typing-around-br-001.html
blobbba7f54f7e4358fe4b8381ea7ef45f881d200b8a
1 <html>
2 <head>
4 <style>
5 .editing {
6 border: 2px solid red;
7 padding: 12px;
8 font-size: 24px;
10 </style>
11 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
13 <script>
15 function moveNSpacesAndType(n) {
16 for (i = 0; i < n; i++) {
17 moveSelectionForwardByCharacterCommand();
19 for (i = 0; i < 3; i++) {
20 typeCharacterCommand();
24 function editingTest() {
25 moveNSpacesAndType(2);
26 moveNSpacesAndType(3);
27 moveNSpacesAndType(1);
28 moveNSpacesAndType(3);
29 moveNSpacesAndType(1);
30 moveNSpacesAndType(1);
31 moveNSpacesAndType(1);
32 moveNSpacesAndType(3);
35 </script>
37 <title>Editing Test</title>
38 </head>
39 <body>
40 <div contenteditable id="root" class="editing">
41 <span id="test">XX<br>XX<br><br>XX<br><br><br><br>XX</span>
42 </div>
44 <script>
45 runEditingTest();
46 </script>
48 </body>
49 </html>