mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 815648 - Test. r=bas
This commit is contained in:
parent
3939619e1e
commit
cdd8607f29
@ -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
|
||||
|
19
content/canvas/test/reftest/stroketext-shadow-ref.html
Normal file
19
content/canvas/test/reftest/stroketext-shadow-ref.html
Normal 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>
|
20
content/canvas/test/reftest/stroketext-shadow.html
Normal file
20
content/canvas/test/reftest/stroketext-shadow.html
Normal 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>
|
Loading…
Reference in New Issue
Block a user