Bug 794347 - Tweak text-layout-01.svg to avoid rounding issue when pixel snapping. r=longsonr
authorCameron McCormack <cam@mcc.id.au>
Wed, 26 Sep 2012 18:11:30 +1000
changeset 108119 04f739fbc190ab5b9f9bb76bb865f19c59a7f8b8
parent 108118 be95f234ff6e36bcd6b04d40668239684f7f3a70
child 108120 bc0b95817e55b7a06881c41ae5aa5f4ae9f4453b
push id23539
push userryanvm@gmail.com
push dateWed, 26 Sep 2012 22:55:55 +0000
treeherderautoland@ec079fd92224 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslongsonr
bugs794347
milestone18.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 794347 - Tweak text-layout-01.svg to avoid rounding issue when pixel snapping. r=longsonr
layout/reftests/svg/text-layout-01-ref.svg
layout/reftests/svg/text-layout-01.svg
--- a/layout/reftests/svg/text-layout-01-ref.svg
+++ b/layout/reftests/svg/text-layout-01-ref.svg
@@ -33,10 +33,10 @@
   <text x="220" y="70">T</text>
   <text x="220" y="90">E</text>
   <text x="220" y="110">S</text>
   <text x="220" y="130">T</text>
   <text x="220" y="150">7</text>
   
   <text x="220" y="200">T ST8</text>
 
-  <g transform="translate(150,100)rotate(90) "><text>A</text></g>
+  <g transform="translate(150,100)rotate(45)"><text>A</text></g>
 </svg>
--- a/layout/reftests/svg/text-layout-01.svg
+++ b/layout/reftests/svg/text-layout-01.svg
@@ -27,10 +27,10 @@
   <text><textPath xlink:href="#h2"><tspan dx="10">TE</tspan>ST5</textPath></text>
 
   <text x="220, 240, 260, 280" y="30">TEST6</text>
 
   <text x="220, 220, 220, 220, 220" y="70, 90, 110, 130, 150">TEST7</text>
   
   <text><textPath xlink:href="#h3"><tspan dx="0,1000,-1000">TES</tspan>T8</textPath></text>
 
-  <text x="150" y="100" rotate="90">A</text>
+  <text x="150" y="100" rotate="45">A</text>
 </svg>