[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

mdelaney at apple.com mdelaney at apple.com
Wed Dec 22 15:10:11 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 8c4b0a2db4c7840e8c3de6baaf24191753bdad97
Author: mdelaney at apple.com <mdelaney at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Oct 28 20:30:05 2010 +0000

    2010-10-28  Matthew Delaney  <mdelaney at apple.com>
    
            Reviewed by Oliver Hunt.
    
            Unskip remaining canvas layout tests so that they can track progressions/regressions
            https://bugs.webkit.org/show_bug.cgi?id=46439
    
            * platform/mac-leopard/Skipped: Moving overall mac skipped tests down to specifically leopard skipped.
            * platform/mac-snowleopard/canvas/philip/tests: Added snowleopard specific expectation files for now unskipped tests.
            * platform/mac/Skipped: Unskipped all canvas tests that we want to track. Commented why the test that remain on the list are there.
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@70803 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index d237b31..4ca448f 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2010-10-28  Matthew Delaney  <mdelaney at apple.com>
+
+        Reviewed by Oliver Hunt.
+
+        Unskip remaining canvas layout tests so that they can track progressions/regressions
+        https://bugs.webkit.org/show_bug.cgi?id=46439
+
+        * platform/mac-leopard/Skipped: Moving overall mac skipped tests down to specifically leopard skipped.
+        * platform/mac-snowleopard/canvas/philip/tests: Added snowleopard specific expectation files for now unskipped tests.
+        * platform/mac/Skipped: Unskipped all canvas tests that we want to track. Commented why the test that remain on the list are there.
+
 2010-10-28  Yuzo Fujishima  <yuzo at google.com>
 
         Reviewed by David Hyatt.
diff --git a/LayoutTests/platform/mac-leopard/Skipped b/LayoutTests/platform/mac-leopard/Skipped
index 3d76eb2..d8b03dc 100644
--- a/LayoutTests/platform/mac-leopard/Skipped
+++ b/LayoutTests/platform/mac-leopard/Skipped
@@ -106,3 +106,57 @@ platform/mac/editing/spelling/forward-delete-into-autocorrected-word.html
 platform/mac/editing/spelling/move-cursor-around-misspelled-word.html
 platform/mac/editing/spelling/move-cursor-to-autocorrected-word.html
 platform/mac/editing/spelling/move-cursor-to-beginning-of-autocorrected-word.html
+
+# Skipping failing philip canvas tests from http://philip.html5.org/tests/canvas/suite/tests/
+canvas/philip/tests/2d.drawImage.broken.html
+canvas/philip/tests/2d.drawImage.incomplete.html
+canvas/philip/tests/2d.drawImage.null.html
+canvas/philip/tests/2d.fillStyle.parse.system.html
+canvas/philip/tests/2d.gradient.radial.cone.front.html
+canvas/philip/tests/2d.gradient.radial.cone.top.html
+canvas/philip/tests/2d.gradient.radial.inside2.html
+canvas/philip/tests/2d.gradient.radial.inside3.html
+canvas/philip/tests/2d.gradient.radial.outside1.html
+canvas/philip/tests/2d.imageData.create1.type.html
+canvas/philip/tests/2d.imageData.create2.type.html
+canvas/philip/tests/2d.imageData.get.source.negative.html
+canvas/philip/tests/2d.imageData.get.source.outside.html
+canvas/philip/tests/2d.imageData.get.type.html
+canvas/philip/tests/2d.line.cap.closed.html
+canvas/philip/tests/2d.line.join.parallel.html
+canvas/philip/tests/2d.line.miter.lineedge.html
+canvas/philip/tests/2d.missingargs.html
+canvas/philip/tests/2d.path.arcTo.ensuresubpath.2.html
+canvas/philip/tests/2d.path.clip.empty.html
+canvas/philip/tests/2d.path.rect.winding.html
+canvas/philip/tests/2d.pattern.image.broken.html
+canvas/philip/tests/2d.pattern.image.incomplete.html
+canvas/philip/tests/2d.pattern.image.null.html
+canvas/philip/tests/2d.pattern.image.undefined.html
+canvas/philip/tests/2d.shadow.enable.blur.html
+canvas/philip/tests/2d.shadow.enable.x.html
+canvas/philip/tests/2d.shadow.enable.y.html
+canvas/philip/tests/2d.shadow.gradient.alpha.html
+canvas/philip/tests/2d.shadow.gradient.basic.html
+canvas/philip/tests/2d.shadow.gradient.transparent.2.html
+canvas/philip/tests/2d.strokeRect.zero.4.html
+canvas/philip/tests/2d.text.draw.baseline.bottom.html
+canvas/philip/tests/2d.text.draw.baseline.hanging.html
+canvas/philip/tests/2d.text.draw.baseline.ideographic.html
+canvas/philip/tests/2d.text.draw.baseline.middle.html
+canvas/philip/tests/2d.text.draw.baseline.top.html
+canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface.html
+canvas/philip/tests/2d.text.draw.space.collapse.end.html
+canvas/philip/tests/2d.text.draw.space.collapse.nonspace.html
+canvas/philip/tests/2d.text.draw.space.collapse.other.html
+canvas/philip/tests/2d.text.draw.space.collapse.space.html
+canvas/philip/tests/2d.text.draw.space.collapse.start.html
+canvas/philip/tests/2d.text.font.parse.basic.html
+canvas/philip/tests/2d.text.font.parse.complex.html
+canvas/philip/tests/2d.text.font.parse.invalid.html
+canvas/philip/tests/2d.text.font.parse.size.percentage.html
+canvas/philip/tests/2d.text.font.parse.size.percentage.default.html
+canvas/philip/tests/2d.text.font.parse.system.html
+canvas/philip/tests/2d.text.measure.width.space.html
+canvas/philip/tests/toDataURL.jpeg.alpha.html
+canvas/philip/tests/type.prototype.html
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.broken-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.broken-expected.txt
new file mode 100644
index 0000000..29b9e3e
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.broken-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.drawImage.broken
+References: 2d.drawImage.incomplete.image
+Actual output:
+Expected output:
+
+Failed assertion img.complete === false (got true[boolean], expected false[boolean])
+
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.incomplete-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.incomplete-expected.txt
new file mode 100644
index 0000000..e7045a9
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.incomplete-expected.txt
@@ -0,0 +1,7 @@
+< [index] >
+2d.drawImage.incomplete
+References: 2d.drawImage.incomplete.image
+Actual output:
+Expected output:
+
+Failed assertion img.complete === false (got true[boolean], expected false[boolean])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.null-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.null-expected.txt
new file mode 100644
index 0000000..f8dd12b
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.null-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.drawImage.null
+References: 2d.drawImage.type
+Actual output:
+Failed assertion: expected exception of type TYPE_MISMATCH_ERR, got: Type error
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.fillStyle.parse.system-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.fillStyle.parse.system-expected.txt
new file mode 100644
index 0000000..d804d3e
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.fillStyle.parse.system-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.fillStyle.parse.system
+References: 2d.colours.parse
+Actual output:
+Failed assertion ctx.fillStyle matches /^#(?!(FF0000|ff0000|f00)$)/ (got rgba(0, 0, 0, 0.0)[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt
new file mode 100644
index 0000000..01a3077
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt
@@ -0,0 +1,15 @@
+< [index] >
+2d.gradient.radial.cone.front
+References: 2d.gradient.radial.rendering
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [0,254,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (50,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (98,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (1,25), expected [0,255,0,255]
+Failed assertion: got pixel [0,254,0,255] at (50,25), expected [0,255,0,255]
+Failed assertion: got pixel [0,254,0,255] at (98,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,255,0,255] at (1,48), expected [0,255,0,255]
+Failed assertion: got pixel [0,254,0,255] at (50,48), expected [0,255,0,255]
+Failed assertion: got pixel [0,254,0,255] at (98,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt
new file mode 100644
index 0000000..afe8960
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt
@@ -0,0 +1,15 @@
+< [index] >
+2d.gradient.radial.cone.top
+References: 2d.gradient.radial.rendering
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [1,254,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (50,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (98,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (1,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (50,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (98,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (1,48), expected [0,255,0,255]
+Failed assertion: got pixel [0,254,0,255] at (50,48), expected [0,255,0,255]
+Failed assertion: got pixel [0,254,0,255] at (98,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.inside2-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.inside2-expected.txt
new file mode 100644
index 0000000..1b9a3a9
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.inside2-expected.txt
@@ -0,0 +1,15 @@
+< [index] >
+2d.gradient.radial.inside2
+References: 2d.gradient.radial.rendering
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [1,254,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (50,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (98,1), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (1,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (50,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (98,25), expected [0,255,0,255]
+Failed assertion: got pixel [1,254,0,255] at (1,48), expected [0,255,0,255]
+Failed assertion: got pixel [1,253,0,255] at (50,48), expected [0,255,0,255]
+Failed assertion: got pixel [1,253,0,255] at (98,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.inside3-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.inside3-expected.txt
new file mode 100644
index 0000000..d5c260b
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.inside3-expected.txt
@@ -0,0 +1,15 @@
+< [index] >
+2d.gradient.radial.inside3
+References: 2d.gradient.radial.rendering
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [165,89,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [166,89,0,255] at (50,1), expected [0,255,0,255]
+Failed assertion: got pixel [166,89,0,255] at (98,1), expected [0,255,0,255]
+Failed assertion: got pixel [166,89,0,255] at (1,25), expected [0,255,0,255]
+Failed assertion: got pixel [165,89,0,255] at (50,25), expected [0,255,0,255]
+Failed assertion: got pixel [165,89,0,255] at (98,25), expected [0,255,0,255]
+Failed assertion: got pixel [166,90,0,255] at (1,48), expected [0,255,0,255]
+Failed assertion: got pixel [165,89,0,255] at (50,48), expected [0,255,0,255]
+Failed assertion: got pixel [165,89,0,255] at (98,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.outside1-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.outside1-expected.txt
new file mode 100644
index 0000000..897f540
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.outside1-expected.txt
@@ -0,0 +1,15 @@
+< [index] >
+2d.gradient.radial.outside1
+References: 2d.gradient.radial.rendering
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [9,246,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [9,246,0,255] at (50,1), expected [0,255,0,255]
+Failed assertion: got pixel [9,246,0,255] at (98,1), expected [0,255,0,255]
+Failed assertion: got pixel [9,246,0,255] at (1,25), expected [0,255,0,255]
+Failed assertion: got pixel [9,246,0,255] at (50,25), expected [0,255,0,255]
+Failed assertion: got pixel [9,246,0,255] at (98,25), expected [0,255,0,255]
+Failed assertion: got pixel [9,246,0,255] at (1,48), expected [0,255,0,255]
+Failed assertion: got pixel [9,245,0,255] at (50,48), expected [0,255,0,255]
+Failed assertion: got pixel [9,245,0,255] at (98,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.create1.type-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.create1.type-expected.txt
new file mode 100644
index 0000000..4080975
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.create1.type-expected.txt
@@ -0,0 +1,7 @@
+< [index] >
+2d.imageData.create1.type
+createImageData(imgdata) returns an ImageData object containing a CanvasPixelArray object
+References: 2d.imageData.create1.object Bugzilla
+Actual output:
+Failed assertion window.CanvasPixelArray !== undefined (got [undefined], expected not [undefined])
+Aborted with exception: Result of expression 'window.CanvasPixelArray' [undefined] is not an object.
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.create2.type-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.create2.type-expected.txt
new file mode 100644
index 0000000..fe5f2b9
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.create2.type-expected.txt
@@ -0,0 +1,7 @@
+< [index] >
+2d.imageData.create2.type
+createImageData(sw, sh) returns an ImageData object containing a CanvasPixelArray object
+References: 2d.imageData.create2.object Bugzilla
+Actual output:
+Failed assertion window.CanvasPixelArray !== undefined (got [undefined], expected not [undefined])
+Aborted with exception: Result of expression 'window.CanvasPixelArray' [undefined] is not an object.
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.get.source.negative-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.get.source.negative-expected.txt
new file mode 100644
index 0000000..3dfd3be
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.get.source.negative-expected.txt
@@ -0,0 +1,9 @@
+< [index] >
+2d.imageData.get.source.negative
+getImageData() works with negative width and height, and returns top-to-bottom left-to-right
+References: 2d.imageData.get.basic 2d.pixelarray.order
+Actual output:
+Failed assertion imgdata1.data["0"] === 255 (got 0[number], expected 255[number])
+Failed assertion imgdata1.data["1"] === 255 (got 0[number], expected 255[number])
+Failed assertion imgdata1.data["2"] === 255 (got 0[number], expected 255[number])
+Failed assertion imgdata2.data["3"] === 0 (got 255[number], expected 0[number])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.get.type-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.get.type-expected.txt
new file mode 100644
index 0000000..e496ef5
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.imageData.get.type-expected.txt
@@ -0,0 +1,7 @@
+< [index] >
+2d.imageData.get.type
+getImageData() returns an ImageData object containing a CanvasPixelArray object
+References: 2d.imageData.get.object
+Actual output:
+Failed assertion window.CanvasPixelArray !== undefined (got [undefined], expected not [undefined])
+Aborted with exception: Result of expression 'window.CanvasPixelArray' [undefined] is not an object.
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.closed-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.closed-expected.txt
new file mode 100644
index 0000000..4ad7955
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.cap.closed-expected.txt
@@ -0,0 +1,11 @@
+< [index] >
+2d.line.cap.closed
+Line caps are not drawn at the corners of an unclosed rectangle
+References: 2d.lineCap.end
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (48,1), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (48,48), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (1,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.join.parallel-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.join.parallel-expected.txt
new file mode 100644
index 0000000..2c6a429
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.join.parallel-expected.txt
@@ -0,0 +1,11 @@
+< [index] >
+2d.line.join.parallel
+Line joins are drawn at 180-degree joins
+References: 2d.lineJoin.joins
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (48,1), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (48,48), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (1,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.miter.lineedge-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.miter.lineedge-expected.txt
new file mode 100644
index 0000000..500ee73
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.line.miter.lineedge-expected.txt
@@ -0,0 +1,11 @@
+< [index] >
+2d.line.miter.lineedge
+Miter joins are not drawn when the miter limit is exceeded at the corners of a zero-height rectangle
+References: 2d.lineJoin.miter Bugzilla
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (1,1), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (48,1), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (48,48), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (1,48), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.missingargs-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.missingargs-expected.txt
new file mode 100644
index 0000000..41ac779
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.missingargs-expected.txt
@@ -0,0 +1,80 @@
+< [index] >
+2d.missingargs
+Missing arguments cause NOT_SUPPORTED_ERR
+References:
+Actual output:
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.scale()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.scale(1)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.rotate()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.translate()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.translate(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.transform()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.transform(1)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.transform(1, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.transform(1, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.transform(1, 0, 0, 1)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.transform(1, 0, 0, 1, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.setTransform()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.setTransform(1)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.setTransform(1, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.setTransform(1, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.setTransform(1, 0, 0, 1)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.setTransform(1, 0, 0, 1, 0)
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: SYNTAX_ERR: DOM Exception 12
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.clearRect()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.clearRect(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.clearRect(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.clearRect(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.fillRect()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.fillRect(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.fillRect(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.fillRect(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.strokeRect()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.strokeRect(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.strokeRect(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.strokeRect(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.moveTo()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.moveTo(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.lineTo()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.lineTo(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.quadraticCurveTo()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.quadraticCurveTo(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.quadraticCurveTo(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.quadraticCurveTo(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.bezierCurveTo()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.bezierCurveTo(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.bezierCurveTo(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.bezierCurveTo(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.bezierCurveTo(0, 0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.bezierCurveTo(0, 0, 0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arcTo()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arcTo(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arcTo(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arcTo(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arcTo(0, 0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.rect()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.rect(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.rect(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.rect(0, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arc()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arc(0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arc(0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arc(0, 0, 1)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arc(0, 0, 1, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.arc(0, 0, 1, 0, 0)
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.isPointInPath()
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.isPointInPath(0)
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.measureText()
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Type error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: Syntax error
+Failed assertion: should throw exception of type NOT_SUPPORTED_ERR: ctx.createImageData()
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: TYPE_MISMATCH_ERR: DOM Exception 17
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: INDEX_SIZE_ERR: DOM Exception 1
+Failed assertion: expected exception of type NOT_SUPPORTED_ERR, got: SYNTAX_ERR: DOM Exception 12
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.path.rect.winding-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.path.rect.winding-expected.txt
new file mode 100644
index 0000000..3c21e06
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.path.rect.winding-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.path.rect.winding
+References: 2d.path.rect.subpath
+Actual output:
+Failed assertion: got pixel [255,0,0,255] at (25,12), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (75,12), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (25,37), expected [0,255,0,255]
+Failed assertion: got pixel [255,0,0,255] at (75,37), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.broken-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.broken-expected.txt
new file mode 100644
index 0000000..32cfea0
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.broken-expected.txt
@@ -0,0 +1,7 @@
+< [index] >
+2d.pattern.image.broken
+References: 2d.pattern.incomplete.image
+Actual output:
+Failed assertion img.complete === false (got true[boolean], expected false[boolean])
+Aborted with exception: Can't find variable: NULL
+
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.incomplete-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.incomplete-expected.txt
new file mode 100644
index 0000000..f89f787
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.incomplete-expected.txt
@@ -0,0 +1,6 @@
+< [index] >
+2d.pattern.image.incomplete
+References: 2d.pattern.incomplete.image
+Actual output:
+Failed assertion img.complete === false (got true[boolean], expected false[boolean])
+Aborted with exception: Can't find variable: NULL
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.null-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.null-expected.txt
new file mode 100644
index 0000000..2cb3d6e
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.null-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.pattern.image.null
+References: 2d.pattern.wrongtype
+Actual output:
+Failed assertion: expected exception of type TYPE_MISMATCH_ERR, got: Type error
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.undefined-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.undefined-expected.txt
new file mode 100644
index 0000000..8468cbb
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.pattern.image.undefined-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.pattern.image.undefined
+References: 2d.pattern.wrongtype
+Actual output:
+Failed assertion: expected exception of type TYPE_MISMATCH_ERR, got: Type error
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.blur-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.blur-expected.txt
new file mode 100644
index 0000000..d7ce74d
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.blur-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.shadow.enable.blur
+Shadows are drawn if shadowBlur is set
+References: 2d.shadow.enable 2d.shadow.render
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.x-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.x-expected.txt
new file mode 100644
index 0000000..4c73a23
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.x-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.shadow.enable.x
+Shadows are drawn if shadowOffsetX is set
+References: 2d.shadow.enable 2d.shadow.render
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.y-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.y-expected.txt
new file mode 100644
index 0000000..aac2c69
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.enable.y-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.shadow.enable.y
+Shadows are drawn if shadowOffsetY is set
+References: 2d.shadow.enable 2d.shadow.render
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.alpha-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.alpha-expected.txt
new file mode 100644
index 0000000..1829240
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.alpha-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.shadow.gradient.alpha
+Shadows are drawn correctly for partially-transparent gradient fills
+References: 2d.shadow.render
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [127,0,127,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.basic-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.basic-expected.txt
new file mode 100644
index 0000000..f06dd1d
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.basic-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.shadow.gradient.basic
+Shadows are drawn for gradient fills
+References: 2d.shadow.render
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.transparent.2-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.transparent.2-expected.txt
new file mode 100644
index 0000000..065eafd
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.shadow.gradient.transparent.2-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.shadow.gradient.transparent.2
+Shadows are not drawn for transparent parts of gradient fills
+References: 2d.shadow.render
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt
new file mode 100644
index 0000000..83c1e8d
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.strokeRect.zero.4
+strokeRect of Nx0 pixels draws a closed line with no caps
+References: 2d.strokeRect
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (50,25), expected [0,0,0,0]
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.bottom-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.bottom-expected.txt
new file mode 100644
index 0000000..0b3aed3
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.bottom-expected.txt
@@ -0,0 +1,11 @@
+< [index] >
+2d.text.draw.baseline.bottom
+textBaseline bottom is the bottom of the em square (not the bounding box)
+References: 2d.text.baseline.bottom
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (75,25), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (5,45), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,45), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt
new file mode 100644
index 0000000..e110c67
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.hanging-expected.txt
@@ -0,0 +1,10 @@
+< [index] >
+2d.text.draw.baseline.hanging
+References: 2d.text.baseline.hanging
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (5,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (5,45), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,45), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.ideographic-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.ideographic-expected.txt
new file mode 100644
index 0000000..66f9df6
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.ideographic-expected.txt
@@ -0,0 +1,10 @@
+< [index] >
+2d.text.draw.baseline.ideographic
+References: 2d.text.baseline.ideographic
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [128,127,0,255] at (5,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [128,127,0,255] at (95,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (5,45), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,45), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.middle-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.middle-expected.txt
new file mode 100644
index 0000000..727f4e2
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.middle-expected.txt
@@ -0,0 +1,9 @@
+< [index] >
+2d.text.draw.baseline.middle
+textBaseline middle is the middle of the em square (not the bounding box)
+References: 2d.text.baseline.middle
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (5,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,5), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.top-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.top-expected.txt
new file mode 100644
index 0000000..15d1709
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.baseline.top-expected.txt
@@ -0,0 +1,13 @@
+< [index] >
+2d.text.draw.baseline.top
+textBaseline top is the top of the em square (not the bounding box)
+References: 2d.text.baseline.top
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (5,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (75,25), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (5,45), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,45), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface-expected.txt
new file mode 100644
index 0000000..4775018
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface-expected.txt
@@ -0,0 +1,11 @@
+< [index] >
+2d.text.draw.fill.maxWidth.fontface
+fillText works on @font-face fonts
+References: 2d.text.draw.maxwidth
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (5,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (95,5), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (75,25), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.end-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.end-expected.txt
new file mode 100644
index 0000000..16c9edf
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.end-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.text.draw.space.collapse.end
+Space characters at the end of a line are collapsed (per CSS)
+References: 2d.text.draw.spaces
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (75,25), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.nonspace-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.nonspace-expected.txt
new file mode 100644
index 0000000..d7c71e2
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.nonspace-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.text.draw.space.collapse.nonspace
+Non-space characters are not converted to U+0020 and collapsed
+References: 2d.text.draw.spaces
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (75,25), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.other-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.other-expected.txt
new file mode 100644
index 0000000..efc6e54
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.other-expected.txt
@@ -0,0 +1,9 @@
+< [index] >
+2d.text.draw.space.collapse.other
+Space characters are converted to U+0020, and collapsed (per CSS)
+References: 2d.text.draw.spaces
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255] +/- 2
+Failed assertion: got pixel [255,0,0,255] at (75,25), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.space-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.space-expected.txt
new file mode 100644
index 0000000..619a838
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.space-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.text.draw.space.collapse.space
+Space characters are converted to U+0020, and collapsed (per CSS)
+References: 2d.text.draw.spaces
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.start-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.start-expected.txt
new file mode 100644
index 0000000..3b2275c
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.draw.space.collapse.start-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.text.draw.space.collapse.start
+Space characters at the start of a line are collapsed (per CSS)
+References: 2d.text.draw.spaces
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [255,0,0,255] at (25,25), expected [0,255,0,255] +/- 2
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.basic-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.basic-expected.txt
new file mode 100644
index 0000000..13b3140
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.basic-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.text.font.parse.basic
+References: 2d.text.font.parse 2d.text.font.get
+Actual output:
+Failed assertion ctx.font === '20px serif' (got 20PX SERIF[string], expected 20px serif[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.complex-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.complex-expected.txt
new file mode 100644
index 0000000..8725b32
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.complex-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.text.font.parse.complex
+References: 2d.text.font.parse 2d.text.font.get 2d.text.font.lineheight
+Actual output:
+Failed assertion ctx.font === 'italic small-caps 12px "Unknown Font", sans-serif' (got small-caps italic 400 12px/2 Unknown Font, sans-serif[string], expected italic small-caps 12px "Unknown Font", sans-serif[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.invalid-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.invalid-expected.txt
new file mode 100644
index 0000000..e03639d
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.invalid-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+2d.text.font.parse.invalid
+References: 2d.text.font.invalid
+Actual output:
+Failed assertion ctx.font === '20px serif' (got inherit[string], expected 20px serif[string])
+Failed assertion ctx.font === '20px serif' (got 10px initial[string], expected 20px serif[string])
+Failed assertion ctx.font === '20px serif' (got 10px default[string], expected 20px serif[string])
+Failed assertion ctx.font === '20px serif' (got 10px inherit[string], expected 20px serif[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt
new file mode 100644
index 0000000..3853630
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.size.percentage-expected.txt
@@ -0,0 +1,6 @@
+< [index] >
+2d.text.font.parse.size.percentage
+References: 2d.text.font.parse 2d.text.font.get 2d.text.font.fontsize 2d.text.font.size
+Actual output:
+Failed assertion ctx.font === '72px serif' (got 50% serif[string], expected 72px serif[string])
+Failed assertion ctx.font === '72px serif' (got 50% serif[string], expected 72px serif[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt
new file mode 100644
index 0000000..26a32bc
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.size.percentage.default-expected.txt
@@ -0,0 +1,5 @@
+< [index] >
+2d.text.font.parse.size.percentage.default
+References: 2d.text.font.undefined
+Actual output:
+Failed assertion ctx.font === '100px serif' (got 1000% serif[string], expected 100px serif[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.system-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.system-expected.txt
new file mode 100644
index 0000000..4b8f231
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.font.parse.system-expected.txt
@@ -0,0 +1,6 @@
+< [index] >
+2d.text.font.parse.system
+System fonts must be computed to explicit values
+References: 2d.text.font.parse 2d.text.font.get 2d.text.font.systemfonts
+Actual output:
+Failed assertion ctx.font !== 'message-box' (got message-box[string], expected not message-box[string])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.measure.width.space-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.measure.width.space-expected.txt
new file mode 100644
index 0000000..26ea855
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/2d.text.measure.width.space-expected.txt
@@ -0,0 +1,9 @@
+< [index] >
+2d.text.measure.width.space
+Space characters are converted to U+0020 and collapsed (per CSS)
+References: 2d.text.measure.spaces
+Actual output:
+Failed assertion ctx.measureText('A B').width === 150 (got 200[number], expected 150[number])
+Failed assertion ctx.measureText('A \x09\x0a\x0c\x0d \x09\x0a\x0c\x0dB').width === 150 (got 450[number], expected 150[number])
+Failed assertion ctx.measureText(' AB').width === 100 (got 150[number], expected 100[number])
+Failed assertion ctx.measureText('AB ').width === 100 (got 150[number], expected 100[number])
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/toDataURL.jpeg.alpha-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/toDataURL.jpeg.alpha-expected.txt
new file mode 100644
index 0000000..e002b75
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/toDataURL.jpeg.alpha-expected.txt
@@ -0,0 +1,8 @@
+< [index] >
+toDataURL.jpeg.alpha
+toDataURL with JPEG composites onto black
+References: toDataURL.jpeg toDataURL.noalpha
+Actual output:
+Expected output:
+
+Failed assertion: got pixel [193,255,192,255] at (50,25), expected [63,127,63,255] +/- 8
diff --git a/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/type.prototype-expected.txt b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/type.prototype-expected.txt
new file mode 100644
index 0000000..fd387e5
--- /dev/null
+++ b/LayoutTests/platform/mac-snowleopard/canvas/philip/tests/type.prototype-expected.txt
@@ -0,0 +1,7 @@
+< [index] >
+type.prototype
+window.HTMLCanvasElement has prototype, which is { ReadOnly, DontDelete }. prototype has getContext, which is not
+References: canvas.type
+Defined in "Language Bindings for DOM Specifications" (draft)
+Actual output:
+Failed assertion window.HTMLCanvasElement.prototype.getContext === undefined (got 1[number], expected [undefined])
diff --git a/LayoutTests/platform/mac/Skipped b/LayoutTests/platform/mac/Skipped
index c50c945..de6a6d3 100644
--- a/LayoutTests/platform/mac/Skipped
+++ b/LayoutTests/platform/mac/Skipped
@@ -144,11 +144,13 @@ fast/dom/icon-url-property.html
 # EventSendingController does not send events on areas outside the WebView.
 scrollbars/scrollbar-click-does-not-blur-content.html
 
-# Failing canvas test cases from http://philip.html5.org/tests/canvas/suite/tests/
-canvas/philip/tests/2d.drawImage.broken.html
-#NOTE: 2d.composite.operation.clear is failing because we support the "clear" composite op
-#without our vendor prefix since it was around in canvas before the spec was written.
+# Below canvas test cases from http://philip.html5.org/tests/canvas/suite/tests/
+#(2d.composite.operation.clear) is failing because we support the "clear" composite op
+#  without our vendor prefix since it was around in canvas before the spec was written.
 canvas/philip/tests/2d.composite.operation.clear.html
+#(2d.composite.*) Most, if not all, of these are failing due to the webkit canvas
+#  drawing model being different than the spec's current model. There is a current
+#  effort out to change the spec to the webkit canvas model.
 canvas/philip/tests/2d.composite.operation.darker.html
 canvas/philip/tests/2d.composite.operation.highlight.html
 canvas/philip/tests/2d.composite.uncovered.fill.copy.html
@@ -166,58 +168,6 @@ canvas/philip/tests/2d.composite.uncovered.pattern.destination-atop.html
 canvas/philip/tests/2d.composite.uncovered.pattern.destination-in.html
 canvas/philip/tests/2d.composite.uncovered.pattern.source-in.html
 canvas/philip/tests/2d.composite.uncovered.pattern.source-out.html
-canvas/philip/tests/2d.drawImage.broken.html
-canvas/philip/tests/2d.drawImage.incomplete.html
-canvas/philip/tests/2d.drawImage.null.html
-canvas/philip/tests/2d.fillStyle.parse.system.html
-canvas/philip/tests/2d.gradient.radial.cone.front.html
-canvas/philip/tests/2d.gradient.radial.cone.top.html
-canvas/philip/tests/2d.gradient.radial.inside2.html
-canvas/philip/tests/2d.gradient.radial.inside3.html
-canvas/philip/tests/2d.gradient.radial.outside1.html
-canvas/philip/tests/2d.imageData.create1.type.html
-canvas/philip/tests/2d.imageData.create2.type.html
-canvas/philip/tests/2d.imageData.get.source.negative.html
-canvas/philip/tests/2d.imageData.get.source.outside.html
-canvas/philip/tests/2d.imageData.get.type.html
-canvas/philip/tests/2d.line.cap.closed.html
-canvas/philip/tests/2d.line.join.parallel.html
-canvas/philip/tests/2d.line.miter.lineedge.html
-canvas/philip/tests/2d.missingargs.html
-canvas/philip/tests/2d.path.arcTo.ensuresubpath.2.html
-canvas/philip/tests/2d.path.clip.empty.html
-canvas/philip/tests/2d.path.rect.winding.html
-canvas/philip/tests/2d.pattern.image.broken.html
-canvas/philip/tests/2d.pattern.image.incomplete.html
-canvas/philip/tests/2d.pattern.image.null.html
-canvas/philip/tests/2d.pattern.image.undefined.html
-canvas/philip/tests/2d.shadow.enable.blur.html
-canvas/philip/tests/2d.shadow.enable.x.html
-canvas/philip/tests/2d.shadow.enable.y.html
-canvas/philip/tests/2d.shadow.gradient.alpha.html
-canvas/philip/tests/2d.shadow.gradient.basic.html
-canvas/philip/tests/2d.shadow.gradient.transparent.2.html
-canvas/philip/tests/2d.strokeRect.zero.4.html
-canvas/philip/tests/2d.text.draw.baseline.bottom.html
-canvas/philip/tests/2d.text.draw.baseline.hanging.html
-canvas/philip/tests/2d.text.draw.baseline.ideographic.html
-canvas/philip/tests/2d.text.draw.baseline.middle.html
-canvas/philip/tests/2d.text.draw.baseline.top.html
-canvas/philip/tests/2d.text.draw.fill.maxWidth.fontface.html
-canvas/philip/tests/2d.text.draw.space.collapse.end.html
-canvas/philip/tests/2d.text.draw.space.collapse.nonspace.html
-canvas/philip/tests/2d.text.draw.space.collapse.other.html
-canvas/philip/tests/2d.text.draw.space.collapse.space.html
-canvas/philip/tests/2d.text.draw.space.collapse.start.html
-canvas/philip/tests/2d.text.font.parse.basic.html
-canvas/philip/tests/2d.text.font.parse.complex.html
-canvas/philip/tests/2d.text.font.parse.invalid.html
-canvas/philip/tests/2d.text.font.parse.size.percentage.html
-canvas/philip/tests/2d.text.font.parse.size.percentage.default.html
-canvas/philip/tests/2d.text.font.parse.system.html
-canvas/philip/tests/2d.text.measure.width.space.html
-canvas/philip/tests/toDataURL.jpeg.alpha.html
-canvas/philip/tests/type.prototype.html
 
 # IndexedDB is not yet enabled.
 storage/indexeddb

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list