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();
31 <title>Editing Test</title>
35 <div class="explanation">
36 <div class="scenario">
39 Pasting styles we should not remove during the "smoosh styles" process. This tests the fix for
40 <a href="rdar://problem/3972665"><rdar://problem/3972665></a> 8A360: HTML message partially truncated on left hand side, text-indent from Script Editor
42 <div class="expected-results">
45 Should see this content in the red box below: foo. Note that there should be no visible indent.
47 This demonstrates <a href="http://bugs.webkit.org/show_bug.cgi?id=8726">a bug</a>, the caret is one pixel off.
51 <div contenteditable id="root" spellcheck="false" style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space;">
52 <div id="test" class="editing">
53 <div style="margin-left: 40px; text-indent: -40px">