[Webkit-unassigned] [Bug 64013] REGRESSION: CJK characters causes floats to be misaligned

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 20 06:07:21 PDT 2011


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





--- Comment #11 from Philippe Wittenbergh <phiw at l-c-n.com>  2011-09-20 06:07:21 PST ---
(In reply to comment #10)
> I see this in FireFox as well, though I'm not convinced it is correct.  Is it in the spec?

It is correct per the spec. Depending on how your browsers are configured (which default font ?), the issue will be more or less visible. The intrinsic line-height for the roman text (Times maybe, or Helvetica maybe ?) is narrower / smaller than the line-height for the Japanese text - Hiragino Kaku gothic has an intrinsic line-height of about 1.5em, Times about 1.15em, Helvetica 1.05em). The line-box generated for your first floated box is thus much taller than the ones for the Roman text.

> At the least there should be a workaround.  How can I get the bottom line to float completely to the right?

Set the line-height ? or better 'clear:right' for the second float (basic things really)?


---
It doesn't help that WebKit does some hackery things with Helvetica and Times to have their (intrinsic) line-height match the one for Arial and Times New Roman - but that is still smaller than Jpn fonts.

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