[Webkit-unassigned] [Bug 25733] New: Background color not copied when entire selection has background color applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 12 11:34:42 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=25733

           Summary: Background color not copied when entire selection has
                    background color applied
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
               URL: http://www.mozilla.org/editor/midasdemo/
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: sullivan at google.com
                CC: eric at webkit.org, jparent at google.com


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>


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list