bug 621918 - reftests for character clusters in SVG <textPath>. r=roc a=test-only
authorJonathan Kew <jfkthame@gmail.com>
Tue, 11 Jan 2011 11:30:18 +0000
changeset 60288 57eb3d4405930d4905e47b45a458e4a958075f66
parent 60287 3f8bee2e48a728b438053ea78b64766342f436b5
child 60289 6cfffe34531c366309ad5842b68fd374d22950e4
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersroc, test-only
bugs621918
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 621918 - reftests for character clusters in SVG <textPath>. r=roc a=test-only
layout/reftests/bugs/621918-1-ref.svg
layout/reftests/bugs/621918-1.svg
layout/reftests/bugs/621918-2-ref.svg
layout/reftests/bugs/621918-2.svg
layout/reftests/bugs/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/621918-1-ref.svg
@@ -0,0 +1,10 @@
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   height="800px"
+   width="800px">
+  <text style="font-size:24px;" transform="translate(40,100)">
+    <tspan>Fire&#x301;fo&#x302;x</tspan></text>
+  <text style="font-size:24px;" transform="translate(40,140) rotate(45)">
+    <tspan>Fire&#x301;fo&#x302;x</tspan></text>
+</svg>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/621918-1.svg
@@ -0,0 +1,11 @@
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   height="800px"
+   width="800px">
+  <text style="font-size:24px;" transform="translate(40,100)">
+    <tspan>Fire&#x301;fo&#x302;x</tspan></text>
+  <path id="path1" d="M 0,0 L 500,500"/>
+  <text style="font-size:24px;" transform="translate(40,140)"><textPath xlink:href="#path1">
+    <tspan>Fire&#x301;fo&#x302;x</tspan></textPath></text>
+</svg>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/621918-2-ref.svg
@@ -0,0 +1,13 @@
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   height="800px"
+   width="800px">
+ <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>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/bugs/621918-2.svg
@@ -0,0 +1,14 @@
+<svg
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:xlink="http://www.w3.org/1999/xlink"
+   height="800px"
+   width="800px">
+ <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>
+</svg>
--- a/layout/reftests/bugs/reftest.list
+++ b/layout/reftests/bugs/reftest.list
@@ -1555,8 +1555,10 @@ fails-if(!haveTestPlugin) == 599476.html
 == 613433-3.html 613433-1-ref.html
 == 613433-3.html 613433-2-ref.html
 == 613433-3.html 613433-3-ref.html
 == 614272-1.svg  614272-1-ref.svg
 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
+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