Skip to content

Commit

Permalink
[] (0) WF2: <datalist> element summary.
Browse files Browse the repository at this point in the history
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 332cebe
Show file tree
Hide file tree
Showing 2 changed files with 67 additions and 16 deletions.
61 changes: 46 additions & 15 deletions index
Expand Up @@ -26903,8 +26903,36 @@ function AddCloud(data, x, y) { ... }</pre>

<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>
Expand Down Expand Up @@ -27942,13 +27970,14 @@ http://mail.gnome.org/archives/usability/2006-June/msg00015.html
<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:

Expand Down Expand Up @@ -28787,7 +28816,8 @@ http://mail.gnome.org/archives/usability/2006-June/msg00015.html
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
Expand All @@ -28797,10 +28827,10 @@ http://mail.gnome.org/archives/usability/2006-June/msg00015.html
<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
Expand Down Expand Up @@ -28849,8 +28879,9 @@ http://mail.gnome.org/archives/usability/2006-June/msg00015.html
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
Expand Down Expand Up @@ -29078,10 +29109,10 @@ http://mail.gnome.org/archives/usability/2006-June/msg00015.html

<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
Expand Down
22 changes: 21 additions & 1 deletion source
Expand Up @@ -24184,7 +24184,27 @@ function AddCloud(data, x, y) { ... }</pre>
<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>

Expand Down

0 comments on commit 332cebe

Please sign in to comment.