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

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

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Thu, 13 Oct 2005 19:46:51 +1000
Message-ID: <434E2D0B.4080101@lachy.id.au>
Hi,
   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.

[1] http://www.whatwg.org/specs/web-apps/current-work/#outlines

-- 
Lachlan Hunt
http://lachy.id.au/
Received on Thursday, 13 October 2005 02:46:51 UTC

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