[html5] r3165 - [] (0) Make addColumn()'s last argument 'hidden' instead of 'visible'. (bug 6833)
whatwg at whatwg.org
whatwg at whatwg.org
Mon Jun 1 14:37:46 PDT 2009
Author: ianh
Date: 2009-06-01 14:37:44 -0700 (Mon, 01 Jun 2009)
New Revision: 3165
Modified:
index
source
Log:
[] (0) Make addColumn()'s last argument 'hidden' instead of 'visible'. (bug 6833)
Modified: index
===================================================================
--- index 2009-06-01 21:31:25 UTC (rev 3164)
+++ index 2009-06-01 21:37:44 UTC (rev 3165)
@@ -36768,7 +36768,7 @@
readonly attribute <span>DataGridSelection</span> <span title="dom-datagrid-selection">selection</span>;
-->
// columns
- void <a href=#dom-datagrid-addcolumn title=dom-datagrid-addColumn>addColumn</a>(in <a href=#column>Column</a> id, in DOMString label, in DOMString type, [Optional] in HTMLImageElement icon, [Optional] in boolean sortable, [Optional] in boolean visible);
+ void <a href=#dom-datagrid-addcolumn title=dom-datagrid-addColumn>addColumn</a>(in <a href=#column>Column</a> id, in DOMString label, in DOMString type, [Optional] in HTMLImageElement icon, [Optional] in boolean sortable, [Optional] in boolean hidden);
attribute DOMString <a href=#dom-datagrid-sortcolumn title=dom-datagrid-sortColumn>sortColumn</a>;
attribute boolean <a href=#dom-datagrid-sortascending title=dom-datagrid-sortAscending>sortAscending</a>;
void <a href=#dom-datagrid-clearcolumns title=dom-datagrid-clearColumns>clearColumns</a>();
@@ -36964,7 +36964,7 @@
</dd>
- <dt><var title="">datagrid</var> . <code title=dom-datagrid-addColumn><a href=#dom-datagrid-addcolumn>addColumn</a></code>(<var title="">id</var>, <var title="">label</var>, <var title="">type</var> [, <var title="">icon</var> [, <var title="">sortable</var> [, <var title="">visible</var> ] ] ] )</dt>
+ <dt><var title="">datagrid</var> . <code title=dom-datagrid-addColumn><a href=#dom-datagrid-addcolumn>addColumn</a></code>(<var title="">id</var>, <var title="">label</var>, <var title="">type</var> [, <var title="">icon</var> [, <var title="">sortable</var> [, <var title="">hidden</var> ] ] ] )</dt>
<dd>
<p>Adds a column to the <code><a href=#datagrid>datagrid</a></code>.</p>
@@ -37243,7 +37243,7 @@
string, whose label is the empty string, whose type is <code title=datagrid-type-text><a href=#datagrid-type-text>text</a></code>, with no icon, which is not
sortable, and which <em>is</em> visible.</p>
- <hr><p>The <dfn id=dom-datagrid-addcolumn title=dom-datagrid-addColumn><code>addColumn(<var title="">id</var>, <var title="">label</var>, <var title="">type</var>, <var title="">icon</var>, <var title="">sortable</var>, <var title="">visible</var>)</code></dfn>
+ <hr><p>The <dfn id=dom-datagrid-addcolumn title=dom-datagrid-addColumn><code>addColumn(<var title="">id</var>, <var title="">label</var>, <var title="">type</var>, <var title="">icon</var>, <var title="">sortable</var>, <var title="">hidden</var>)</code></dfn>
method must run the following steps:</p>
<ol><li><p>If there is already an entry in <a href=#column-list>column list</a>,
@@ -37274,8 +37274,8 @@
<var title="">id</var> as its identifier, <var title="">label</var>
as its label, <var title="">type</var> as its type, and <var title="">image</var> as its icon. Let the column be sortable if the
<var title="">sortable</var> argument is present and true, and make
- it visible if the <var title="">visible</var> argument is absent or
- true.</li>
+ it visible unless the <var title="">hidden</var> argument is
+ present and true.</li>
<li><p>If the <a href=#column-list>column list</a> contains the <a href=#default-column>default
column</a>, then remove the <a href=#default-column>default column</a> from the
@@ -38702,7 +38702,7 @@
<tr><th> Row 7 <td> Yes <td> Pending <td> Pending <td> Pending
<tr><th> Row 8 <td> Yes <td> Pending <td> Pending <td> Pending
</table><p>If at this point the user scrolls around anywhere within this
- <code><a href=#datagrid>datagrid</a></code>, the user agent won't fire the <code title=dom-listener-getRos>getRos()</code> and <code title=dom-listener-getCells><a href=#dom-listener-getcells>getCells()</a></code> methods, because
+ <code><a href=#datagrid>datagrid</a></code>, the user agent won't fire the <code title=dom-listener-getRows><a href=#dom-listener-getrows>getRows()</a></code> and <code title=dom-listener-getCells><a href=#dom-listener-getcells>getCells()</a></code> methods, because
all of the rows and cells are covered.</p>
<p>Now consider the case where the user agent receives row
Modified: source
===================================================================
--- source 2009-06-01 21:31:25 UTC (rev 3164)
+++ source 2009-06-01 21:37:44 UTC (rev 3165)
@@ -41351,7 +41351,7 @@
readonly attribute <span>DataGridSelection</span> <span title="dom-datagrid-selection">selection</span>;
-->
// columns
- void <span title="dom-datagrid-addColumn">addColumn</span>(in <span>Column</span> id, in DOMString label, in DOMString type, [Optional] in HTMLImageElement icon, [Optional] in boolean sortable, [Optional] in boolean visible);
+ void <span title="dom-datagrid-addColumn">addColumn</span>(in <span>Column</span> id, in DOMString label, in DOMString type, [Optional] in HTMLImageElement icon, [Optional] in boolean sortable, [Optional] in boolean hidden);
attribute DOMString <span title="dom-datagrid-sortColumn">sortColumn</span>;
attribute boolean <span title="dom-datagrid-sortAscending">sortAscending</span>;
void <span title="dom-datagrid-clearColumns">clearColumns</span>();
@@ -41570,7 +41570,7 @@
</dd>
- <dt><var title="">datagrid</var> . <code title="dom-datagrid-addColumn">addColumn</code>(<var title="">id</var>, <var title="">label</var>, <var title="">type</var> [, <var title="">icon</var> [, <var title="">sortable</var> [, <var title="">visible</var> ] ] ] )</dt>
+ <dt><var title="">datagrid</var> . <code title="dom-datagrid-addColumn">addColumn</code>(<var title="">id</var>, <var title="">label</var>, <var title="">type</var> [, <var title="">icon</var> [, <var title="">sortable</var> [, <var title="">hidden</var> ] ] ] )</dt>
<dd>
<p>Adds a column to the <code>datagrid</code>.</p>
@@ -41893,7 +41893,7 @@
<p>The <dfn title="dom-datagrid-addColumn"><code>addColumn(<var
title="">id</var>, <var title="">label</var>, <var
title="">type</var>, <var title="">icon</var>, <var
- title="">sortable</var>, <var title="">visible</var>)</code></dfn>
+ title="">sortable</var>, <var title="">hidden</var>)</code></dfn>
method must run the following steps:</p>
<ol>
@@ -41928,8 +41928,8 @@
as its label, <var title="">type</var> as its type, and <var
title="">image</var> as its icon. Let the column be sortable if the
<var title="">sortable</var> argument is present and true, and make
- it visible if the <var title="">visible</var> argument is absent or
- true.</p></li>
+ it visible unless the <var title="">hidden</var> argument is
+ present and true.</p></li>
<li><p>If the <span>column list</span> contains the <span>default
column</span>, then remove the <span>default column</span> from the
@@ -43556,7 +43556,7 @@
<p>If at this point the user scrolls around anywhere within this
<code>datagrid</code>, the user agent won't fire the <code
- title="dom-listener-getRos">getRos()</code> and <code
+ title="dom-listener-getRows">getRows()</code> and <code
title="dom-listener-getCells">getCells()</code> methods, because
all of the rows and cells are covered.</p>
More information about the Commit-Watchers
mailing list