Bug 971285 - Fix intermittent failure in smil/anim-path-d-01.svg. r=dholbert
authorRobert Longson <longsonr@gmail.com>
Sat, 15 Feb 2014 14:08:54 +0000
changeset 169034 072725b2ef45e968e80cd33b2576c13f95733ccf
parent 168927 af48e36fd5a30299de9b8615f90e421ddafae17b
child 169035 d8462ffa097d7b3caf6b5ea4762aba6b097df410
push id26226
push userphilringnalda@gmail.com
push dateSun, 16 Feb 2014 02:27:28 +0000
treeherdermozilla-central@3a37d3be57fa [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdholbert
bugs971285
milestone30.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 971285 - Fix intermittent failure in smil/anim-path-d-01.svg. r=dholbert
layout/reftests/svg/smil/anim-path-d-01-ref.svg
layout/reftests/svg/smil/anim-path-d-01.svg
layout/reftests/svg/smil/reftest.list
--- a/layout/reftests/svg/smil/anim-path-d-01-ref.svg
+++ b/layout/reftests/svg/smil/anim-path-d-01-ref.svg
@@ -1,11 +1,12 @@
 <svg xmlns="http://www.w3.org/2000/svg">
   <style type="text/css">
-    path { fill: none; stroke: blue; stroke-width: 1px; }
+    path { fill: none; stroke: blue; stroke-width: 1px;
+           shape-rendering: crispEdges; }
   </style>
 
   <path d="M10,10
            L26,10
            l-16,32
            H26
            V10
            h16
--- a/layout/reftests/svg/smil/anim-path-d-01.svg
+++ b/layout/reftests/svg/smil/anim-path-d-01.svg
@@ -3,17 +3,18 @@
 -->
 <svg xmlns="http://www.w3.org/2000/svg"
      xmlns:xlink="http://www.w3.org/1999/xlink"
      class="reftest-wait"
      onload="setTimeAndSnapshot(1, true)">
   <title>Test animation of the 'd' attribute on the 'path' element</title>
   <script xlink:href="smil-util.js" type="text/javascript"/>
   <style type="text/css">
-    path { fill: none; stroke: blue; stroke-width: 1px; }
+    path { fill: none; stroke: blue; stroke-width: 1px;
+           shape-rendering: crispEdges; }
   </style>
 
 
   <!-- The difference between respective numbers in the effective 'from' and
        'to' path data below is carefully designed to be a factor of 3. That way
        our reference file (which checks against a one third complete animation)
        can contain whole numbers, which is necessary to avoid failure due to
        hard coded rounded numbers in the reference not matching platform
--- a/layout/reftests/svg/smil/reftest.list
+++ b/layout/reftests/svg/smil/reftest.list
@@ -122,17 +122,17 @@ skip-if(B2G) random-if(/^Windows\x20NT\x
 skip-if(B2G) == anim-marker-orient-01.svg lime.svg # bug 773482
 skip-if(B2G) == anim-marker-orient-02.svg lime.svg # bug 773482
 
 #animate points list:
 skip-if(B2G) == anim-polygon-points-01.svg anim-polygon-points-01-ref.svg
 == anim-polyline-points-01.svg anim-polyline-points-01-ref.svg
 
 # animate path data:
-skip-if(B2G) fuzzy-if(/^Windows\x20NT\x205\.1/.test(http.oscpu),2,1) fuzzy-if(cocoaWidget&&layersGPUAccelerated,1,13) == anim-path-d-01.svg anim-path-d-01-ref.svg # Bug 726400 # bug 773482
+== anim-path-d-01.svg anim-path-d-01-ref.svg
 
 # animate some enumeration attributes:
 skip-if(B2G) == anim-feComposite-operator-01.svg lime.svg
 == anim-filter-filterUnits-01.svg lime.svg
 
 # animate some boolean attributes:
 skip-if(B2G) == anim-feConvolveMatrix-preserveAlpha-01.svg lime.svg # bug 773482