summaryrefslogtreecommitdiffstats
path: root/webkit/data
diff options
context:
space:
mode:
authorsky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 19:22:46 +0000
committersky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-01-21 19:22:46 +0000
commit2d9e0a38fb545e8244123515d3a976d04a4e3fa1 (patch)
treec3b357e2181d40cf1dddc30bf22f980b530f83f6 /webkit/data
parent989a9adc283220f30bed65f5254ef63684df3732 (diff)
downloadchromium_src-2d9e0a38fb545e8244123515d3a976d04a4e3fa1.zip
chromium_src-2d9e0a38fb545e8244123515d3a976d04a4e3fa1.tar.gz
chromium_src-2d9e0a38fb545e8244123515d3a976d04a4e3fa1.tar.bz2
Rebaselines the test fast/canvas/set-colors.html . Our CMYK -> RGB
converter is different than that of Apple, so we need to rebaseline. BUG=none TEST=none Review URL: http://codereview.chromium.org/18620 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8379 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/data')
-rw-r--r--webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/canvas/set-colors-expected.txt71
1 files changed, 71 insertions, 0 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/canvas/set-colors-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/canvas/set-colors-expected.txt
new file mode 100644
index 0000000..eacc485
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/canvas/set-colors-expected.txt
@@ -0,0 +1,71 @@
+Test of various canvas graphics context calls for setting colors.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS testFillStyle('transparent') is transparent
+PASS testFillStyle('blue') is blue
+PASS testFillStyle('#FF0000') is red
+PASS testFillStyle('#f00') is red
+PASS testFillStyle('rgb(255, 0, 0)') is red
+PASS testFillStyle('rgba(255, 0, 0, 1)') is red
+PASS testFillStyle('rgba(255, 0, 0, 0.8)') is translucentRed
+PASS testFillStyle('rgba(255, 0, 0, 0)') is transparent
+PASS testFillGradient('transparent') is transparent
+PASS testFillGradient('blue') is blue
+PASS testFillGradient('#FF0000') is red
+PASS testFillGradient('#f00') is red
+PASS testFillGradient('rgb(255, 0, 0)') is red
+PASS testFillGradient('rgba(255, 0, 0, 1)') is red
+PASS testFillGradient('rgba(255, 0, 0, 0.8)') is translucentRed
+PASS testFillGradient('rgba(255, 0, 0, 0)') is transparent
+PASS testSetFillColor('"blue"') is blue
+PASS testSetFillColor('"#FF0000"') is red
+PASS testSetFillColor('"#f00"') is red
+PASS testSetFillColor('"rgb(255, 0, 0)"') is red
+PASS testSetFillColor('"rgba(255, 0, 0, 1)"') is red
+PASS testSetFillColor('"rgba(255, 0, 0, 0.8)"') is translucentRed
+PASS testSetFillColor('"rgba(255, 0, 0, 0)"') is transparent
+PASS testSetFillColor('"blue", 0.8') is translucentBlue
+PASS testSetFillColor('1') is white
+PASS testSetFillColor('1, 0.8') is translucentWhite
+PASS testSetFillColor('0, 1, 0, 1') is green
+PASS testSetFillColor('0, 1, 0, 0.8') is translucentGreen
+FAIL testSetFillColor('0, 0, 0, 1, 1') should be #141414. Was #000000.
+FAIL testSetFillColor('0, 0, 0, 1, 0.8') should be rgba(20, 20, 20, 0.8). Was rgba(0, 0, 0, 0.8).
+PASS testSetFillColor('0, 0, 0, 1, 0') is transparent
+PASS testStrokeStyle('transparent') is transparent
+PASS testStrokeStyle('blue') is blue
+PASS testStrokeStyle('#FF0000') is red
+PASS testStrokeStyle('#f00') is red
+PASS testStrokeStyle('rgb(255, 0, 0)') is red
+PASS testStrokeStyle('rgba(255, 0, 0, 1)') is red
+PASS testStrokeStyle('rgba(255, 0, 0, 0.8)') is translucentRed
+PASS testStrokeStyle('rgba(255, 0, 0, 0)') is transparent
+PASS testStrokeGradient('transparent') is transparent
+PASS testStrokeGradient('blue') is blue
+PASS testStrokeGradient('#FF0000') is red
+PASS testStrokeGradient('#f00') is red
+PASS testStrokeGradient('rgb(255, 0, 0)') is red
+PASS testStrokeGradient('rgba(255, 0, 0, 1)') is red
+PASS testStrokeGradient('rgba(255, 0, 0, 0.8)') is translucentRed
+PASS testStrokeGradient('rgba(255, 0, 0, 0)') is transparent
+PASS testSetStrokeColor('"blue"') is blue
+PASS testSetStrokeColor('"#FF0000"') is red
+PASS testSetStrokeColor('"#f00"') is red
+PASS testSetStrokeColor('"rgb(255, 0, 0)"') is red
+PASS testSetStrokeColor('"rgba(255, 0, 0, 1)"') is red
+PASS testSetStrokeColor('"rgba(255, 0, 0, 0.8)"') is translucentRed
+PASS testSetStrokeColor('"rgba(255, 0, 0, 0)"') is transparent
+PASS testSetStrokeColor('"blue", 0.8') is translucentBlue
+PASS testSetStrokeColor('1') is white
+PASS testSetStrokeColor('1, 0.8') is translucentWhite
+PASS testSetStrokeColor('0, 1, 0, 1') is green
+PASS testSetStrokeColor('0, 1, 0, 0.8') is translucentGreen
+FAIL testSetStrokeColor('0, 0, 0, 1, 1') should be #141414. Was #000000.
+FAIL testSetStrokeColor('0, 0, 0, 1, 0.8') should be rgba(20, 20, 20, 0.8). Was rgba(0, 0, 0, 0.8).
+PASS testSetStrokeColor('0, 0, 0, 1, 0') is transparent
+PASS successfullyParsed is true
+
+TEST COMPLETE
+