Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2009 17:54:50 +0100
From:      "Simon L. Nielsen" <simon@FreeBSD.org>
To:        Giorgos Keramidas <keramida@freebsd.org>
Cc:        doc-committers@freebsd.org, cvs-doc@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: www/en where.sgml
Message-ID:  <20091108165450.GB1245@arthur.nitro.dk>
In-Reply-To: <874opadmfu.fsf@kobe.laptop>
References:  <200911020053.nA20rDBO051559@repoman.freebsd.org> <20091104203116.GA1341@arthur.nitro.dk> <874opadmfu.fsf@kobe.laptop>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2009.11.04 23:12:05 +0200, Giorgos Keramidas wrote:
> On Wed, 4 Nov 2009 21:31:17 +0100, "Simon L. Nielsen" <simon@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091108165450.GB1245>