[Webkit-unassigned] [Bug 37261] White space preceding a <br> affects layout of center or right aligned preceding line

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 3 14:21:13 PDT 2010


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





--- Comment #17 from Dave Hyatt <hyatt at apple.com>  2010-06-03 14:21:11 PST ---
A couple of comments:

(1) As you can see from my original code comment, this behavior of retaining the space before a <br> was actually deliberate.  At the time (many years ago), I was definitely matching some other browser's behavior (probably Firefox).  Have you verified that both IE for Windows and Firefox discard the spaces before a <br>?

(2) Have you tested HTML editing with this patch in place?  My concern is that the editing code may open a sequence of alternating nbsps and spaces with a space, and that when you insert a br after that space, that space would suddenly disappear.  It may be that editing opens with nbsp when you first type a space, but it might not.

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