Bug 25733

Summary: Background color not copied when entire selection has background color applied
Product: WebKit Reporter: Annie Sullivan <sullivan>
Component: HTML EditingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: eric, jparent, michaelthomas
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.mozilla.org/editor/midasdemo/

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.