W3C home > Mailing lists > Public > www-html-editor@w3.org > July to September 2004

WD-xhtml2-20040722: Allow separators within navigation lists

From: Dave Hodder <dmh@dmh.org.uk>
Date: Tue, 27 Jul 2004 18:29:09 +0100
Message-ID: <410690E5.6030107@dmh.org.uk>
To: www-html-editor@w3.org

Hello again,

I would like to suggest a form of separator element, similiar to 
<separator/>, but specifically to place a break within the list items of 
a navigation list.  One possible name for the element would be 
<liseparator/>.  Typical usage:

     <nl>
         <label>Maintenance</label>
         <li>User maintenance</li>
         <li>Team maintenance</li>
         <liseparator/>
         <li>Log out</li>
     </nl>

On a visual user agent that implements navigation lists as drop-down 
menus, the above might look something like the following:

     ,-------------.
     | Maintenance |
     |--------------------.
     |  User maintenance  |
     |  Team maintenance  |
     |--------------------|
     |  Log out           |
     `--------------------'

The content models for nl and liseparator would thus be:

     Elements       Attributes    Minimal Content Model
     -----------    ----------    --------------------------------
     nl             Common        label , li+, (li | liseparator)*
     liseparator    Common        EMPTY

Regards,

Dave
Received on Tuesday, 27 July 2004 13:29:39 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:14:52 UTC