NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 335 - Change the content model of <menu> to be simpler.
Change the content model of <menu> to be simpler.
Status: RESOLVED INTENTIONAL
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
http://svn.whatwg.org/webapps/source?...
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-24 22:03 CET by Henri Sivonen
Modified: 2013-06-29 13:31 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Henri Sivonen 2008-11-24 22:03:04 CET
Index: source
===================================================================
--- source	(revision 2415)
+++ source	(revision 2416)
@@ -12054,11 +12054,8 @@
    <dd>Inside <code>ul</code> elements.</dd>
    <dd>Inside <code>menu</code> elements.</dd>
    <dt>Content model:</dt>
-   <dd>When the element is a child of a <code>menu</code> element: <span>phrasing content</span>.</dd>
-<!--XXXSPAN
-   <dd>When the element is a child of an <code>ol</code> or <code>ul/code> element that is itself the child of a <code>span</code> element: <span>phrasing content</span>.</dd>
--->
-   <dd>Otherwise: <span>flow content</span>.</dd>
+   <dd><!--XXXSPANWhen the element is a child of an <code>ol</code> or <code>ul/code> element that is itself the child of a <code>span</code> element: <span>phrasing content</span>.</dd>
+   <dd>Otherwise: --><span>flow content</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd>If the element is a child of an <code>ol</code> element: <code title="attr-li-value">value</code></dd>
    <dd>If the element is not the child of an <code>ol</code> element: None.</dd>
@@ -35126,13 +35123,11 @@
    <dt>Categories</dt>
    <dd><span>Flow content</span>.</dd>
    <dd>If the element's <code title="attr-menu-type">type</code> attribute is in the <span title="tool bar state">tool bar</span> state: <span>Interactive content</span>.</dd>
-   <dd>If there is a <code>menu</code> element ancestor: <span>phrasing content</span>.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Where <span>flow content</span> is expected.</dd>
-   <dd>If there is a <code>menu</code> element ancestor: where <span>phrasing content</span> is expected.</dd>
    <dt>Content model:</dt>
    <dd>Either: Zero or more <code>li</code> elements.</dd>
-   <dd>Or: <span>Phrasing content</span>.</dd>
+   <dd>Or: <span>Flow content</span>.</dd>
    <dt>Element-specific attributes:</dt>
    <dd><code title="attr-menu-type">type</code></dd>
    <dd><code title="attr-menu-label">label</code></dd>
@@ -35293,6 +35288,9 @@
  </menu>
 </form>
 
+
+explain that only direct children of the <menu> matter
+
 -->
Comment 1 Michael[tm] Smith 2013-06-29 13:31:46 CEST
Stale. Spec has changed.