HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
2416[Conformance Checkers] Change the content model of <menu> to be simpler.2008-11-18 07:38
@@ -12047,25 +12047,22 @@ I first lived there):&lt;/p>
   <h4>The <dfn><code>li</code></dfn> element</h4>
 
   <dl class="element">
    <dt>Categories</dt>
    <dd>None.</dd>
    <dt>Contexts in which this element may be used:</dt>
    <dd>Inside <code>ol</code> elements.</dd>
    <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>
    <dt>DOM interface:</dt>
    <dd>
 <pre class="idl">interface <dfn>HTMLLIElement</dfn> : <span>HTMLElement</span> {
            attribute long <span title="dom-li-value">value</span>;
 };</pre>
    </dd>
   </dl>
@@ -35119,27 +35116,25 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
 
 
 
 
   <h4 id="menus">The <dfn><code>menu</code></dfn> element</h4>
 
   <dl class="element">
    <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>
    <dt>DOM interface:</dt>
    <dd>
 <pre class="idl">interface <dfn>HTMLMenuElement</dfn> : <span>HTMLElement</span> {
            attribute DOMString <span title="dom-menu-type">type</span>;
            attribute DOMString <span title="dom-menu-label">label</span>;
 };</pre>
   </dl>
@@ -35286,20 +35281,23 @@ menu li:not(:first-child)::before { content: ' | '; }</pre>
   </menu>
   <menu label="Bar">
    <select name="bar" onchange="form.submit()">
      ...
    </select>
    <button>Go</button>
   </menu>
  </menu>
 </form>
 
+
+explain that only direct children of the <menu> matter
+
 -->
 
 
   <h5><dfn>Building menus and tool bars</dfn></h5>
 
   <p>A menu (or tool bar) consists of a list of zero or more of the
   following components:</p>
 
   <ul class="brief">
    <li><span title="concept-command">Commands</span>, which can be marked as default commands</li>

|