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 language="JavaScript" type="text/JavaScript" ></script>
22 function editingTest() {
23 moveSelectionForwardByLineCommand();
25 typeCharacterCommand(' ');
26 typeCharacterCommand('f');
27 typeCharacterCommand('o');
28 typeCharacterCommand('u');
29 typeCharacterCommand('r');
30 moveSelectionBackwardByLineCommand();
31 extendSelectionForwardByWordCommand();
33 moveSelectionForwardByWordCommand();
34 moveSelectionForwardByWordCommand();
35 moveSelectionForwardByWordCommand();
41 <title>Editing Test</title>
45 <div class="explanation">
46 <div class="scenario">
49 Pasting at style boundary does not crash or produce empty style span(s).
51 <div class="expected-results">
54 Should see this content in the red box below:
55 <br><div>one two three <b>four</b>one</div>
59 <div contenteditable id="root">
60 <div id="test" class="editing">one two three</div>