gotoAnchor

Ivor Hewitt ivor at ivor.org
Wed Jun 8 11:02:47 BST 2005


On Wednesday 08 Jun 2005 10:52, Maciej Stachowiak wrote:
> On Jun 2, 2005, at 2:18 PM, Ivor Hewitt wrote:
> > Hi,
> >
> > Right my svn annotate finally finished ....
> >
> > There's a anchor "fudge" factor in gotoAnchor:-
> >
> >     197478    mueller   d->m_view->setContentsPos(gox, y-20);
> >
> > So the goto jumps to a position just above the anchor rather than
> > to the
> > anchor.
> >
> > The changelog says:-
> >
> >     r197478 | mueller | 2003-01-04 20:59:53 +0000 (Sat, 04 Jan
> > 2003) | 2 lines
> >     fixing my favourite bug: anchor handling on google.com groups
> >
> > Is this vertical fudge really needed? I've just had a quick test
> > with groups
> > and it seems to work as designed.
>
> In WebCore we took out the fudge a while back and have not had any
> problems. I think the fudge is a bug and you can take it out safely.
>
Hi Maciej,

Yeah Allan whipped it out of the code quietly while I wasn't looking.

Regards,

-- 
Ivor Hewitt.
http://www.ivor.it - tech | http://www.ivor.org - hedge




More information about the kfm-devel mailing list