[Webkit-unassigned] [Bug 73967] New: Copy/paste of the same content produces elements with verbose style

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 6 17:26:56 PST 2011


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

           Summary: Copy/paste of the same content produces elements with
                    verbose style
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: enrica at apple.com


Repro steps:

1. Go to http://www-archive.mozilla.org/editor/midasdemo/
2. Switch to the View HTML Source view
3. Enter the following markup: <b><i style="border: solid red">hello</i></b>
4. Switch to the non HTML source view
5. Select All, then Copy and Paste
6. Switch back to the HTML source view

Expected:
The markup is the same.

Actual:
The markup is: <b><i style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: red; border-right-color: red; border-bottom-color: red; border-left-color: red; border-width: initial; ">hello</i></b>

The border attribute is exploded in all possible border related attributes.
This seems to happen only for inline elements.

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



More information about the webkit-unassigned mailing list