[Webkit-unassigned] [Bug 81737] New: Editing should use shorthand notations when generating inline styles

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 20 21:33:11 PDT 2012


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

           Summary: Editing should use shorthand notations when generating
                    inline styles
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: rniwa at webkit.org
                CC: sullivan at apple.com, enrica at apple.com
            Blocks: 12319


Takes an example from 12319. Copying some text from TextEdit in the rich format mode results in verbose inline styles such as:
<p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font-family: Helvetica; font-size: 12px; ">this is line one</p>

It could be

<p style="margin: 0px; font-family: Helvetica; font-size: 12px; ">this is line one</p>

instead.

-- 
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