mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
(no bug) fix typo in nsGfxButtonControlFrame.cpp comment: s/nsHTMLButtonFrame/nsHTMLButtonControlFrame/
DONTBUILD
This commit is contained in:
parent
d18d451240
commit
08c35098b9
@ -165,10 +165,10 @@ nsGfxButtonControlFrame::GetLabel(nsXPIDLString& aLabel)
|
||||
// fixed width for the button we run into trouble because our focus-rect
|
||||
// border/padding and outer border take up 10px of the horizontal button
|
||||
// space or so; the result is that the text is misaligned, even with the
|
||||
// recentering we do in nsHTMLButtonFrame::Reflow. So to solve this, even
|
||||
// if the whitespace is significant, single leading and trailing _spaces_
|
||||
// (and not other whitespace) are removed. The proper solution, of
|
||||
// course, is to not have the focus rect painting taking up 6px of
|
||||
// recentering we do in nsHTMLButtonControlFrame::Reflow. So to solve
|
||||
// this, even if the whitespace is significant, single leading and trailing
|
||||
// _spaces_ (and not other whitespace) are removed. The proper solution,
|
||||
// of course, is to not have the focus rect painting taking up 6px of
|
||||
// horizontal space. We should do that instead (via XBL form controls or
|
||||
// changing the renderer) and remove this.
|
||||
aLabel.Cut(0, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user