summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/canvas/canvas-strokeRect-expected.txt
blob: e9415675b5f563f3d11b784e067ab07beda18b90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Series of tests to ensure correct behaviour of canvas.strokeRect()

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Test canvas.strokeRect() with solid green.
PASS imgdata[4] is 0
PASS imgdata[5] is 128
PASS imgdata[6] is 0
Test canvas.strokeRect() with a pattern.
PASS imgdata[4] is 0
PASS imgdata[5] is 128
PASS imgdata[6] is 0
Test canvas.strokeRect() with a gradient.
PASS imgdata[4] is 0
PASS imgdata[5] is 128
PASS imgdata[6] is 0
Test canvas.strokeRect() with height = width = 0 and lineWidth = 2.
PASS imgdata[0] is 0
PASS imgdata[1] is 0
PASS imgdata[2] is 0
Test canvas.strokeRect() with height = width = 0, lineWidth = 2, and shadow.
PASS imgdata[0] is 0
PASS imgdata[1] is 0
PASS imgdata[2] is 0
PASS successfullyParsed is true

TEST COMPLETE