1<!DOCTYPE html>
2<html>
3<body>
4<div id="container" contenteditable>
5<blockquote style="background-color:yellow"><br><font style="color:blue"><br> world
6</font></blockquote>
7</div>
8<script src="../../resources/dump-as-markup.js"></script>
9<script>
10
11Markup.description('This tests deleting a line inside a font element inside a blockquote.')
12
13var font = document.querySelector('font');
14getSelection().collapse(font, 0);
15getSelection().modify('Extend', 'Forward', 'Line');
16document.execCommand('Delete', false, null);
17document.execCommand('InsertText', false, 'hello');
18
19Markup.dump('container', 'There should be exactly one blockquote and you should see "hello world" below')
20
21</script>
22</body>
23</html>