blob: 9eedfefac9a809173c52dc2efb140a9de4b3acbb (
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
|
<!DOCTYPE html>
<html>
<body>
<p id="description">This tests deleting line break after pre.
WebKit should not cancel styles added by pre by those of document's default style.</p>
<div id="test" contenteditable>
<pre>hello</pre>
world
</div>
</div>
<script src="../editing.js"></script>
<script src="../../resources/dump-as-markup.js"></script>
<script>
function editingTest() {
moveSelectionForwardByLineCommand();
deleteCommand();
Markup.description(document.getElementById('description').textContent);
Markup.dump('test');
}
runEditingTest();
</script>
</body>
</html>
|