9 border: 2px solid blue;
14 .scenario { margin-bottom: 16px;}
15 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
16 .expected-results:first-line { font-weight: bold }
18 <script src="../editing.js"></script>
19 <script src="../../resources/dump-as-markup.js"></script>
20 <title>Editing Test</title>
23 <p id="description">When copying some text, under certain circumstances, empty style (or font) tags are created. This test checks that there is no empty <font> tag after 'foo' and before 'bar'.</p>
24 <div contenteditable id="root">
25 <div id="test" class="editing">
27 <div style="color: rgb(255, 0, 0);" >
34 Markup.description(document.getElementById('description').textContent);
36 setSelectionCommand(document.getElementById("test"),0,document.getElementById("test"),5);
38 Markup.dump('root', 'After copy');
41 Markup.dump('root', 'After paste');