Update mac-lion canvas results
authormdelaney@apple.com <mdelaney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2012 07:17:28 +0000 (07:17 +0000)
committermdelaney@apple.com <mdelaney@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 28 Jan 2012 07:17:28 +0000 (07:17 +0000)
https://bugs.webkit.org/show_bug.cgi?id=77178

These canvas tests were previously skipped on Lion and needed to be rebaselined for mac.

Reviewed by Filip Pizlo.

* platform/mac-lion/Skipped:
* platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.round-expected.txt: Copied from LayoutTests/canvas/philip/tests/2d.line.cap.round-expected.txt.
* platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt: Copied from LayoutTests/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt.
* platform/mac-snowleopard/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
* platform/mac-snowleopard/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
* platform/mac/canvas/philip/tests/2d.line.cap.round-expected.txt: Added.
* platform/mac/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt: Added.
* platform/mac/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
* platform/mac/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.

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

LayoutTests/ChangeLog
LayoutTests/platform/mac-lion/Skipped
LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.round-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-snowleopard/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac-snowleopard/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/canvas/philip/tests/2d.line.cap.round-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt [new file with mode: 0644]
LayoutTests/platform/mac/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt [new file with mode: 0644]

index 83ef4eeaeae3278a41bb95ad23c5dac6829b5f99..a13c98b2323c4a154462fbd27a2049d4d26d110f 100644 (file)
@@ -1,3 +1,22 @@
+2012-01-27  Matthew Delaney  <mdelaney@apple.com>
+
+        Update mac-lion canvas results
+        https://bugs.webkit.org/show_bug.cgi?id=77178
+
+        These canvas tests were previously skipped on Lion and needed to be rebaselined for mac.
+
+        Reviewed by Filip Pizlo.
+
+        * platform/mac-lion/Skipped:
+        * platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.round-expected.txt: Copied from LayoutTests/canvas/philip/tests/2d.line.cap.round-expected.txt.
+        * platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt: Copied from LayoutTests/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt.
+        * platform/mac-snowleopard/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
+        * platform/mac-snowleopard/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
+        * platform/mac/canvas/philip/tests/2d.line.cap.round-expected.txt: Added.
+        * platform/mac/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt: Added.
+        * platform/mac/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt: Added.
+        * platform/mac/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt: Added.
+
 2012-01-27  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
 
         Unreviewed, EFL tables rebaseline after r101343.
index cab81ab29159a16d2729333188e8fc96bb451153..9d23cb474ffb5fdb50ed41bd808b1f1c28981d75 100644 (file)
@@ -1,20 +1,8 @@
 # --- Canvas ---
 
-# <rdar://problem/9259704>
-canvas/philip/tests/2d.line.cap.round.html
-
 # <rdar://problem/9121810>
 canvas/philip/tests/2d.shadow.enable.off.2.html
 
-# <rdar://problem/8955076>
-canvas/philip/tests/2d.strokeRect.zero.5.html
-
-# <rdar://problem/9356215>
-fast/canvas/canvas-fillRect-gradient-shadow.html
-
-# <rdar://problem/10763064>
-fast/canvas/canvas-draw-canvas-on-canvas-shadow.html
-
 # This test incorrectly checks the shadow blur's distance and needs to be fixed
 # <rdar://problem/9326220>
 fast/canvas/canvas-scale-shadowBlur.html
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.round-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.round-expected.txt
new file mode 100644 (file)
index 0000000..863339f
--- /dev/null
@@ -0,0 +1 @@
+Passed
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt
new file mode 100644 (file)
index 0000000..863339f
--- /dev/null
@@ -0,0 +1 @@
+Passed
diff --git a/LayoutTests/platform/mac-snowleopard/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt b/LayoutTests/platform/mac-snowleopard/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt
new file mode 100644 (file)
index 0000000..5b3196b
--- /dev/null
@@ -0,0 +1,57 @@
+Ensure correct behavior when drawing a canvas on a canvas with shadows. A blue and red checkered pattern should be displayed.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 127
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 127
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 127
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 100
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 100
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 100
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 50
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 50
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 50
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/mac-snowleopard/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt b/LayoutTests/platform/mac-snowleopard/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt
new file mode 100644 (file)
index 0000000..2f04697
--- /dev/null
@@ -0,0 +1,89 @@
+Ensure correct behavior of canvas with fillRect using a gradient fillStyle and a shadow
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/mac/canvas/philip/tests/2d.line.cap.round-expected.txt b/LayoutTests/platform/mac/canvas/philip/tests/2d.line.cap.round-expected.txt
new file mode 100644 (file)
index 0000000..88cef5e
--- /dev/null
@@ -0,0 +1,4 @@
+Failed assertion: got pixel [1,254,0,255] at (67,6), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (82,6), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (67,43), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (82,43), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt b/LayoutTests/platform/mac/canvas/philip/tests/2d.strokeRect.zero.5-expected.txt
new file mode 100644 (file)
index 0000000..6132242
--- /dev/null
@@ -0,0 +1 @@
+Failed assertion: got pixel [0,0,0,0] at (50,25), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt b/LayoutTests/platform/mac/fast/canvas/canvas-draw-canvas-on-canvas-shadow-expected.txt
new file mode 100644 (file)
index 0000000..620516a
--- /dev/null
@@ -0,0 +1,57 @@
+Ensure correct behavior when drawing a canvas on a canvas with shadows. A blue and red checkered pattern should be displayed.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+FAIL d[3] should be 255. Was 254.
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 127
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 127
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 127
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 100
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 100
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 100
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 50
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 50
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 50
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
diff --git a/LayoutTests/platform/mac/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt b/LayoutTests/platform/mac/fast/canvas/canvas-fillRect-gradient-shadow-expected.txt
new file mode 100644 (file)
index 0000000..af6d743
--- /dev/null
@@ -0,0 +1,89 @@
+Ensure correct behavior of canvas with fillRect using a gradient fillStyle and a shadow
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is 255
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+FAIL d[3] should be 255. Was 254.
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+FAIL d[3] should be 255. Was 254.
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is around 76
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 25
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 10
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS d[0] is 255
+PASS d[1] is 0
+PASS d[2] is 0
+PASS d[3] is smaller than 15
+PASS successfullyParsed is true
+
+TEST COMPLETE
+