[Webkit-unassigned] [Bug 13282] REGRESSION (NativePopUp): Right-most character cut-off in pop-up menu

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 5 00:38:49 PDT 2007


------- Comment #3 from mitz at webkit.org  2007-04-05 00:38 PDT -------
There's an inconsistency between how option text is measured and how it's

void RenderMenuList::updateOptionsWidth()
    // FIXME: There is no longer any reason to use a text style with the font
hacks disabled.
    // It is a leftover from when the text was not drawn with the engine -- now
that we render
    // with the engine, we can just use the default style as the engine does.
    TextStyle textStyle(0, 0, 0, false, false, false, false);

Using a plain TextStyle instead fixes the bug but has the side effect of not
matching the popup menu's width, since AppKit obviously doesn't perform the
rounding hack. So that just moves the inconsistency to a different place. A
better solution would be to disable the rounding hack also when drawing the
button text.

Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list