[html5] r8449 - [giow] (1) Forgot to expose some canvas interfaces to workers. Fixing https://ww [...]
whatwg at whatwg.org
whatwg at whatwg.org
Fri Jan 31 10:24:17 PST 2014
Author: ianh
Date: 2014-01-31 10:24:16 -0800 (Fri, 31 Jan 2014)
New Revision: 8449
Modified:
complete.html
index
source
Log:
[giow] (1) Forgot to expose some canvas interfaces to workers.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24452
Affected topics: Canvas
Modified: complete.html
===================================================================
--- complete.html 2014-01-30 22:45:26 UTC (rev 8448)
+++ complete.html 2014-01-31 18:24:16 UTC (rev 8449)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 30 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 31 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -8010,7 +8010,7 @@
algorithms, one for getting the list of name-value pairs, one for setting names to certain values,
and one for deleting names.</p>
- <pre class=idl>[OverrideBuiltins,Exposed=Window,Worker]
+ <pre class=idl>[OverrideBuiltins, Exposed=Window,Worker]
interface <dfn id=domstringmap>DOMStringMap</dfn> {
<a href=#dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>getter</a> DOMString (DOMString name);
<a href=#dom-domstringmap-setitem title=dom-DOMStringMap-setItem>setter</a> <a href=#dom-domstringmap-additem title=dom-DOMStringMap-addItem>creator</a> void (DOMString name, DOMString value);
@@ -54690,7 +54690,7 @@
<a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a> implements <a href=#canvasdrawingstyles>CanvasDrawingStyles</a>;
<a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a> implements <a href=#canvaspathmethods>CanvasPathMethods</a>;
-[NoInterfaceObject]
+[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn id=canvasdrawingstyles>CanvasDrawingStyles</dfn> {
// line caps/joins
attribute unrestricted double <a href=#dom-context-2d-linewidth title=dom-context-2d-lineWidth>lineWidth</a>; // (default 1)
@@ -54710,7 +54710,7 @@
attribute DOMString <a href=#dom-context-2d-direction title=dom-context-2d-direction>direction</a>; // "ltr", "rtl"<!--, "auto"-->, "inherit" (default: "inherit")
};
-[NoInterfaceObject]
+[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn id=canvaspathmethods>CanvasPathMethods</dfn> {
// shared path API methods
void <a href=#dom-context-2d-closepath title=dom-context-2d-closePath>closePath</a>();
@@ -54725,16 +54725,19 @@
void <a href=#dom-context-2d-ellipse title=dom-context-2d-ellipse>ellipse</a>(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false); <!-- see ARC-ORDER note below -->
};
+[Exposed=Window,Worker]
interface <dfn id=canvasgradient>CanvasGradient</dfn> {
// opaque object
void <a href=#dom-canvasgradient-addcolorstop title=dom-canvasgradient-addColorStop>addColorStop</a>(double offset, DOMString color);
};
+[Exposed=Window,Worker]
interface <dfn id=canvaspattern>CanvasPattern</dfn> {
// opaque object
void <a href=#dom-canvaspattern-settransform title=dom-canvaspattern-setTransform>setTransform</a>(<a href=#svgmatrix>SVGMatrix</a> transform);
};
+[Exposed=Window,Worker]
interface <dfn id=textmetrics>TextMetrics</dfn> {
// x-direction
readonly attribute double <a href=#dom-textmetrics-width title=dom-textmetrics-width>width</a>; // advance width
@@ -54768,20 +54771,21 @@
};
[<a href=#dom-imagedata title=dom-imagedata>Constructor</a>(unsigned long sw, unsigned long sh),
- <a href=#dom-imagedata title=dom-imagedata>Constructor</a>(<a href=#uint8clampedarray>Uint8ClampedArray</a> data, unsigned long sw, optional unsigned long sh)]
+ <a href=#dom-imagedata title=dom-imagedata>Constructor</a>(<a href=#uint8clampedarray>Uint8ClampedArray</a> data, unsigned long sw, optional unsigned long sh),
+ Exposed=Window,Worker]
interface <dfn id=imagedata>ImageData</dfn> {
readonly attribute unsigned long <a href=#dom-imagedata-width title=dom-imagedata-width>width</a>;
readonly attribute unsigned long <a href=#dom-imagedata-height title=dom-imagedata-height>height</a>;
readonly attribute <a href=#uint8clampedarray>Uint8ClampedArray</a> <a href=#dom-imagedata-data title=dom-imagedata-data>data</a>;
};
-[<a href=#dom-drawingstyle title=dom-DrawingStyle>Constructor</a>(optional <a href=#element>Element</a> scope)]
+[<a href=#dom-drawingstyle title=dom-DrawingStyle>Constructor</a>(optional <a href=#element>Element</a> scope), Exposed=Window,Worker]
interface <dfn id=drawingstyle>DrawingStyle</dfn> { };
<a href=#drawingstyle>DrawingStyle</a> implements <a href=#canvasdrawingstyles>CanvasDrawingStyles</a>;
[<a href=#dom-path title=dom-Path>Constructor</a>,
<a href=#dom-path-copy title=dom-Path-copy>Constructor</a>(<a href=#path>Path</a> path),
- <a href=#dom-path-withdata title=dom-Path-withdata>Constructor</a>(DOMString d)]
+ <a href=#dom-path-withdata title=dom-Path-withdata>Constructor</a>(DOMString d), Exposed=Window,Worker]
interface <dfn id=path>Path</dfn> {
void <a href=#dom-path-addpath title=dom-path-addPath>addPath</a>(<a href=#path>Path</a> path, <a href=#svgmatrix>SVGMatrix</a>? transformation);
void <a href=#dom-path-addpathbystrokingpath title=dom-path-addPathByStrokingPath>addPathByStrokingPath</a>(<a href=#path>Path</a> path, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation);
Modified: index
===================================================================
--- index 2014-01-30 22:45:26 UTC (rev 8448)
+++ index 2014-01-31 18:24:16 UTC (rev 8449)
@@ -298,7 +298,7 @@
<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 30 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 31 January 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -8010,7 +8010,7 @@
algorithms, one for getting the list of name-value pairs, one for setting names to certain values,
and one for deleting names.</p>
- <pre class=idl>[OverrideBuiltins,Exposed=Window,Worker]
+ <pre class=idl>[OverrideBuiltins, Exposed=Window,Worker]
interface <dfn id=domstringmap>DOMStringMap</dfn> {
<a href=#dom-domstringmap-nameditem title=dom-DOMStringMap-namedItem>getter</a> DOMString (DOMString name);
<a href=#dom-domstringmap-setitem title=dom-DOMStringMap-setItem>setter</a> <a href=#dom-domstringmap-additem title=dom-DOMStringMap-addItem>creator</a> void (DOMString name, DOMString value);
@@ -54690,7 +54690,7 @@
<a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a> implements <a href=#canvasdrawingstyles>CanvasDrawingStyles</a>;
<a href=#canvasrenderingcontext2d>CanvasRenderingContext2D</a> implements <a href=#canvaspathmethods>CanvasPathMethods</a>;
-[NoInterfaceObject]
+[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn id=canvasdrawingstyles>CanvasDrawingStyles</dfn> {
// line caps/joins
attribute unrestricted double <a href=#dom-context-2d-linewidth title=dom-context-2d-lineWidth>lineWidth</a>; // (default 1)
@@ -54710,7 +54710,7 @@
attribute DOMString <a href=#dom-context-2d-direction title=dom-context-2d-direction>direction</a>; // "ltr", "rtl"<!--, "auto"-->, "inherit" (default: "inherit")
};
-[NoInterfaceObject]
+[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn id=canvaspathmethods>CanvasPathMethods</dfn> {
// shared path API methods
void <a href=#dom-context-2d-closepath title=dom-context-2d-closePath>closePath</a>();
@@ -54725,16 +54725,19 @@
void <a href=#dom-context-2d-ellipse title=dom-context-2d-ellipse>ellipse</a>(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false); <!-- see ARC-ORDER note below -->
};
+[Exposed=Window,Worker]
interface <dfn id=canvasgradient>CanvasGradient</dfn> {
// opaque object
void <a href=#dom-canvasgradient-addcolorstop title=dom-canvasgradient-addColorStop>addColorStop</a>(double offset, DOMString color);
};
+[Exposed=Window,Worker]
interface <dfn id=canvaspattern>CanvasPattern</dfn> {
// opaque object
void <a href=#dom-canvaspattern-settransform title=dom-canvaspattern-setTransform>setTransform</a>(<a href=#svgmatrix>SVGMatrix</a> transform);
};
+[Exposed=Window,Worker]
interface <dfn id=textmetrics>TextMetrics</dfn> {
// x-direction
readonly attribute double <a href=#dom-textmetrics-width title=dom-textmetrics-width>width</a>; // advance width
@@ -54768,20 +54771,21 @@
};
[<a href=#dom-imagedata title=dom-imagedata>Constructor</a>(unsigned long sw, unsigned long sh),
- <a href=#dom-imagedata title=dom-imagedata>Constructor</a>(<a href=#uint8clampedarray>Uint8ClampedArray</a> data, unsigned long sw, optional unsigned long sh)]
+ <a href=#dom-imagedata title=dom-imagedata>Constructor</a>(<a href=#uint8clampedarray>Uint8ClampedArray</a> data, unsigned long sw, optional unsigned long sh),
+ Exposed=Window,Worker]
interface <dfn id=imagedata>ImageData</dfn> {
readonly attribute unsigned long <a href=#dom-imagedata-width title=dom-imagedata-width>width</a>;
readonly attribute unsigned long <a href=#dom-imagedata-height title=dom-imagedata-height>height</a>;
readonly attribute <a href=#uint8clampedarray>Uint8ClampedArray</a> <a href=#dom-imagedata-data title=dom-imagedata-data>data</a>;
};
-[<a href=#dom-drawingstyle title=dom-DrawingStyle>Constructor</a>(optional <a href=#element>Element</a> scope)]
+[<a href=#dom-drawingstyle title=dom-DrawingStyle>Constructor</a>(optional <a href=#element>Element</a> scope), Exposed=Window,Worker]
interface <dfn id=drawingstyle>DrawingStyle</dfn> { };
<a href=#drawingstyle>DrawingStyle</a> implements <a href=#canvasdrawingstyles>CanvasDrawingStyles</a>;
[<a href=#dom-path title=dom-Path>Constructor</a>,
<a href=#dom-path-copy title=dom-Path-copy>Constructor</a>(<a href=#path>Path</a> path),
- <a href=#dom-path-withdata title=dom-Path-withdata>Constructor</a>(DOMString d)]
+ <a href=#dom-path-withdata title=dom-Path-withdata>Constructor</a>(DOMString d), Exposed=Window,Worker]
interface <dfn id=path>Path</dfn> {
void <a href=#dom-path-addpath title=dom-path-addPath>addPath</a>(<a href=#path>Path</a> path, <a href=#svgmatrix>SVGMatrix</a>? transformation);
void <a href=#dom-path-addpathbystrokingpath title=dom-path-addPathByStrokingPath>addPathByStrokingPath</a>(<a href=#path>Path</a> path, <a href=#canvasdrawingstyles>CanvasDrawingStyles</a> styles, <a href=#svgmatrix>SVGMatrix</a>? transformation);
Modified: source
===================================================================
--- source 2014-01-30 22:45:26 UTC (rev 8448)
+++ source 2014-01-31 18:24:16 UTC (rev 8449)
@@ -7574,7 +7574,7 @@
algorithms, one for getting the list of name-value pairs, one for setting names to certain values,
and one for deleting names.</p>
- <pre class="idl">[OverrideBuiltins,Exposed=Window,Worker]
+ <pre class="idl">[OverrideBuiltins, Exposed=Window,Worker]
interface <dfn>DOMStringMap</dfn> {
<span data-x="dom-DOMStringMap-namedItem">getter</span> DOMString (DOMString name);
<span data-x="dom-DOMStringMap-setItem">setter</span> <span data-x="dom-DOMStringMap-addItem">creator</span> void (DOMString name, DOMString value);
@@ -60594,7 +60594,7 @@
<span>CanvasRenderingContext2D</span> implements <span>CanvasDrawingStyles</span>;
<span>CanvasRenderingContext2D</span> implements <span>CanvasPathMethods</span>;
-[NoInterfaceObject]
+[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn>CanvasDrawingStyles</dfn> {
// line caps/joins
attribute unrestricted double <span data-x="dom-context-2d-lineWidth">lineWidth</span>; // (default 1)
@@ -60614,7 +60614,7 @@
attribute DOMString <span data-x="dom-context-2d-direction">direction</span>; // "ltr", "rtl"<!--, "auto"-->, "inherit" (default: "inherit")
};
-[NoInterfaceObject]
+[NoInterfaceObject, Exposed=Window,Worker]
interface <dfn>CanvasPathMethods</dfn> {
// shared path API methods
void <span data-x="dom-context-2d-closePath">closePath</span>();
@@ -60629,16 +60629,19 @@
void <span data-x="dom-context-2d-ellipse">ellipse</span>(unrestricted double x, unrestricted double y, unrestricted double radiusX, unrestricted double radiusY, unrestricted double rotation, unrestricted double startAngle, unrestricted double endAngle, optional boolean anticlockwise = false); <!-- see ARC-ORDER note below -->
};
+[Exposed=Window,Worker]
interface <dfn>CanvasGradient</dfn> {
// opaque object
void <span data-x="dom-canvasgradient-addColorStop">addColorStop</span>(double offset, DOMString color);
};
+[Exposed=Window,Worker]
interface <dfn>CanvasPattern</dfn> {
// opaque object
void <span data-x="dom-canvaspattern-setTransform">setTransform</span>(<span>SVGMatrix</span> transform);
};
+[Exposed=Window,Worker]
interface <dfn>TextMetrics</dfn> {
// x-direction
readonly attribute double <span data-x="dom-textmetrics-width">width</span>; // advance width
@@ -60672,20 +60675,21 @@
};
[<span data-x="dom-imagedata">Constructor</span>(unsigned long sw, unsigned long sh),
- <span data-x="dom-imagedata">Constructor</span>(<span>Uint8ClampedArray</span> data, unsigned long sw, optional unsigned long sh)]
+ <span data-x="dom-imagedata">Constructor</span>(<span>Uint8ClampedArray</span> data, unsigned long sw, optional unsigned long sh),
+ Exposed=Window,Worker]
interface <dfn>ImageData</dfn> {
readonly attribute unsigned long <span data-x="dom-imagedata-width">width</span>;
readonly attribute unsigned long <span data-x="dom-imagedata-height">height</span>;
readonly attribute <span>Uint8ClampedArray</span> <span data-x="dom-imagedata-data">data</span>;
};
-[<span data-x="dom-DrawingStyle">Constructor</span>(optional <span>Element</span> scope)]
+[<span data-x="dom-DrawingStyle">Constructor</span>(optional <span>Element</span> scope), Exposed=Window,Worker]
interface <dfn>DrawingStyle</dfn> { };
<span>DrawingStyle</span> implements <span>CanvasDrawingStyles</span>;
[<span data-x="dom-Path">Constructor</span>,
<span data-x="dom-Path-copy">Constructor</span>(<span>Path</span> path),
- <span data-x="dom-Path-withdata">Constructor</span>(DOMString d)]
+ <span data-x="dom-Path-withdata">Constructor</span>(DOMString d), Exposed=Window,Worker]
interface <dfn>Path</dfn> {
void <span data-x="dom-path-addPath">addPath</span>(<span>Path</span> path, <span>SVGMatrix</span>? transformation);
void <span data-x="dom-path-addPathByStrokingPath">addPathByStrokingPath</span>(<span>Path</span> path, <span>CanvasDrawingStyles</span> styles, <span>SVGMatrix</span>? transformation);
More information about the Commit-Watchers
mailing list