W3C home > Mailing lists > Public > public-html@w3.org > January 2008

Contexts in which <menu> is allowed

From: Henri Sivonen <hsivonen@iki.fi>
Date: Sat, 12 Jan 2008 16:13:37 +0200
Message-Id: <797A4998-ECB0-408D-B268-9E4C1D97EA03@iki.fi>
To: HTMLWG WG <public-html@w3.org>

 From the draft:
> 3.18.4. The menu element
>
> Categories
>     Prose content.
>     If there is a menu element ancestor: phrasing content.

Is there a reason why the latter case isn't phrased as:
      As the only child of a li element whose parent is a menu element.
OR
      As a child of a li element whose parent is a menu element.
?

On the surface, either of those would yield more sensible trees than  
the current spec text. (Also, either of those would be significantly  
simpler to implement in RELAX NG...)

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/
Received on Saturday, 12 January 2008 14:13:48 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:38:52 UTC