2010-12-28 Kenneth Russell <kbr@google.com>
authorkbr@google.com <kbr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Dec 2010 23:16:19 +0000 (23:16 +0000)
committerkbr@google.com <kbr@google.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 28 Dec 2010 23:16:19 +0000 (23:16 +0000)
        Reviewed by Eric Seidel.

        Make fast/canvas/canvas-save-restore-with-path.js more robust
        https://bugs.webkit.org/show_bug.cgi?id=51665

        * fast/canvas/canvas-save-restore-with-path-expected.txt:
        * fast/canvas/canvas-save-restore-with-path.js:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74729 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/canvas/canvas-save-restore-with-path-expected.txt
LayoutTests/fast/canvas/canvas-save-restore-with-path.js

index 4c47134..f189410 100644 (file)
@@ -1,3 +1,13 @@
+2010-12-28  Kenneth Russell  <kbr@google.com>
+
+        Reviewed by Eric Seidel.
+
+        Make fast/canvas/canvas-save-restore-with-path.js more robust
+        https://bugs.webkit.org/show_bug.cgi?id=51665
+
+        * fast/canvas/canvas-save-restore-with-path-expected.txt:
+        * fast/canvas/canvas-save-restore-with-path.js:
+
 2010-12-28  Helder Correia  <helder@sencha.com>
 
         Reviewed by Eric Seidel.
index deac254..c3c69a8 100644 (file)
@@ -5,9 +5,9 @@ On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
 
 PASS getPixel(25,25) is [0,128,0,255]
 PASS getPixel(75,25) is [0,128,0,255]
-PASS getPixel(75,50) is [255,0,0,255]
+PASS getPixel(75,75) is [255,0,0,255]
 PASS getPixel(25,75) is [0,128,0,255]
-PASS getPixel(50,75) is [255,0,0,255]
+PASS getPixel(75,75) is [255,0,0,255]
 PASS getPixel(75,75) is [0,128,0,255]
 PASS successfullyParsed is true
 
index 2fb321b..73d8949 100644 (file)
@@ -44,7 +44,7 @@ context.rect(25, 0,25,25);
 context.restore();
 context.fill();
 pixelShouldBe(75, 25, [0, 128, 0, 255]);
-pixelShouldBe(75, 50, [255, 0, 0, 255]);
+pixelShouldBe(75, 75, [255, 0, 0, 255]);
 
 // Test rotate
 context.beginPath();
@@ -54,7 +54,7 @@ context.rect(50, -50, 50, 50);
 context.restore();
 context.fill();
 pixelShouldBe(25, 75, [0, 128, 0, 255]);
-pixelShouldBe(50, 75, [255, 0, 0, 255]);
+pixelShouldBe(75, 75, [255, 0, 0, 255]);
 
 // Test transform
 context.beginPath();