10 border: 2px solid blue;
15 .scenario { margin-bottom: 16px;}
16 .scenario:first-line { font-weight: bold; margin-bottom: 16px;}
17 .expected-results:first-line { font-weight: bold }
19 <script src=../editing.js language="JavaScript" type="text/JavaScript" ></script>
23 function editingTest() {
24 extendSelectionForwardByLineCommand();
27 typeCharacterCommand("a")
28 pasteAndMatchStyleCommand();
33 <title>Editing Test</title>
37 <div class="explanation">
38 <div class="scenario">
41 Pasting and matching style.
43 <div class="expected-results">
46 The pasted letter should match the style of the preexisting bold letter. Should see this content in the red box below:
52 <div contenteditable id="root" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
53 <div id="test" class="editing">