Bug 749467 - Reftest: Add reftest for path continuation after transform changes. r=roc
authorBas Schouten <bschouten@mozilla.com>
Fri, 27 Apr 2012 07:07:25 +0200
changeset 92589 877276e291b847d84b43cbacf41351cdbb36a81e
parent 92588 5abd27624d84174bcc7c22c24b1e3da0d780fbc4
child 92590 add831dc812ed83f807f6950765f434311f68d54
push id22544
push useremorley@mozilla.com
push dateFri, 27 Apr 2012 11:53:27 +0000
treeherdermozilla-central@d871849ac3a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc
bugs749467
milestone15.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 749467 - Reftest: Add reftest for path continuation after transform changes. r=roc
layout/reftests/canvas/749467-1-ref.html
layout/reftests/canvas/749467-1.html
layout/reftests/canvas/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/canvas/749467-1-ref.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+<body>
+<p><canvas width="500" height="200" id="c"></canvas></p>
+<script type="text/javascript">
+
+  var canvas = document.getElementById('c');
+  var ctx = canvas.getContext('2d');
+
+  ctx.beginPath();
+
+  ctx.lineWidth = 20;
+  ctx.strokeStyle = 'rgb(0,0,0)';
+
+  ctx.moveTo(10, 30);
+  ctx.lineTo(50, 50);
+
+  ctx.stroke();
+
+  ctx.lineTo(80, 80);
+  ctx.stroke();
+
+</script>
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/canvas/749467-1.html
@@ -0,0 +1,31 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8">
+</head>
+<body>
+<p><canvas width="500" height="200" id="c"></canvas></p>
+<script type="text/javascript">
+
+  var canvas = document.getElementById('c');
+  var ctx = canvas.getContext('2d');
+
+  ctx.beginPath();
+
+  ctx.lineWidth = 20;
+  ctx.strokeStyle = 'rgb(0,0,0)';
+
+  ctx.save();
+
+  ctx.moveTo(10, 30);
+  ctx.lineTo(50, 50);
+
+  ctx.stroke();
+  ctx.restore();
+
+  ctx.lineTo(80, 80);
+  ctx.stroke();
+
+</script>
+</body>
+</html>
--- a/layout/reftests/canvas/reftest.list
+++ b/layout/reftests/canvas/reftest.list
@@ -75,8 +75,10 @@ fails-if(/Mac\x20OS\x20X\x2010\.[56]/.te
 
 != 693610-1.html 693610-1-notref.html # bug 693610: multiple glyph runs should not be overprinted
 
 == 726951-shadow-clips.html 726951-shadow-clips-ref.html
 
 == transformed-clip.html transformed-clip-ref.html
 == transformed-gradient.html transformed-gradient-ref.html
 == transformed-path.html transformed-path.html
+
+== 749467-1.html 749467-1-ref.html