aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CanvasRenderingContext2D.webidl
diff options
context:
space:
mode:
authorJoone Hur <joone.hur@intel.com>2017-08-17 10:43:19 -0700
committerJoone Hur <joone.hur@intel.com>2017-09-01 16:04:06 -0700
commit57e283aaabaf1c481fa14dff9e85a53eac4d8113 (patch)
treef195fa268c372da8e18dc1f2a36171a0e3dab63c /components/script/dom/webidls/CanvasRenderingContext2D.webidl
parentac7cf536927a42a5cece379c53d6f39813a77d71 (diff)
downloadservo-57e283aaabaf1c481fa14dff9e85a53eac4d8113.tar.gz
servo-57e283aaabaf1c481fa14dff9e85a53eac4d8113.zip
Implement Ellipse Canvas 2D API
* Update rust-azure to 0.21.0 * Mark the following test case as fail: tests/wpt/mozilla/tests/mozilla/css-paint-api/background-image-tiled.html * Make the ellipse test case pass. BUG: https://github.com/servo/servo/issues/17598
Diffstat (limited to 'components/script/dom/webidls/CanvasRenderingContext2D.webidl')
-rw-r--r--components/script/dom/webidls/CanvasRenderingContext2D.webidl5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/script/dom/webidls/CanvasRenderingContext2D.webidl b/components/script/dom/webidls/CanvasRenderingContext2D.webidl
index b77706332d3..ccf637865cb 100644
--- a/components/script/dom/webidls/CanvasRenderingContext2D.webidl
+++ b/components/script/dom/webidls/CanvasRenderingContext2D.webidl
@@ -264,4 +264,9 @@ interface CanvasPath {
// [LenientFloat] void ellipse(double x, double y, double radiusX, double radiusY,
// double rotation, double startAngle, double endAngle,
// boolean anticlockwise);
+
+ [Throws]
+ void ellipse(unrestricted double x, unrestricted double y, unrestricted double radius_x,
+ unrestricted double radius_y, unrestricted double rotation, unrestricted double startAngle,
+ unrestricted double endAngle, optional boolean anticlockwise = false);
};