- From: poot <cvsmail@w3.org>
- Date: Tue, 2 Jun 2009 06:39:18 +0900 (JST)
- To: public-html-diffs@w3.org
Make addColumn()'s last argument 'hidden' instead of 'visible'. (bug 6833) (whatwg r3165) http://www.w3.org/Bugs/Public/show_bug.cgi?id=6833 Diffs for this change per section: http://people.w3.org/mike/diffs/html5/spec/Overview.1.2319.html#default-column http://people.w3.org/mike/diffs/html5/spec/Overview.1.2319.html#example:-a-datagrid-backed-by-a-static-table-element http://people.w3.org/mike/diffs/html5/spec/Overview.1.2319.html#htmldatagridelement http://people.w3.org/mike/diffs/html5/spec/Overview.1.2319.html#dom-datagrid-addcolumn http://people.w3.org/mike/diffs/html5/spec/Overview.1.2319.html#datagrid-update-display-algorithm http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2318&r2=1.2319&f=h http://html5.org/tools/web-apps-tracker?from=3164&to=3165 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.2318 retrieving revision 1.2319 diff -u -d -r1.2318 -r1.2319 --- Overview.html 1 Jun 2009 21:31:33 -0000 1.2318 +++ Overview.html 1 Jun 2009 21:37:49 -0000 1.2319 @@ -32623,7 +32623,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>(); @@ -32758,7 +32758,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> @@ -33037,7 +33037,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>, @@ -33068,8 +33068,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 @@ -34496,7 +34496,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
Received on Monday, 1 June 2009 21:39:55 UTC