Bug 815648 - Test. r=bas

This commit is contained in:
Joe Drew 2012-12-18 11:37:14 -05:00
parent 3939619e1e
commit cdd8607f29
3 changed files with 42 additions and 0 deletions

View File

@ -186,3 +186,6 @@ skip-if(!winWidget) pref(webgl.prefer-native-gl,true)
skip-if(!winWidget) pref(webgl.prefer-native-gl,true) == webgl-orientation-test.html?native-gl wrapper.html?white-top-left.png
skip-if(!winWidget) pref(webgl.prefer-native-gl,true) == webgl-color-test.html?native-gl wrapper.html?colors.png
skip-if(!winWidget) pref(webgl.prefer-native-gl,true) pref(webgl.prefer-16bpp,true) == webgl-color-test.html?native-gl&16bpp wrapper.html?colors.png
# Bug 815648
== stroketext-shadow.html stroketext-shadow-ref.html

View File

@ -0,0 +1,19 @@
<!--docytpe html-->
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<script>
window.onload=function(){
c=document.getElementById("myCanvas").getContext("2d");
c.canvas.width=c.canvas.width;
c.font="35px sans-serif";
c.shadowColor="darkblue";
c.shadowBlur=2;
c.strokeText('ABCDEF',20,100);
}
</script>
</head>
<body>
<canvas id="myCanvas" height="500" width="500" style="border:1px solid black"></canvas>
</body></html>

View File

@ -0,0 +1,20 @@
<!--docytpe html-->
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<script>
window.onload=function(){
c=document.getElementById("myCanvas").getContext("2d");
c.canvas.width=c.canvas.width;
c.font="35px sans-serif";
c.shadowColor="darkblue";
c.shadowBlur=2;
c.moveTo(20,20);
c.strokeText('ABCDEF',20,100);
}
</script>
</head>
<body>
<canvas id="myCanvas" height="500" width="500" style="border:1px solid black"></canvas>
</body></html>