| Index: core/html/canvas/CanvasRenderingContext2D.idl
|
| diff --git a/core/html/canvas/CanvasRenderingContext2D.idl b/core/html/canvas/CanvasRenderingContext2D.idl
|
| index 1c243a6b4a05a2229f0cc902b6d2d247d4155fed..d99a6a07c70e63980e4b6f616949681725ca2627 100644
|
| --- a/core/html/canvas/CanvasRenderingContext2D.idl
|
| +++ b/core/html/canvas/CanvasRenderingContext2D.idl
|
| @@ -58,10 +58,6 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| sequence<float> getLineDash();
|
| attribute float lineDashOffset;
|
|
|
| - // FIXME: These attributes should be implemented.
|
| - // [Custom] attribute Array webkitLineDash;
|
| - // attribute float webkitLineDashOffset;
|
| -
|
| void clearRect(float x, float y, float width, float height);
|
| void fillRect(float x, float y, float width, float height);
|
|
|
| @@ -78,7 +74,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);
|
| + [RaisesException] void ellipse(float x, float y, float radiusX, float radiusY, float rotation, float startAngle, float endAngle, [Default=Undefined] optional boolean anticlockwise);
|
|
|
| void fill(optional CanvasWindingRule winding);
|
| void stroke();
|
| @@ -146,8 +142,8 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy);
|
| [RaisesException] void putImageData(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
|
|
|
| - [RaisesException] void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy);
|
| - [RaisesException] void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
|
| + [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy);
|
| + [RaisesException, DeprecateAs=PrefixedPutImageDataHD] void webkitPutImageDataHD(ImageData? imagedata, float dx, float dy, float dirtyX, float dirtyY, float dirtyWidth, float dirtyHeight);
|
|
|
| [RaisesException] CanvasPattern createPattern(HTMLCanvasElement? canvas, [TreatNullAs=NullString] DOMString repetitionType);
|
| [RaisesException] CanvasPattern createPattern(HTMLImageElement? image, [TreatNullAs=NullString] DOMString repetitionType);
|
| @@ -160,7 +156,7 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
| // pixel manipulation
|
| [RaisesException] ImageData getImageData(float sx, float sy, float sw, float sh);
|
|
|
| - [RaisesException] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh);
|
| + [RaisesException, DeprecateAs=PrefixedGetImageDataHD] ImageData webkitGetImageDataHD(float sx, float sy, float sw, float sh);
|
|
|
| // Focus rings
|
| [RuntimeEnabled=ExperimentalCanvasFeatures] void drawSystemFocusRing(Element element);
|
| @@ -168,8 +164,8 @@ interface CanvasRenderingContext2D : CanvasRenderingContext {
|
|
|
| readonly attribute float webkitBackingStorePixelRatio;
|
|
|
| - [ImplementedAs=imageSmoothingEnabled] attribute boolean webkitImageSmoothingEnabled;
|
| - attribute boolean imageSmoothingEnabled;
|
| + [ImplementedAs=imageSmoothingEnabled, MeasureAs=PrefixedImageSmoothingEnabled] attribute boolean webkitImageSmoothingEnabled;
|
| + [MeasureAs=UnprefixedImageSmoothingEnabled] attribute boolean imageSmoothingEnabled;
|
|
|
| Canvas2DContextAttributes getContextAttributes();
|
| };
|
|
|