зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1276161 - Reftests. r=lsalzman
MozReview-Commit-ID: 9PyuKmzuxiO --HG-- extra : amend_source : f359e03db6a6c6b5d5b7856c17eb063de8e31437
This commit is contained in:
Родитель
83550a678d
Коммит
ddeab1616a
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Not-Reference for test for bug 1276161 - dashed lines in canvas should look different from solid lines</title>
|
||||
|
||||
<canvas id="canvas"></canvas>
|
||||
|
||||
<script>
|
||||
|
||||
var canvas = document.getElementById('canvas');
|
||||
canvas.width = 200;
|
||||
canvas.height = 200;
|
||||
|
||||
var ctxx = canvas.getContext('2d');
|
||||
ctxx.strokeStyle = 'black';
|
||||
// Draw a solid line
|
||||
ctxx.moveTo(10, 10);
|
||||
ctxx.lineWidth = 2;
|
||||
ctxx.lineTo(30, 30);
|
||||
ctxx.stroke();
|
||||
ctxx.restore();
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Test for bug 1276161 - dashed lines in canvas should look different from solid lines</title>
|
||||
|
||||
<canvas id="canvas"></canvas>
|
||||
|
||||
<script>
|
||||
|
||||
var canvas = document.getElementById('canvas');
|
||||
canvas.width = 200;
|
||||
canvas.height = 200;
|
||||
|
||||
var ctxx = canvas.getContext('2d');
|
||||
ctxx.strokeStyle = 'black';
|
||||
ctxx.setLineDash([2,4]);
|
||||
ctxx.moveTo(10, 10);
|
||||
ctxx.lineWidth = 2;
|
||||
ctxx.lineTo(30, 30);
|
||||
ctxx.stroke();
|
||||
ctxx.restore();
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8">
|
||||
<title>Test for bug 1276161 - dashed lines in canvas should look different from solid lines</title>
|
||||
|
||||
<canvas id="canvas"></canvas>
|
||||
|
||||
<script>
|
||||
|
||||
var canvas = document.getElementById('canvas');
|
||||
canvas.width = 200;
|
||||
canvas.height = 200;
|
||||
|
||||
var ctxx = canvas.getContext('2d');
|
||||
ctxx.strokeStyle = 'black';
|
||||
ctxx.setLineDash([2,3]);
|
||||
ctxx.moveTo(10, 10);
|
||||
ctxx.lineWidth = 2;
|
||||
ctxx.lineTo(30, 30);
|
||||
ctxx.stroke();
|
||||
ctxx.restore();
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -1957,4 +1957,7 @@ fuzzy(100,2000) == 1239564.html 1239564-ref.html
|
|||
random-if(!winWidget) == 1273154-1.html 1273154-1-ref.html # depends on Windows font
|
||||
random-if(!winWidget) == 1273154-2.html 1273154-2-ref.html # depends on Windows font
|
||||
== 1274368-1.html 1274368-1-ref.html
|
||||
!= 1276161-1a.html 1276161-1-notref.html
|
||||
!= 1276161-1b.html 1276161-1-notref.html
|
||||
!= 1276161-1a.html 1276161-1b.html
|
||||
== 1275411-1.html 1275411-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче