Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(650)

Unified Diff: Source/core/html/ImageData.idl

Issue 1178223004: Sync some HTML interfaces with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/html/MediaController.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/ImageData.idl
diff --git a/Source/core/html/ImageData.idl b/Source/core/html/ImageData.idl
index f267826017fc5f2d12c14fa5493eea80c308dd71..f6274b416126382b2f030157546c163041cc7087 100644
--- a/Source/core/html/ImageData.idl
+++ b/Source/core/html/ImageData.idl
@@ -26,16 +26,19 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#imagedata
+// https://html.spec.whatwg.org/#dom-imagedata
[
TypeChecking=Interface,
- Constructor(unsigned long width, unsigned long height),
- Constructor(Uint8ClampedArray data, unsigned long width, optional unsigned long height),
+ Constructor(unsigned long sw, unsigned long sh),
+ Constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh),
Exposed=(Window,Worker),
RaisesException=Constructor,
GarbageCollected,
] interface ImageData {
+ // TODO(philipj): width/height should be unsigned long.
readonly attribute long width;
readonly attribute long height;
+ // TODO(philipj): Expose data.
+ // readonly attribute Uint8ClampedArray data;
};
« no previous file with comments | « no previous file | Source/core/html/MediaController.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698