interface HTMLCanvasElement : HTMLElement {

    CanvasRenderingContext2D? getContext(DOMString contextId);
    attribute unsigned long width;
    attribute unsigned long height;

    USVString toDataURL(optional DOMString type = "image/png", optional double quality);

};
