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 for (i
= 0; i
< 4; i
++)
25 moveSelectionForwardByCharacterCommand();
26 for (i
= 0; i
< 3; i
++)
27 extendSelectionForwardByCharacterCommand();
29 for (i
= 0; i
< 4; i
++)
30 moveSelectionForwardByCharacterCommand();
31 moveSelectionForwardByCharacterCommand();
32 pasteAndMatchStyleCommand();
37 <title>Editing Test
</title>
40 <div class=
"explanation">
41 <div class=
"scenario">
45 <a href=
"https://bugs.webkit.org/show_bug.cgi?id=3429"><http://bugzilla.opendarwin.org/show_bug.cgi?id=
3429></a> Text transformed with text-transform does not copy with transform applied
47 <div class=
"expected-results">
50 Should see the string
<pre>Foo Bar baz Bar
</pre> (case sensitive).
53 <div contenteditable
id=
"root" class=
"editing">
54 <span id=
"test"><span style=
"text-transform: capitalize;">foo bar
</span> baz
</span>