[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
Sun Oct 10 19:55:53 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37261
--- Comment #31 from Xianzhu Wang <phnixwxz at gmail.com> 2010-10-10 19:55:52 PST ---
(In reply to comment #30)
Thanks Adam very much for your attention.
I just reviewed the example web pages. 3 of them (http://americanas.com.br/, http://www.pagesjaunes.fr/ and http://www.laposte.net/) still have problems, and the other 4 changed their layout or contents and the original problems couldn't be found.
The problems of the web pages are: some headings are expected center-aligned, but some lines are not actually at the center of the containing block, but are shifted to the left because of the spaces before <br>s, like the following:
ABCDEFG
HIJKLM
I think many web developers knowing this issue will avoid spaces before <br>s to get good rendering in all browsers. However, this is an extra burden when formatting HTML source code, especially when we are using a automatic formatting tool, because we must manually remove some spaces that are automatically added by the tool.
Besides alignment, the extra spaces also sometimes effect the width of the containing block.
--
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