Index: core/html/canvas/CanvasRenderingContext2D.idl |
diff --git a/core/html/canvas/CanvasRenderingContext2D.idl b/core/html/canvas/CanvasRenderingContext2D.idl |
index 69a3ffa2354126397273daa1ad0936f1b3312e3b..52b20e2ec2cf7c6fac96a4d22a3a2e111d7e08e5 100644 |
--- a/core/html/canvas/CanvasRenderingContext2D.idl |
+++ b/core/html/canvas/CanvasRenderingContext2D.idl |
@@ -30,6 +30,7 @@ interface CanvasRenderingContext2D : CanvasRenderingContext { |
void save(); |
void restore(); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures, Immutable] attribute SVGMatrix currentTransform; |
void scale(float sx, float sy); |
void rotate(float angle); |
void translate(float tx, float ty); |
@@ -128,9 +129,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); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float x, float y); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures, RaisesException] void drawImage(ImageBitmap? imageBitmap, float x, float y, float width, float height); |
+ [RuntimeEnabled=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, |
@@ -162,14 +163,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); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element element); |
+ [RuntimeEnabled=ExperimentalCanvasFeatures] boolean drawCustomFocusRing(Element element); |
readonly attribute float webkitBackingStorePixelRatio; |
[ImplementedAs=imageSmoothingEnabled] attribute boolean webkitImageSmoothingEnabled; |
attribute boolean imageSmoothingEnabled; |
- [EnabledAtRuntime=ExperimentalCanvasFeatures] Canvas2DContextAttributes getContextAttributes(); |
+ Canvas2DContextAttributes getContextAttributes(); |
}; |