1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/canvas/test/reftest/stroketext-shadow.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<!--docytpe html--> 1.5 +<html><head> 1.6 +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> 1.7 +<meta charset="UTF-8"> 1.8 +<script> 1.9 +window.onload=function(){ 1.10 +c=document.getElementById("myCanvas").getContext("2d"); 1.11 +c.canvas.width=c.canvas.width; 1.12 +c.font="35px sans-serif"; 1.13 +c.shadowColor="darkblue"; 1.14 +c.shadowBlur=2; 1.15 +c.moveTo(20,20); 1.16 +c.strokeText('ABCDEF',20,100); 1.17 +} 1.18 +</script> 1.19 +</head> 1.20 +<body> 1.21 +<canvas id="myCanvas" height="500" width="500" style="border:1px solid black"></canvas> 1.22 + 1.23 +</body></html>