5 testRunner
.dumpEditingCallbacks();
11 var tbl1
= document
.getElementById('tbl1');
12 var tbl2
= document
.getElementById('tbl2');
13 var selection
= window
.getSelection();
18 <script src=../editing.js
language=
"JavaScript" type=
"text/JavaScript" ></script>
20 <body onload=
"test()" contenteditable
>
21 <table id=
"tbl1" contenteditable=false
>
23 <td>This tests that a style can be applied to a selection that contains both editable and non-editable content.
26 <span contenteditable
>Editable - line
1</span>
30 <table id=
"tbl2" contenteditable=false
>
32 <td>The test passes if the editable content is bold, and the non editable content remains unchanged.
35 <span contenteditable
>Editable - line
2</span>