Bug 12466

Summary: Letter-spacing conflicts with centering and carriage-return
Product: WebKit Reporter: David Latapie <david>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WONTFIX    
Severity: Normal CC: mitz, robert
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
illuminated testcase - long but outstanding none

Description David Latapie 2007-01-29 14:19:49 PST
In the attached document, the first line, “Bereshit bara” is not optically centered, as evidence by the border-bottom (I ruled out the optical illusion of the uppercase leading “B”.

It is metrically centered, but fails the optical test because the letter-spacing is taken into consideration for the last letter, while it should not be, from a human point of view (from a computer point of view, everything is OK).

Suggestion: center the letters in their spacing (just select a letter with the mouse; the highlighting will show you the exact position of the letter in its box)
Comment 1 David Latapie 2007-01-29 14:25:44 PST
Created attachment 12761 [details]
illuminated testcase - long but outstanding

This attachment provides more than the bare minimum, but my experience showed me that the bare minimum makes the problem not so readable.

You have three gauges heres: <title>, border-bottom and a 80 characters monospaced rule; text-align justify also helps a little. Feel free to write a smalle one (as long as you have some letter-spacing and, preferably a two-liners, that should work)
Comment 2 David Kilzer (:ddkilzer) 2007-01-29 14:49:26 PST
Confirmed with locally-built debug build of WebKit r19232 with Safari 2.0.4 (419.3) on Mac OS X 10.4.8 (8L127).

Comment 3 Robert Hogan 2013-07-27 01:40:53 PDT
I really can't see us fixing this without a change to the spec. I suggest raising it on www-style.
Comment 4 David Latapie 2013-07-27 03:54:20 PDT
I posted this six years ago. From what I see now, the behaviour is OK for me (even if Firefox show it a bit differntly, both are fine for me).
Is it fixed or is my memory and eyesight wearing out, I can't say.