OLD | NEW |
1 <!DOCTYPE html | 1 <!DOCTYPE html |
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" | 2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | 3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
4 <html xmlns="http://www.w3.org/1999/xhtml"> | 4 <html xmlns="http://www.w3.org/1999/xhtml"> |
5 | 5 |
6 | 6 |
7 <head> | 7 <head> |
8 <title>Context2D.quadraticCurveTo Test Case</title> | 8 <title>Context2D.quadraticCurveTo Test Case</title> |
9 <script> | 9 <script> |
10 if (window.testRunner) | 10 if (window.testRunner) |
11 » » » testRunner.dumpAsText(true); | 11 » » » testRunner.dumpAsTextWithPixelResults(); |
12 | 12 |
13 var ctx; | 13 var ctx; |
14 var current_point; | 14 var current_point; |
15 var current_center; | 15 var current_center; |
16 | 16 |
17 function M (x, y) { | 17 function M (x, y) { |
18 ctx.beginPath(); | 18 ctx.beginPath(); |
19 ctx.moveTo(x,y); | 19 ctx.moveTo(x,y); |
20 current_point = [x,y]; | 20 current_point = [x,y]; |
21 current_center = [x,y]; | 21 current_center = [x,y]; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 <body onload="runTest()"> | 73 <body onload="runTest()"> |
74 | 74 |
75 <p> | 75 <p> |
76 This test case should produce a sine-wave stroked with 1
px black. | 76 This test case should produce a sine-wave stroked with 1
px black. |
77 </p> | 77 </p> |
78 | 78 |
79 </body> | 79 </body> |
80 | 80 |
81 </html> | 81 </html> |
OLD | NEW |