aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/CanvasRenderingContext2D.webidl
diff options
context:
space:
mode:
authorHyowon Kim <hw1008.kim@samsung.com>2015-05-14 10:08:10 +0900
committerHyowon Kim <hw1008.kim@samsung.com>2015-06-13 14:35:13 +0900
commit00240e5550f52d49c0308e56498e177d357eb53c (patch)
treeced3ed2ce6657daf7b0102e1d81bc3097fe134ca /components/script/dom/webidls/CanvasRenderingContext2D.webidl
parent2168ec3c96ca9e8e1174be22be07d1168061b4b6 (diff)
downloadservo-00240e5550f52d49c0308e56498e177d357eb53c.tar.gz
servo-00240e5550f52d49c0308e56498e177d357eb53c.zip
Implementation of pattern fill style for canvas.
Diffstat (limited to 'components/script/dom/webidls/CanvasRenderingContext2D.webidl')
-rw-r--r--components/script/dom/webidls/CanvasRenderingContext2D.webidl3
1 files changed, 2 insertions, 1 deletions
diff --git a/components/script/dom/webidls/CanvasRenderingContext2D.webidl b/components/script/dom/webidls/CanvasRenderingContext2D.webidl
index c8816864afb..c1fa7dae4b7 100644
--- a/components/script/dom/webidls/CanvasRenderingContext2D.webidl
+++ b/components/script/dom/webidls/CanvasRenderingContext2D.webidl
@@ -62,7 +62,8 @@ interface CanvasRenderingContext2D {
CanvasGradient createLinearGradient(double x0, double y0, double x1, double y1);
[Throws]
CanvasGradient createRadialGradient(double x0, double y0, double r0, double x1, double y1, double r1);
- //CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);
+ [Throws]
+ CanvasPattern createPattern(CanvasImageSource image, [TreatNullAs=EmptyString] DOMString repetition);
// shadows
attribute unrestricted double shadowOffsetX; // (default 0)