Commit Graph

59 Commits

Author SHA1 Message Date
Ms2ger
0a8ed510ae Bug 664107 - Calling drawImage with non-finite arguments should not throw; r=smaug 2011-06-15 09:39:50 +02:00
Ms2ger
f689f76230 Bug 663190 - Calling strokeRect with zero width or height should do nothing; r=smaug 2011-06-11 09:57:47 +02:00
Benjamin Peterson
f33f2a8939 Bug 405300 - ignore transformation in isPointInPath(). r=joe sr=roc 2011-06-03 07:50:14 +02:00
Ms2ger
83213e2e5c Bug 629870 - Drop support for globalCompositeOperation=over,clear; r=sicking 2011-06-02 14:56:46 +02:00
Robert O'Callahan
de90bab3f0 Bug 656844. Only draw shadows when 'source-over' operator is being used. r=joe 2011-05-30 15:28:01 +12:00
Ms2ger
94e074430e Bug 632513 - Handle non-finite values for setTransform per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
de38b777c6 Bug 632486 - Handle non-finite values for bezierCurveTo per spec; r=jst 2011-05-26 10:06:32 +02:00
Ms2ger
72b17e40b8 Bug 632482 - Handle non-finite values for arcTo per spec; r=jst 2011-05-26 10:06:31 +02:00
Brian O'Keefe
f23639843a Bug 564388 - Make the 'quality' parameter to ToDataURL work for image/jpeg. Also fixes bug 401795 (handle excess arguments to ToDataURL by ignoring them). r=bz,roc 2011-05-26 09:28:26 +02:00
Benjamin Peterson
78d70f5c67 Bug 649618: toDataURL on a zero canvas should return "data:," r=joe 2011-05-20 00:28:45 +02:00
Benjamin Peterson
040b25d60a Bug 421865 - Handle zero dimensions correctly in canvas GetWidthHeight(). r=joe sr=roc 2011-05-19 12:49:18 +02:00
Yury
851a7b79ec Bug 451165. Fix ParseColorString to report errors when there's garbage at the end of the color. r=dbaron 2011-05-05 17:12:04 -04:00
Ms2ger
7ff95e7586 Bug 632511 - Handle non-finite values for scale per spec; r=peterv 2011-04-12 14:32:03 +02:00
Ms2ger
7cbdb1d69d Bug 632481 - Handle non-finite values for arc per spec; r=peterv 2011-04-12 14:32:02 +02:00
Ms2ger
a22b52bcf6 Bug 632476 - Handle non-finite values for fillRect, strokeRect per spec; r=peterv 2011-04-12 14:32:02 +02:00
Ms2ger
c9af19f2a0 Bug 630029 - Throw INDEX_SIZE_ERR instead of SYNTAX_ERR when calling CanvasGradient.addColorStop with non-finite values; r=?sicking 2011-04-02 20:50:14 +02:00
Saint Wesonga
fcb6bda0f8 Bug 392751 - Allow out of bounds rects in getImageData; r=bz 2011-04-07 21:45:18 -07:00
Ms2ger
b61a54bec6 Bug 629894 - createImageData and getImageData should work for sizes smaller than one pixel; r=bz 2011-04-02 20:42:07 +02:00
Yury
64f4b8b9f9 Bug 630040 - Implement createImageData(ImageData); r=bz 2011-04-02 20:45:26 +02:00
Ms2ger
1dbcb7849f Bug 630052, part c: Handle non-finite and negative arguments to createImageData and getImageData according to spec; r=bz 2011-04-02 14:19:03 -04:00
Ms2ger
4b58fe5c44 Bug 632516 - Handle non-finite values for translate per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
a10869f560 Bug 632515 - Handle non-finite values for transform per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
cc7e3070ad Bug 632503 - Handle non-finite values for rect per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
fc72ec5edd Bug 632502 - Handle non-finite values for quadraticCurveTo per spec; r=roc 2011-04-01 15:31:35 -04:00
Ms2ger
bbbb96686d Bug 632495 - Handle non-finite values for moveTo per spec; r=roc 2011-03-29 14:12:00 -04:00
Ms2ger
bfd5b90e38 Bug 632493 - Handle non-finite values for lineTo per spec; r=roc 2011-03-29 14:05:00 -04:00
Ms2ger
9131b09a59 Bug 630271 - Throw a TYPE_MISMATCH_ERR on createPattern(null); r=smaug 2011-04-01 15:31:34 -04:00
Ms2ger
be28318564 Bug 630034 - Throw when attempting to create a radial gradient with negative radii; r=jmuizelaar 2011-03-31 11:47:00 -04:00
Ms2ger
8276fdc0be Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ehsan Akhgari
a37a42a15a Backout the latest cedar merge wholesale until I test the correctness of the merge locally. This commit takes the tree state back to changeset 8d3f6093c425 (the last known good changeset before the merge) 2011-04-01 12:23:48 -04:00
Ms2ger
8dc249999d Bug 632474 - Throw a TYPE_MISMATCH_ERR on drawImage(null); r=sicking 2011-03-31 15:38:30 -04:00
Ms2ger
0801e6b3bd Bug 632508 - Handle non-finite values for rotate per spec; r=roc 2011-03-30 13:40:48 -04:00
Ms2ger
684a331355 Bug 632505 - Handle non-finite values for shadow{OffsetX|OffsetY|Blur} per spec; r=smaug 2011-03-30 13:40:48 -04:00
Ms2ger
89c164fbe9 Bug 632464 - Handle non-finite values for globalAlpha per spec; r=smaug 2011-03-30 13:40:47 -04:00
Yury
a03e806dba Bug 629875 - Handle negative arguments to drawImage; r=jmuizelaar 2011-03-30 14:55:13 +02:00
Ms2ger
935b9b1a06 Bug 632469 - Handle non-finite values for clearRect per spec; r=smaug 2011-03-29 22:24:53 -04:00
Ms2ger
865e6e0efb Bug 494744. Fix testcase to actually test what it means to test. r=roc 2011-03-28 12:49:11 -04:00
Mounir Lamouri
5540e613c3 Bug 610212 - canvas.width and canvas.height should be reflected as unsigned int. r=jst 2011-03-25 12:40:55 +01:00
Ms2ger
9cc1ca76a8 Bug 630036 - Throw NOT_SUPPORTED_ERR instead of SYNTAX_ERR when calling cx.create{Linear|Radial}Gradient with non-finite values; r+a=roc 2011-02-02 08:48:57 +13:00
Ms2ger
904d5c8306 Bug 630062 - Don't throw on setting lineWidth and ignore non-positive values; r+a=roc 2011-02-02 08:47:24 +13:00
Ms2ger
fa9b72de56 Bug 630056 - Don't throw on setting miterLimit and ignore non-positive values; r+a=roc 2011-02-02 08:46:44 +13:00
Ms2ger
1bfcde2f20 Bug 630068 - Throw when attempting to create an arc with a negative radius; r+a=roc 2011-02-02 08:45:48 +13:00
David Mandelin
db29c8e520 Bug 628612 followup: fix mochitest that assumes constructors are non-configurable, r=orange, a=blocker 2011-01-25 18:57:59 -08:00
Saint Wesonga
29e4aefe26 Bug 498826 - Implement optional putImageData arguments. r+a=vlad 2010-12-04 16:44:26 +01:00
Ms2ger
1b9bc7ac99 Bug 589581 - Don't throw on non-finite values in canvas2Dcontext.isPointInPath; r+a=vlad 2010-10-17 20:24:31 +02:00
Boris Zbarsky
73a0833b6e Followup for bug 587106. Update test to the new syntax. a=bustage 2010-10-06 22:40:41 -04:00
Bas Schouten
9016bee881 Bug 587316 - Part 6: Disable failing gradient test on D2D. r=jrmuizel 2010-08-16 09:15:03 +02:00
Bas Schouten
b7854ae4e2 Bug 587316 - Part 5: Disable failing rectangle drawing test failing due to D2D inaccuracy. r=jrmuizel 2010-08-16 09:15:02 +02:00
Bas Schouten
e2f443679f Bug 587316 - Part 2: Disable degenerate rect stroking test. r=jrmuizel 2010-08-16 09:15:02 +02:00
d6b59d075b Bug 571532 - Remove support for ctx.globalCompositeOperation = 'darker'. r=vlad 2010-07-15 10:12:34 +02:00