Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-style-intact-after-text-expected.txt

Issue 2695963004: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 Test that the rendering context's strokeStyle and fillStyle are intact after cal ling strokeText() and fillText()
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 Checking initial state for sanity
7 PASS ctx.fillStyle is '#ff0000'
8 PASS imgdata[0] is 255
9 PASS imgdata[1] is 0
10 PASS imgdata[2] is 0
11 PASS imgdata[3] is 255
12 PASS imgdata[4] is 0
13 PASS imgdata[5] is 0
14 PASS imgdata[6] is 0
15 PASS imgdata[7] is 0
16 Calling fillText() to try and break the strokeStyle.
17 PASS ctx.strokeStyle is '#008000'
18 PASS imgdata[0] is 0
19 PASS imgdata[1] is 128
20 PASS imgdata[2] is 0
21 PASS imgdata[3] is 255
22 Calling strokeText() to try and break the fillStyle.
23 PASS ctx.fillStyle is '#008000'
24 PASS imgdata[0] is 0
25 PASS imgdata[1] is 128
26 PASS imgdata[2] is 0
27 PASS imgdata[3] is 255
28 PASS successfullyParsed is true
29
30 TEST COMPLETE
31
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698