summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/editing/deleting/delete-line-009.html
blob: 84e797c1d8bf5cc114480431d1948070d97e9237 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<html> 
<head>

<style>
.editing { 
    font-size: 24px; 
    width: 600px; 
}
</style>
<script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>

<script>

function editingTest() {
    extendSelectionForwardByLineCommand();    
    extendSelectionForwardByLineCommand();
    extendSelectionBackwardByCharacterCommand();
    deleteCommand(); 
}

</script>

<title>Editing Test</title> 
</head> 
<body contenteditable id="root">
<div id="test" class="editing">There is a tide<br>in the affairs of men</div>
<div class="editing">Which taken at the flood</div>
<script>
runEditingTest();
</script>

</body>
</html>