diff --git a/source b/source index be6c8a3903e..69bf6677326 100644 --- a/source +++ b/source @@ -60386,10 +60386,6 @@ enum ImageSmoothingQuality { "canvas; - - // canvas dimensions - attribute unsigned long width; - attribute unsigned long height; }; CanvasRenderingContext2D implements CanvasState; CanvasRenderingContext2D implements CanvasTransform; @@ -60692,18 +60688,6 @@ interface Path2D { -
width
height
Return the dimensions of the bitmap, in CSS pixels.
- -Can be set, to update the bitmap's dimensions. This will also update the canvas's - intrinsic dimensions.
- -The canvas
attribute must return the
value it was initialised to when the object was created.
The width
attribute, on getting, must
- return the width of the rendering context's output bitmap, in CSS
- pixels. On setting, it must set bitmap
- dimensions to the new value and the current height of the rendering context's output
- bitmap in CSS pixels, respectively.
The height
attribute, on getting, must
- return the height of the rendering context's output bitmap, in CSS pixels. On setting, it must set bitmap dimensions to the current width of
- the rendering context's output bitmap in CSS pixels and
- the new value, respectively.
Except where otherwise specified, for the 2D context interface, any method call with a