9 border-left:
2px solid blue;
14 <script src=
"../../resources/dump-as-markup.js"></script>
15 <script src=
"../editing.js" language=
"JavaScript" type=
"text/JavaScript" ></script>
19 function editingTest() {
20 Markup
.description('rdar://problems/4038408&4154187&4125087&4125381, This tests deletion from underneath quoted text:');
22 Markup
.dump('test', 'before deletion');
24 // Move the caret to the end of #test
26 moveSelectionForwardByCharacterCommand();
28 // Delete the reply text
33 Markup
.dump('test', 'after deletion');
35 insertNewlineInQuotedContentCommand();
36 document
.execCommand("InsertText", false, "This text should not be quoted.");
38 Markup
.dump('test', 'after insert text');
43 <title>Editing Test
</title>
46 <p>Radar:
<a href=
"rdar://problems/4038408&4154187&4125087&4125381">rdar://problems/
4038408&
4154187&
4125087&
4125381</a>
47 Deletion of reply text should not produce reply text style unless the caret is inside the reply text blockquote.
</p>
48 <p>This tests deletion from underneath quoted text:
</p>
49 <div contenteditable
id=
"test" class=
"editing">
50 <div><BR class=
"khtml-block-placeholder"></div>
52 <blockquote style=
"color:blue;" type=
"cite">
53 <div>Here is some reply text
</div>
54 <div>It should have the reply text style
</div>
55 <div><BR class=
"khtml-block-placeholder"></div>
56 <div><BR class=
"khtml-block-placeholder"></div>
57 <div><BR class=
"khtml-block-placeholder"></div>
61 <div><BR class=
"khtml-block-placeholder"></div>