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>
19 <script src=
"../../resources/dump-as-markup.js"></script>
20 <title>Editing Test
</title>
24 <div id=
"expected" class=
"expected-results">
25 <ul style=
"text-align:right;"><li>A
</li></ul>
37 <div contenteditable
id=
"root" style=
"word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
38 <div id=
"test" class=
"editing">
39 <ul style=
"text-align:right;"><li>A
</li></ul>
53 function editingTest() {
54 for (i
= 0; i
< 3; i
++)
55 extendSelectionForwardByLineCommand();
58 Markup
.description('Bug fix for <a href="rdar://problem/4039777"><rdar://problem/4039777></a> Pasting particular snippet of HTML containing list items and a link creates too many list items');
59 Markup
.dump('expected', 'Expected result');
60 Markup
.dump('test', 'Actual result');
63 runDumpAsTextEditingTest(true);