Backed out changeset e4831a8b042c for lack of proper "r=".
authorCameron McCormack <cam@mcc.id.au>
Sun, 17 Feb 2013 19:27:10 +1100
changeset 122169 3a8784560224a9f0a89859ab79bca57a03cf2e94
parent 122168 f16a01e65b270c793195abb052378f143e7f9a4a
child 122170 6693706cbd4f99090f444aabdc12d788670b50a2
push id24320
push userryanvm@gmail.com
push dateSun, 17 Feb 2013 12:06:45 +0000
treeherdermozilla-central@5e137a87e84f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone21.0a1
backs oute4831a8b042cdcca130dc85f0e6f8ebb23eaa47b
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
Backed out changeset e4831a8b042c for lack of proper "r=".
layout/svg/crashtests/842009-1.svg
layout/svg/crashtests/crashtests.list
layout/svg/nsSVGTextFrame2.cpp
deleted file mode 100644
--- a/layout/svg/crashtests/842009-1.svg
+++ /dev/null
@@ -1,5 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg"
-     xmlns:xlink="http://www.w3.org/1999/xlink">
-  <title id="hello">hello</title>
-  <text x="100" y="100"> <tref xlink:href="#hello"/></text>
-</svg>
--- a/layout/svg/crashtests/crashtests.list
+++ b/layout/svg/crashtests/crashtests.list
@@ -148,9 +148,8 @@ load 784061-1.svg
 load 788831-1.svg
 load 790072.svg
 load 791826-1.svg
 load 789390-1.html
 load 808318-1.svg
 load 813420-1.svg
 load 841163-1.svg
 load 841812-1.svg
-load 842009-1.svg
--- a/layout/svg/nsSVGTextFrame2.cpp
+++ b/layout/svg/nsSVGTextFrame2.cpp
@@ -248,16 +248,17 @@ IsTextContentElement(nsIContent* aConten
 
   if (aContent->Tag() == nsGkAtoms::textPath) {
     nsIContent* parent = GetFirstNonAAncestor(aContent->GetParent());
     return parent && parent->IsSVG(nsGkAtoms::text);
   }
 
   if (aContent->Tag() == nsGkAtoms::a ||
       aContent->Tag() == nsGkAtoms::tspan ||
+      aContent->Tag() == nsGkAtoms::tref ||
       aContent->Tag() == nsGkAtoms::altGlyph) {
     return true;
   }
 
   return false;
 }
 
 /**