[Webkit-unassigned] [Bug 51082] New: execCommand('JustifyCenter') adds extra BR

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 14 18:16:10 PST 2010


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

           Summary: execCommand('JustifyCenter') adds extra BR
           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: rniwa at webkit.org
                CC: darin at apple.com, tony at chromium.org,
                    jparent at google.com, ojan at chromium.org,
                    rolandsteiner at chromium.org, tkent at chromium.org,
                    enrica at apple.com


execCommand('JustifyCenter') and any other editing command that modifies the CSS block properties will add an extra BR at the end of block.

e.g. justifying center: "hello" yields <div style="text-align: center;">hello<br></div> as supposed to <div style="text-align: center;">hello<br></div>.

This is a primary reason WebKit is scoring so low on http://www.browserscope.org/richtext2/test.

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