Commit Graph

94 Commits

Author SHA1 Message Date
Peter Van der Beken
5fb21f4a0a Fix for bug 762657 (Fix canvas tests and drop support for fake ImageData in putImageData to comply with spec). r=Ms2ger. 2012-05-25 16:27:18 +02:00
Nicholas Cameron
68fb6559be Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Matt Brubeck
6940aaf76e Back out bug 761890, bug 746896, and bug 759036 because of reftest failures 2012-06-11 22:50:31 -07:00
Nicholas Cameron
334d561801 Bug 761890 (was 746883); fix unexpected passes due to Azure/Skia canvas. r=gw280,jmuizelaar 2012-04-16 07:49:56 +12:00
Benoit Jacob
ddf3d2dafb Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel 2012-06-08 13:41:39 -04:00
Matt Brubeck
a99bca4a9c Back out bug 759221 and bug 761326 because of media test failures 2012-06-08 12:20:14 -07:00
Benoit Jacob
64bf2c0270 Bug 761326 - test_2d.path.arc.scale.1 assumes unrealistic 0.098 tolerance or luck - r=jrmuizel 2012-06-08 13:41:39 -04:00
Ms2ger
02552d94c3 Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Masatoshi Kimura
f19c2e64db Bug 745498 - Add testcases for DOM4 exception types. r=sicking 2012-04-26 09:42:26 -07:00
Ms2ger
d09083b4f6 Bug 550309 - Part f: Return real ImageData from CreateImageData; r=bz 2012-03-16 10:49:16 +01:00
Ms2ger
56b8f0ff95 Bug 550309 - Part e: Remove custom quickstub for getImageData and return an actual ImageData; r=bz 2012-03-16 10:48:55 +01:00
Ms2ger
fff2289741 Bug 550309 - Part c: Implement ImageData; r=bz 2012-03-16 10:44:08 +01:00
Ms2ger
80c5173925 Bug 550309 - Part a: Tighten up support for fake ImageData objects; r=bz 2012-03-16 10:41:53 +01:00
Ms2ger
313e4a22eb No bug - Update test_canvas.html to test for Uint8ClampedArray instead of CanvasPixelArray; r=mounir 2012-03-11 09:54:26 +01:00
Masatoshi Kimura
07ecbeebc6 Bug 720208 - Implement DOM4 DOMException types and codes. r=smaug,ms2ger 2012-02-23 01:34:14 +01:00
Jeff Muizelaar
1d16463b83 Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow 2012-01-04 15:35:55 -05:00
Matt Brubeck
fe64931e21 Back out efd165428f08 to 4a79fefefa28 (bug 580786, bug 716639, bug 692879, bug 717921) because of reftest error 2012-01-17 10:08:38 -08:00
Jeff Muizelaar
dec98273f4 Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow 2012-01-04 15:35:55 -05:00
Ms2ger
b4f4c7b868 Backout bug 580786 / bug 716639 / bug 692879 / bug 717921 / bug 692879 (2dc5909e63b0:ced751d32df6); a=philor 2012-01-17 10:48:19 +01:00
Jeff Muizelaar
604cc64f60 Bug 692879. Handle failing tests on OS X 10.5. r=mwoodrow 2012-01-04 15:35:55 -05:00
Bobby Holley
013e266d05 Bug 713747 - Use UniversalXPConnect and UniversalXPConnect only in test coverage. r=bz 2011-12-30 09:35:38 -08:00
Matt Woodrow
df70342ea9 Bug 702517 - Mark tests that fail in chrome as passing. r=jrmuizel 2011-11-18 17:00:38 +13:00
Matt Woodrow
5eb1333f96 Bug 702517 - Expose skia backend as a GfxInfo property and use it to mark tests as passing. r=jrmuizel 2011-11-18 17:00:38 +13:00
Ms2ger
bc4662eaf5 Bug 691156 - Handle putImageData(nonfinite) correctly; r=bz 2011-10-08 12:18:53 +02:00
Ms2ger
35bc091e32 Bug 689046 - Ensure createPattern(zero-size canvas) throws; r=roc 2011-10-08 12:18:51 +02:00
Ms2ger
8530f7822d Bug 691184 - Add test_2d.text.align.(default|invalid).html & test_2d.text.baseline.(default|invalid).html from Philip Taylor's canvas tests; r=smaug 2011-10-07 10:24:38 +01:00
Ed Morley
8f43ede380 (No bug) Remove CRLFs that have crept into test_canvas.html; rs=bz 2011-10-07 10:24:37 +01:00
Atul Aggarwal
c27ff623a3 Bug 673820 - Rewriting StringToInteger function to match behavior of Rules for parsing Integers specified in spec. r=jonas f=mounir,Ms2ger,dbaron 2011-10-01 19:30:27 +05:30
Malini Das
226ecaa733 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain 1/1. r=jmaher, a=test-only 2011-08-12 12:21:42 -04:00
Malini Das
ebc2d6c40a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Jeff Muizelaar
f794cb74f1 Bug 629875/bug 669366. Switch back to our old behaviour for source rects larger than the source image for both Cairo and Azure canvas implementations. r=joe a=dveditz
We haven't decided what the behaviour for source rects larger than
the source image should be, and 4ede7b9b55bc breaks content like
20thingsilearned.com.
2011-07-22 15:35:16 -04:00
Benjamin Peterson
f0a19907d5 Bug 670442: Reset mZero flag on the CanvasRenderingContext when new dimensions are set. r=joe 2011-07-12 08:54:38 -07:00
Bas Schouten
00c735c023 Bug 666097 - Fix radial gradient drawing in Azure. r=jrmuizel
* * *
Part 2: Adjust tests to properly confirm passing. r=jrmuizel
2011-07-08 18:49:35 +00:00
Bas Schouten
0a5028f732 Bug 668801: Backed out Bug 656844 - changeset 22ec5982eca7. 2011-07-04 16:32:36 +00:00
Bas Schouten
eb494b7a9e Bug 651858 - Part 9: Update canvas tests to deal with new Azure canvas. r=roc 2011-06-24 19:41:18 +02:00
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