RESOLVED DUPLICATE of bug 11013 25733
Background color not copied when entire selection has background color applied
https://bugs.webkit.org/show_bug.cgi?id=25733
Summary Background color not copied when entire selection has background color applied
Annie Sullivan
Reported 2009-05-12 11:34:42 PDT
STEPS TO REPRODUCE: 1. Go to Midas Demo: http://www.mozilla.org/editor/midasdemo/ 2. Enter the following text: onetwothree 3. Select all text and change the background color to green. 4. Select "two" or all of "onetwothree" and copy. 5. Paste onto a new line. ACTUAL RESULT: Pasted "two" or "onetwothree" has no background color. Resulting HTML: <span class="Apple-style-span" style="background-color: rgb(51, 255, 51);">onetwothree</span><div><br></div><div>two</div> EXPECTED RESULT: Pasted "two" or "onetwothree" has green background color. This is the behavior of Firefox and IE. Expected HTML: <span class="Apple-style-span" style="background-color: rgb(51, 255, 51);">onetwothree</span><div><br></div><div><span class="Apple-style-span" style="background-color: rgb(51, 255, 51);">two</span></div>
Attachments
Julie Parent
Comment 1 2009-12-15 16:32:05 PST
*** This bug has been marked as a duplicate of bug 11013 ***
Note You need to log in before you can comment on or make changes to this bug.