[Webkit-unassigned] [Bug 101848] REGRESSION (r133351): Layout issues at bugs.webkit.org, all standard buttons have incorrect text baseline

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 10 09:53:01 PDT 2013


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





--- Comment #10 from Zalan Bujtas <zalan at apple.com>  2013-04-10 09:51:15 PST ---
(In reply to comment #9)
> It’s unfortunate that the rounding is in code shared by all text rendering rather than in code specific to the buttons. But I think that rounding up and to the left would likely be better than down and to the right. We could start by patching InlineTextBox::paint, if necessary, in an ugly way, to round the other direction, and see what test results that affects.
> 
> Where does the paint offset come from, in this case, by the way? Maybe there’s an opportunity to round there too.
This particular offset value is calculated at http://trac.webkit.org/browser/trunk/Source/WebCore/rendering/RenderFlexibleBox.cpp#L854
where the alignment space is distributed. (18px-13px)/2 ->2.5px

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