cvs commit: www/en where.sgml

Simon L. Nielsen simon at FreeBSD.org
Sun Nov 8 16:54:52 UTC 2009


On 2009.11.04 23:12:05 +0200, Giorgos Keramidas wrote:
> On Wed, 4 Nov 2009 21:31:17 +0100, "Simon L. Nielsen" <simon at FreeBSD.org> wrote:
> > On 2009.11.02 00:53:13 +0000, Giorgos Keramidas wrote:
> >> keramida    2009-11-02 00:53:13 UTC
> >>
> >>   FreeBSD doc repository
> >>
> >>   Modified files:
> >>     en                   where.sgml
> >>   Log:
> >>   Add a #download link target to the appropriate section
> >>
> >>   This way we can link directly to the download section of the page
> >>   from other places (or post the link to emails, help answers, etc.)
> >
> > Was there a good reason to use those "empty" <a> tags compared to just
> > use id attributed on the header tags?  (There might very well be, I
> > simply can't remember, othar than remebering seeing those <a> tags
> > here and there in FreeBSD docs but never using it like that anywhere
> > else...)
> 
> I am not sure.
> 
> At first I thought that it was a workaround for browsers who scroll too
> aggressively when <h1 id="foo">, showing half of the title text.  But a
> small test with a manually patched html file shows that Firefox 3.5
> handles the id/name attributes correctly, showing the full text height
> of the <h1> element:
> 
>   http://people.freebsd.org/~keramida/link-id.png
> 
> I remember seeing browsers that do slide forward a bit too far, showing
> only parts of the <h1 id="foo" name="foo"> text.  But this may be a

OK, thanks for looking into it.

> browser bug that has been fixed a long time ago.

Sounds likely.

-- 
Simon L. Nielsen


More information about the cvs-doc mailing list