| Index: core/html/canvas/CanvasRenderingContext2D.idl
|
| diff --git a/core/html/canvas/CanvasRenderingContext2D.idl b/core/html/canvas/CanvasRenderingContext2D.idl
|
| index 3c2337b0627a6e8471eb809b2bd8455b4d44ff10..69a3ffa2354126397273daa1ad0936f1b3312e3b 100644
|
| --- a/core/html/canvas/CanvasRenderingContext2D.idl
|
| +++ b/core/html/canvas/CanvasRenderingContext2D.idl
|
| @@ -35,6 +35,7 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| void translate(float tx, float ty);
|
| void transform(float m11, float m12, float m21, float m22, float dx, float dy);
|
| void setTransform(float m11, float m12, float m21, float m22, float dx, float dy);
|
| + void resetTransform();
|
|
|
| attribute float globalAlpha;
|
| [TreatNullAs=NullString] attribute DOMString globalCompositeOperation;
|
| @@ -76,6 +77,7 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| [RaisesException] void arcTo(float x1, float y1, float x2, float y2, float radius);
|
| void rect(float x, float y, float width, float height);
|
| [RaisesException] void arc(float x, float y, float radius, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise);
|
| + [RaisesException] void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, boolean anticlockwise);
|
|
|
| void fill(optional CanvasWindingRule winding);
|
| void stroke();
|
| @@ -126,9 +128,9 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| [RaisesException] void drawImage(HTMLVideoElement? video, float x, float y);
|
| [RaisesException] void drawImage(HTMLVideoElement? video, float x, float y, float width, float height);
|
| [RaisesException] void drawImage(HTMLVideoElement? video, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh);
|
| - [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float x, float y);
|
| - [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float x, float y, float width, float height);
|
| - [EnabledAtRuntime=experimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh);
|
| + [EnabledAtRuntime=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float x, float y);
|
| + [EnabledAtRuntime=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float x, float y, float width, float height);
|
| + [EnabledAtRuntime=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float sx, float sy, float sw, float sh, float dx, float dy, float dw, float dh);
|
|
|
| void drawImageFromRect(HTMLImageElement image,
|
| optional float sx, optional float sy, optional float sw, optional float sh,
|
| @@ -160,14 +162,14 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh);
|
|
|
| // Focus rings
|
| - [EnabledAtRuntime=experimentalCanvasFeatures] void drawSystemFocusRing(Element element);
|
| - [EnabledAtRuntime=experimentalCanvasFeatures] boolean drawCustomFocusRing(Element element);
|
| + [EnabledAtRuntime=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element element);
|
| + [EnabledAtRuntime=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Element element);
|
|
|
| readonly attribute float webkitBackingStorePixelRatio;
|
|
|
| [ImplementedAs=imageSmoothingEnabled] attribute boolean webkitImageSmoothingEnabled;
|
| attribute boolean imageSmoothingEnabled;
|
|
|
| - [EnabledAtRuntime=experimentalCanvasFeatures] Canvas2DContextAttributes getContextAttributes();
|
| + [EnabledAtRuntime=ExperimentalCanvasFeatures] Canvas2DContextAttributes getContextAttributes();
|
| };
|
|
|
|
|