[html5] r7260 - [e] (0) Clean up some IDLs that use 'any' to specify the exact type instead, and [...]
whatwg at whatwg.org
whatwg at whatwg.org
Thu Aug 23 15:11:39 PDT 2012
Author: ianh
Date: 2012-08-23 15:11:39 -0700 (Thu, 23 Aug 2012)
New Revision: 7260
Modified:
source
Log:
[e] (0) Clean up some IDLs that use 'any' to specify the exact type instead, and clean up some surrounding markup
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17952
Affected topics: Canvas, DOM APIs, Microdata
Modified: source
===================================================================
--- source 2012-08-23 22:02:15 UTC (rev 7259)
+++ source 2012-08-23 22:11:39 UTC (rev 7260)
@@ -11403,15 +11403,15 @@
attribute DOMString <span title="dom-dir">dir</span>;
readonly attribute <span>DOMStringMap</span> <span title="dom-dataset">dataset</span>;
-<!--END w3c-html--><!--MD--> // <span>microdata</span> <!--WARNING: ALSO DUPLICATED IN MICRODATA SECTION-->
+ // <span>microdata</span>
attribute boolean <span title="dom-itemScope">itemScope</span>;
[PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemType">itemType</span>;
attribute DOMString <span title="dom-itemId">itemId</span>;
[PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemRef">itemRef</span>;
[PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemProp">itemProp</span>;
readonly attribute <span>HTMLPropertiesCollection</span> <span title="dom-properties">properties</span>;
- attribute any <span title="dom-itemValue">itemValue</span>;
-<!--START w3c-html--><!--MD-->
+ attribute any <span title="dom-itemValue">itemValue</span>; // acts as DOMString on setting
+
// <span>user interaction</span>
attribute boolean <span title="dom-hidden">hidden</span>;
void <span title="dom-click">click</span>();
@@ -42437,8 +42437,8 @@
-->
// colors and styles (see also the <span>CanvasDrawingStyles</span> interface)
- attribute any <span title="dom-context-2d-strokeStyle">strokeStyle</span>; // (default black)
- attribute any <span title="dom-context-2d-fillStyle">fillStyle</span>; // (default black)
+ attribute (DOMString or CanvasGradient or CanvasPattern) <span title="dom-context-2d-strokeStyle">strokeStyle</span>; // (default black)
+ attribute (DOMString or CanvasGradient or CanvasPattern) <span title="dom-context-2d-fillStyle">fillStyle</span>; // (default black)
<span>CanvasGradient</span> <span title="dom-context-2d-createLinearGradient">createLinearGradient</span>(unrestricted double x0, unrestricted double y0, unrestricted double x1, unrestricted double y1);
<span>CanvasGradient</span> <span title="dom-context-2d-createRadialGradient">createRadialGradient</span>(unrestricted double x0, unrestricted double y0, unrestricted double r0, unrestricted double x1, unrestricted double y1, unrestricted double r1);
<span>CanvasPattern</span> <span title="dom-context-2d-createPattern">createPattern</span>((<span>HTMLImageElement</span> or <span>HTMLCanvasElement</span> or <span>HTMLVideoElement</span>) image, DOMString repetition);
@@ -73883,7 +73883,7 @@
return an object with a list of the elements that add properties
with that name.</p>
- <p>Each element that adds a property also has a <code
+ <p>Each element that adds a property also has an <code
title="dom-itemValue">itemValue</code> IDL attribute that returns
its value.</p>
@@ -74694,23 +74694,6 @@
<h3>Microdata DOM API</h3>
-<!--END dev-html--><!--END complete--><!--MD-->
- <pre class="idl">partial interface <span>Document</span> { <!--WARNING: ALSO DUPLICATED IN Document SECTION-->
- NodeList <span title="dom-document-getItems">getItems</span>(optional DOMString typeNames); // <span>microdata</span>
-};
-
-partial interface <span>HTMLElement</span> {
- // <span>microdata</span> <!--WARNING: ALSO DUPLICATED IN HTMLElement SECTION-->
- attribute boolean <span title="dom-itemScope">itemScope</span>;
- [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemType">itemType</span>;
- attribute DOMString <span title="dom-itemId">itemId</span>;
- [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemRef">itemRef</span>;
- [PutForwards=<span title="dom-DOMSettableTokenList-value">value</span>] readonly attribute <span>DOMSettableTokenList</span> <span title="dom-itemProp">itemProp</span>;
- readonly attribute <span>HTMLPropertiesCollection</span> <span title="dom-properties">properties</span>;
- attribute any <span title="dom-itemValue">itemValue</span>;
-};</pre>
-<!--START complete--><!--START dev-html--><!--MD-->
-
<dl class="domintro">
<dt><var title="">document</var> . <code title="dom-document-getItems">getItems</code>( [ <var title="">types</var> ] )</dt>
More information about the Commit-Watchers
mailing list