Bug 1163107 - Changes to font size not respected when using relative filter units. r=mstange
authorTobias Schneider <schneider@jancona.com>
Thu, 07 Apr 2016 00:14:00 -0400
changeset 292520 91fb7cf2e5fec0d12cfe008cc90450052a51aff2
parent 292519 f57d33cd122dfee2547cf393334dbf4f299a9a43
child 292521 7045c2c74a1b4c31ec5f400a53fc7e0e538feda4
push id74865
push userryanvm@gmail.com
push dateSat, 09 Apr 2016 19:44:24 +0000
treeherdermozilla-inbound@7045c2c74a1b [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmstange
bugs1163107
milestone48.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 1163107 - Changes to font size not respected when using relative filter units. r=mstange
dom/canvas/test/reftest/filters/liveness.html
--- a/dom/canvas/test/reftest/filters/liveness.html
+++ b/dom/canvas/test/reftest/filters/liveness.html
@@ -2,17 +2,17 @@
 <html>
 <body>
 <canvas id="canvas" width="100" height="100"></canvas>
 <script>
 
 var canvas = document.getElementById('canvas');
 var ctx = canvas.getContext('2d');
 
-ctx.font = '10px sans-serif';
+ctx.font = '20px sans-serif';
 ctx.filter = 'drop-shadow(0 .5em black)';
-ctx.font = '20px sans-serif';
+ctx.font = '10px sans-serif';
 ctx.fillStyle = '#0f0';
 ctx.fillRect(25, 25, 50, 40);
 
 </script>
 </body>
 </html>