- From: poot <cvsmail@w3.org>
- Date: Tue, 30 Dec 2008 10:34:27 +0900 (JST)
- To: public-html-diffs@w3.org
Use 'any' instead of DOMObject in IDL blocks. (I may have gone too far; let me know if you want some DOMObjects back.) (bug 6182) (whatwg r2622) http://www.w3.org/Bugs/Public/show_bug.cgi?id=6182 HTMLCanvasElement http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#htmlcanvaselement Index http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#index popstate http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#event-popstate SQLResultSetRowList http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#sqlresultsetrowlist length http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-sqlresultsetrowlist-length 6.9.1 The UndoManager interface http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#the-undomanager-interface rows http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-sqlresultset-rows 6.9.4 The UndoManagerEvent interface and the undo and redo events http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#the-undomanagerevent-interface-and-the-undo-and-redo-events initUndoManagerEventNS() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#initundomanagereventns initPopStateEventNS() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-popstateevent-initpopstateeventns CanvasRenderingContext2D http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#canvasrenderingcontext2d 6.9.3 Redo: moving forward in the undo transaction history http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#redo:-moving-forward-in-the-undo-transaction-history 5.8.2 The History interface http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#the-history-interface initPopStateEvent() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-popstateevent-initpopstateevent undoManager http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-undomanager item(index) http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-sqlresultsetrowlist-item length http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-history-length initUndoManagerEvent() http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#dom-undomanagerevent-initundomanagerevent UndoManager http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#undomanager PopStateEvent http://people.w3.org/mike/diffs/html5/spec/Overview.1.1792.html#popstateevent http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1791&r2=1.1792&f=h http://html5.org/tools/web-apps-tracker?from=2621&to=2622 =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1791 retrieving revision 1.1792 diff -u -d -r1.1791 -r1.1792 --- Overview.html 30 Dec 2008 01:18:41 -0000 1.1791 +++ Overview.html 30 Dec 2008 01:30:18 -0000 1.1792 @@ -15638,7 +15638,7 @@ DOMString <a href=#dom-canvas-todataurl title=dom-canvas-toDataURL>toDataURL</a>(); DOMString <a href=#dom-canvas-todataurl-type title=dom-canvas-toDataURL-type>toDataURL</a>(in DOMString type, [Variadic] in any args); - DOMObject <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(in DOMString contextId); + any <a href=#dom-canvas-getcontext title=dom-canvas-getContext>getContext</a>(in DOMString contextId); };</pre> </dd> </dl><p>The <code><a href=#the-canvas-element>canvas</a></code> element represents a resolution-dependent @@ -15783,8 +15783,8 @@ attribute DOMString <a href=#dom-context-2d-globalcompositeoperation title=dom-context-2d-globalCompositeOperation>globalCompositeOperation</a>; // (default source-over) // colors and styles - attribute DOMObject <a href=#dom-context-2d-strokestyle title=dom-context-2d-strokeStyle>strokeStyle</a>; // (default black) - attribute DOMObject <a href=#dom-context-2d-fillstyle title=dom-context-2d-fillStyle>fillStyle</a>; // (default black) + attribute any <a href=#dom-context-2d-strokestyle title=dom-context-2d-strokeStyle>strokeStyle</a>; // (default black) + attribute any <a href=#dom-context-2d-fillstyle title=dom-context-2d-fillStyle>fillStyle</a>; // (default black) <a href=#canvasgradient>CanvasGradient</a> <a href=#dom-context-2d-createlineargradient title=dom-context-2d-createLinearGradient>createLinearGradient</a>(in float x0, in float y0, in float x1, in float y1); <a href=#canvasgradient>CanvasGradient</a> <a href=#dom-context-2d-createradialgradient title=dom-context-2d-createRadialGradient>createRadialGradient</a>(in float x0, in float y0, in float r0, in float x1, in float y1, in float r1); <a href=#canvaspattern>CanvasPattern</a> <a href=#dom-context-2d-createpattern title=dom-context-2d-createPattern>createPattern</a>(in <a href=#htmlimageelement>HTMLImageElement</a> image, in DOMString repetition); @@ -30578,8 +30578,8 @@ void <a href=#dom-history-go-0 title=dom-history-go-0>go</a>(); void <a href=#dom-history-back title=dom-history-back>back</a>(); void <a href=#dom-history-forward title=dom-history-forward>forward</a>(); - void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(in DOMObject data, in DOMString title); - void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(in DOMObject data, in DOMString title, in DOMString url); + void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(in any data, in DOMString title); + void <a href=#dom-history-pushstate title=dom-history-pushState>pushState</a>(in any data, in DOMString title, in DOMString url); void <a href=#dom-history-clearstate title=dom-history-clearState>clearState</a>(); };</pre><p>The <dfn id=dom-history-length title=dom-history-length><code>length</code></dfn> attribute of the <code><a href=#history-1>History</a></code> interface must return the @@ -30679,9 +30679,9 @@ cancelable and has no default action.</li> </ol><!-- XXX onpopstate should be defined somewhere --><pre class=idl>interface <dfn id=popstateevent>PopStateEvent</dfn> : Event { - readonly attribute DOMObject <a href=#dom-popstateevent-state title=dom-PopStateEvent-state>state</a>; - void <a href=#dom-popstateevent-initpopstateevent title=dom-PopStateEvent-initPopStateEvent>initPopStateEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg); - void <a href=#dom-popstateevent-initpopstateeventns title=dom-PopStateEvent-initPopStateEventNS>initPopStateEventNS</a>(in DOMString namespaceURIArg, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject stateArg); + readonly attribute any <a href=#dom-popstateevent-state title=dom-PopStateEvent-state>state</a>; + void <a href=#dom-popstateevent-initpopstateevent title=dom-PopStateEvent-initPopStateEvent>initPopStateEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any stateArg); + void <a href=#dom-popstateevent-initpopstateeventns title=dom-PopStateEvent-initPopStateEventNS>initPopStateEventNS</a>(in DOMString namespaceURIArg, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any stateArg); };</pre><p>The <dfn id=dom-popstateevent-initpopstateevent title=dom-PopStateEvent-initPopStateEvent><code>initPopStateEvent()</code></dfn> and <dfn id=dom-popstateevent-initpopstateeventns title=dom-PopStateEvent-initPopStateEventNS><code>initPopStateEventNS()</code></dfn> methods must initialize the event in a manner analogous to the @@ -31964,7 +31964,7 @@ (its <code title=dom-SQLResultSetRowList-length><a href=#dom-sqlresultsetrowlist-length>length</a></code> will be zero).<pre class=idl>interface <dfn id=sqlresultsetrowlist>SQLResultSetRowList</dfn> { readonly attribute unsigned long <a href=#dom-sqlresultsetrowlist-length title=dom-SQLResultSetRowList-length>length</a>; - [IndexGetter] <span>DOMObject</span> <a href=#dom-sqlresultsetrowlist-item title=dom-SQLResultSetRowList-item>item</a>(in unsigned long index); + [IndexGetter] <span>any</span> <a href=#dom-sqlresultsetrowlist-item title=dom-SQLResultSetRowList-item>item</a>(in unsigned long index); };</pre><p><code><a href=#sqlresultsetrowlist>SQLResultSetRowList</a></code> objects have a <dfn id=dom-sqlresultsetrowlist-length title=dom-SQLResultSetRowList-length><code>length</code></dfn> attribute that must return the number of rows it represents (the number of rows returned by the database).<p>The <dfn id=dom-sqlresultsetrowlist-item title=dom-SQLResultSetRowList-item><code>item(<var title="">index</var>)</code></dfn> attribute must return the row @@ -34535,11 +34535,11 @@ </ul></div><p>To manage <a href=#undo-object>undo object</a> entries in the <a href=#undo-transaction-history>undo transaction history</a>, the <code><a href=#undomanager>UndoManager</a></code> interface can be used:<pre class=idl>interface <dfn id=undomanager>UndoManager</dfn> { - unsigned long <a href=#dom-undomanager-add title=dom-UndoManager-add>add</a>(in DOMObject data, in DOMString title); + unsigned long <a href=#dom-undomanager-add title=dom-UndoManager-add>add</a>(in any data, in DOMString title); [XXX] void <a href=#dom-undomanager-remove title=dom-UndoManager-remove>remove</a>(in unsigned long index); <!-- XXX [[Delete]] DOMB --> void <a href=#dom-undomanager-clearundo title=dom-UndoManager-clearUndo>clearUndo</a>(); void <a href=#dom-undomanager-clearredo title=dom-UndoManager-clearRedo>clearRedo</a>(); - [IndexGetter] DOMObject <a href=#dom-undomanager-item title=dom-UndoManager-item>item</a>(in unsigned long index); + [IndexGetter] any <a href=#dom-undomanager-item title=dom-UndoManager-item>item</a>(in unsigned long index); readonly attribute unsigned long <a href=#dom-undomanager-length title=dom-UndoManager-length>length</a>; readonly attribute unsigned long <a href=#dom-undomanager-position title=dom-UndoManager-position>position</a>; };</pre><p>The <dfn id=dom-undomanager title=dom-undoManager><code>undoManager</code></dfn> @@ -34645,9 +34645,9 @@ transaction history</a>, and then must fire a <code title=event-undo><a href=#event-undo>redo</a></code> event on the <code>Document</code> object, using the <a href=#undo-object>undo object</a> entry's associated undo object as the event's data.<h4 id=the-undomanagerevent-interface-and-the-undo-and-redo-events><span class=secno>6.9.4 </span>The <code><a href=#undomanagerevent>UndoManagerEvent</a></code> interface and the <code title=event-undo><a href=#event-undo>undo</a></code> and <code title=event-redo><a href=#event-redo>redo</a></code> events</h4><pre class=idl>interface <dfn id=undomanagerevent>UndoManagerEvent</dfn> : Event { - readonly attribute DOMObject <a href=#dom-undomanagerevent-data title=dom-UndoManagerEvent-data>data</a>; - void <a href=#dom-undomanagerevent-initundomanagerevent title=dom-UndoManagerEvent-initUndoManagerEvent>initUndoManagerEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject dataArg); - void <span title=dom-UndoManagerEvent-initUndoManagerEventNS>initUndoManagerEventNS</span>(in DOMString namespaceURIArg, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in DOMObject dataArg); + readonly attribute any <a href=#dom-undomanagerevent-data title=dom-UndoManagerEvent-data>data</a>; + void <a href=#dom-undomanagerevent-initundomanagerevent title=dom-UndoManagerEvent-initUndoManagerEvent>initUndoManagerEvent</a>(in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg); + void <span title=dom-UndoManagerEvent-initUndoManagerEventNS>initUndoManagerEventNS</span>(in DOMString namespaceURIArg, in DOMString typeArg, in boolean canBubbleArg, in boolean cancelableArg, in any dataArg); };</pre><p>The <dfn id=dom-undomanagerevent-initundomanagerevent title=dom-UndoManagerEvent-initUndoManagerEvent><code>initUndoManagerEvent()</code></dfn> and <dfn id=initundomanagereventns><code title=dom-UndoManagerEvent-initUndoManagerEventNS>initUndoManagerEventNS()</code></dfn> methods must initialize the event in a manner analogous to the @@ -45346,15 +45346,16 @@ Champeimont, Rene Saarsoo, Richard Ishida, Rimantas Liubertas, Robert Blaut, Robert O'Callahan, Robert Sayre, Roman Ivanov, Ryan King, S. Mike Dierken, Sam Kuper, Sam Ruby, Sam Weinig, Scott Hess, - Sean Knapp, Shaun Inman, Silvia Pfeiffer, Simon Pieters, Stefan - Haustein, Steffen Meschkat, Stephen Ma, Steve Faulkner, Steve - Runyon, Steven Garrity, Stewart Brodie, Stuart Parmenter, Sunava - Dutta, Tantek Çelik, Terrence Wood, Thomas Broyer, Thomas - O'Connor, Tim Altman, Tim Johansson, Tommy Thorsen, Travis Leithead, - Tyler Close, Vladimir Vukićević, Wakaba, Wayne - Pollock, Wellington Fernando de Macedo, William Swanson, Wolfram - Kriesing, Yi-An Huang, Zhenbin Xu, and Øistein E. Andersen, - for their useful and substantial comments.<p>Thanks also to everyone who has ever posted about HTML5 to their + Sean Knapp, Shaun Inman, Shiki Okasaka, Silvia Pfeiffer, Simon + Pieters, Stefan Haustein, Steffen Meschkat, Stephen Ma, Steve + Faulkner, Steve Runyon, Steven Garrity, Stewart Brodie, Stuart + Parmenter, Sunava Dutta, Tantek Çelik, Terrence Wood, Thomas + Broyer, Thomas O'Connor, Tim Altman, Tim Johansson, Tommy Thorsen, + Travis Leithead, Tyler Close, Vladimir Vukićević, + Wakaba, Wayne Pollock, Wellington Fernando de Macedo, William + Swanson, Wolfram Kriesing, Yi-An Huang, Zhenbin Xu, and + Øistein E. Andersen, for their useful and substantial + comments.<p>Thanks also to everyone who has ever posted about HTML5 to their blogs, public mailing lists, or forums, including the <a href=http://lists.w3.org/Archives/Public/public-html/>W3C public-html list</a> and the <a href=http://www.whatwg.org/mailing-list>various WHATWG lists</a>.
Received on Tuesday, 30 December 2008 01:35:06 UTC