W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2005

[whatwg] [WA1] Error in Example, Section: Creating an outline

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 14 Oct 2005 21:05:50 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0510142105420.23945@dhalsim.dreamhost.com>
On Thu, 13 Oct 2005, Lachlan Hunt wrote:
>
>   There's a minor error in the example NodeFilter function in section
> 2.5.11.1. Creating an outline. [1]
> 
>   ...
>   if ((n.namespaceURI == 'http://www.w3.org/1999/xhtml') &&
>       (n.localName == 'body' || /*n.localName == 'blockquote' ||*/
>        n.localName == 'section' || n.localName == 'navigation' ||
>        ...
> 
> 'navigation' should be 'nav' instead.

Fixed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 14 October 2005 14:05:50 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC