Skip to content

Commit

Permalink
[e] (0) adding notes for menu construction.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@974 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 6, 2007
1 parent 58929bb commit 099df58
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -22003,6 +22003,14 @@ XXX selection ranges -->
<dd><a href="#ignored">Ignore</a> the node.
</dl>

<p class=issue>We should support <code>label</code> in the algorithm above
-- just iterate through the contents like with <code><a
href="#li">li</a></code>, to support <code>input</code> elements in
<code>label</code> elements. Also, <code>optgroup</code> elements without
labels should be ignored (maybe? or at least should say they have no label
so that they are dropped below), and <code>select</code> elements inside
<code>label</code> elements may need special processing.

<p>Once all the nodes have been processed as described above, the user
agent must the post-process the menu as follows:

Expand Down
9 changes: 9 additions & 0 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -19628,6 +19628,15 @@ XXX selection ranges -->

</dl>

<p class="issue">We should support <code>label</code> in the
algorithm above -- just iterate through the contents like with
<code>li</code>, to support <code>input</code> elements in
<code>label</code> elements. Also, <code>optgroup</code> elements
without labels should be ignored (maybe? or at least should say they
have no label so that they are dropped below), and
<code>select</code> elements inside <code>label</code> elements may
need special processing.</p>

<p>Once all the nodes have been processed as described above, the
user agent must the post-process the menu as follows:</p>

Expand Down

0 comments on commit 099df58

Please sign in to comment.