Skip to content
Permalink
Browse files

[] (0) WF2: <datalist> element summary.

git-svn-id: http://svn.whatwg.org/webapps@2150 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
Hixie committed Sep 4, 2008
1 parent 40eb703 commit 332cebecd184742e7598d76318775aed688b1dab
Showing with 67 additions and 16 deletions.
  1. +46 −15 index
  2. +21 −1 source
61 index

<p class=big-issue>...

<h4 id=the-datalist><span class=secno>4.9.7 </span>The
<code>datalist</code> element</h4>
<h4 id=the-datalist><span class=secno>4.9.7 </span>The <dfn
id=datalist><code>datalist</code></dfn> element</h4>

<dl class=element>
<dt>Categories

<dd><a href="#phrasing0">Phrasing content</a>.

<dt>Contexts in which this element may be used:

<dd>Where <a href="#phrasing0">phrasing content</a> is expected.

<dt>Content model:

<dd><a href="#phrasing0">Phrasing content</a>.

<dt>Element-specific attributes:

<dd>None.

<dt>DOM interface:

<dd>
<pre
class=idl>interface <dfn id=htmlselectelement0>HTMLSelectElement</dfn> : <a href="#htmlelement">HTMLElement</a> {
readonly attribute <a href="#htmloptionscollection0">HTMLOptionsCollection</a> <span title=dom-select-options>options</span>;
};</pre>
</dl>

<p class=big-issue>...

<h4 id=the-optgroup><span class=secno>4.9.8 </span>The
<code>optgroup</code> element</h4>
<dd>Or: <a href="#flow-content0">Flow content</a>, but where the first
element child node, if any, is not a <code><a
href="#table">table</a></code>, <code><a
href="#select">select</a></code>, or <code>datalist</code> element.
href="#select">select</a></code>, or <code><a
href="#datalist">datalist</a></code> element.

<dd>Or: A single <code><a href="#table">table</a></code> element.

<dd>Or: A single <code><a href="#select">select</a></code> element.

<dd>Or: A single <code>datalist</code> element.
<dd>Or: A single <code><a href="#datalist">datalist</a></code> element.

<dt>Element-specific attributes:

affect the sort order.</p>

<dt>While the first element child is a <code><a
href="#select">select</a></code> or <code>datalist</code> element
href="#select">select</a></code> or <code><a
href="#datalist">datalist</a></code> element

<dd>
<p>The default data provider must return 1 for the column count, the
<p>For the rows, assume the existence of a node filter view of the
descendants of the first element child of the <code><a
href="#datagrid0">datagrid</a></code> element (the <code><a
href="#select">select</a></code> or <code>datalist</code> element), that
skips all nodes other than <code>optgroup</code> and <code>option</code>
elements, as well as any descendents of any <code>option</code>
elements.</p>
href="#select">select</a></code> or <code><a
href="#datalist">datalist</a></code> element), that skips all nodes
other than <code>optgroup</code> and <code>option</code> elements, as
well as any descendents of any <code>option</code> elements.</p>

<p>Given a path <var title="">row</var>, the corresponding element is the
one obtained by drilling into the view, taking the child given by the
href="#getchildatposition">getChildAtPosition(<var title="">row</var>,
<var title="">position</var>)</a></code> must return <var
title="">position</var>. (The <code><a
href="#select">select</a></code>/<code>datalist</code> default data
provider does not support sorting the data grid.)</p>
href="#select">select</a></code>/<code><a
href="#datalist">datalist</a></code> default data provider does not
support sorting the data grid.)</p>

<p><code title=dom-provider-getRowImage><a
href="#getrowimage">getRowImage(<var title="">i</var>)</a></code> must

<p>These definitions are used for the cell-specific methods of the default
data providers (other than in the <code><a
href="#select">select</a></code>/<code>datalist</code> case). How they
behave is based on the contents of an element that represents the cell
given by their first two arguments. Which element that is is defined in
the previous section.
href="#select">select</a></code>/<code><a
href="#datalist">datalist</a></code> case). How they behave is based on
the contents of an element that represents the cell given by their first
two arguments. Which element that is is defined in the previous section.

<dl>
<dt>Cyclable cells
22 source
<p class="big-issue">...</p>


<h4>The <code>datalist</code> element</h4>
<h4>The <dfn><code>datalist</code></dfn> element</h4>

<dl class="element">
<dt>Categories</dt>
<dd><span>Phrasing content</span>.</dd>
<dt>Contexts in which this element may be used:</dt>
<dd>Where <span>phrasing content</span> is expected.</dd>
<dt>Content model:</dt>
<dd><span>Phrasing content</span>.</dd>
<dt>Element-specific attributes:</dt>
<dd>None.</dd>
<dt>DOM interface:</dt>
<dd>
<pre class="idl">interface <dfn>HTMLSelectElement</dfn> : <span>HTMLElement</span> {
readonly attribute <span>HTMLOptionsCollection</span> <span title="dom-select-options">options</span>;
};</pre>
</dd>
</dl>

<p class="big-issue">...</p>


<h4>The <code>optgroup</code> element</h4>

0 comments on commit 332cebe

Please sign in to comment.
You can’t perform that action at this time.