Bug 625290: intermittent failure in layout/reftests/bugs/621918-2.svg. Apply filters.svg#empty hack to hopefully fix this randomorange. r+a=tests-only
authorDaniel Holbert <dholbert@cs.stanford.edu>
Tue, 25 Jan 2011 07:49:30 -0800
changeset 61267 90ee185d052e65045de30c9c015267f85f6b46c9
parent 61266 547b0ea9f1c996f30302fbea5672f9e45c914317
child 61268 e9190bcf96a2899f757f1082ddddb86011323138
push id18285
push userdholbert@mozilla.com
push dateTue, 25 Jan 2011 15:53:06 +0000
treeherdermozilla-central@90ee185d052e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs625290, 621918
milestone2.0b10pre
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 625290: intermittent failure in layout/reftests/bugs/621918-2.svg. Apply filters.svg#empty hack to hopefully fix this randomorange. r+a=tests-only
layout/reftests/bugs/621918-2-ref.svg
layout/reftests/bugs/621918-2.svg
layout/reftests/bugs/reftest.list
--- a/layout/reftests/bugs/621918-2-ref.svg
+++ b/layout/reftests/bugs/621918-2-ref.svg
@@ -1,13 +1,17 @@
 <svg
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    height="800px"
    width="800px">
+
+ <!-- use an empty g to force filters.svg to load before onload -->
+ <use xlink:href="../filters.svg#empty" />
+
  <g filter="url(../filters.svg#NonWhiteToBlack)">
   <rect x="0" y="0" height="100%" width="100%" fill="#FFFFFF"/>
   <text style="font-size:12px;" transform="translate(40,100)">
     <tspan>स्वतन्त्रता और समानता प्राप्त</tspan></text>
   <text style="font-size:12px;" transform="translate(40,140) rotate(45)">
     <tspan>स्वतन्त्रता और समानता प्राप्त</tspan></text>
  </g>
 </svg>
--- a/layout/reftests/bugs/621918-2.svg
+++ b/layout/reftests/bugs/621918-2.svg
@@ -1,13 +1,17 @@
 <svg
    xmlns="http://www.w3.org/2000/svg"
    xmlns:xlink="http://www.w3.org/1999/xlink"
    height="800px"
    width="800px">
+
+ <!-- use an empty g to force filters.svg to load before onload -->
+ <use xlink:href="../filters.svg#empty" />
+
  <g filter="url(../filters.svg#NonWhiteToBlack)">
   <rect x="0" y="0" height="100%" width="100%" fill="#FFFFFF"/>
   <text style="font-size:12px;" transform="translate(40,100)">
     <tspan>स्वतन्त्रता और समानता प्राप्त</tspan></text>
   <path id="path1" d="M 0,0 L 500,500"/>
   <text style="font-size:12px;" transform="translate(40,140)"><textPath xlink:href="#path1">
     <tspan>स्वतन्त्रता और समानता प्राप्त</tspan></textPath></text>
  </g>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1566,11 +1566,11 @@ fails-if(!haveTestPlugin) == 599476.html
 HTTP(..) == 615121-1.html 615121-1-ref.html
 HTTP(..) != 615121-2.html 615121-2-notref.html
 == 617242-1.html 617242-1-ref.html
 != 618071.html 618071-notref.html
 == 619117-1.html 619117-1-ref.html
 == 621253-1.xhtml 621253-1-ref.xhtml
 HTTP(..) == 619511-1.html 619511-1-ref.html
 random-if(winWidget) == 621918-1.svg 621918-1-ref.svg # 1-pixel diacritic positioning discrepancy in rotated text (may depend on platform fonts)
-HTTP(..) == 621918-2.svg 621918-2-ref.svg # http(..) for filters.svg, used to mask antialiasing issues where glyphs touch
+random-if(winWidget) HTTP(..) == 621918-2.svg 621918-2-ref.svg # same 1px issue as above, and HTTP(..) for filters.svg, used to mask antialiasing issues where glyphs touch
 == 625409-1.html 625409-1-ref.html
 == 627393-1.html about:blank