1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/text-scale-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1"> 1.9 + 1.10 + <title>Testcase for text scaling</title> 1.11 + 1.12 + <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=392233 --> 1.13 + <!-- we use powers of two for the scales so they can be represented 1.14 + exactly in a floating point representation --> 1.15 + 1.16 + <g transform="scale(8)"> 1.17 + <text x="0" y="16" font-size="16">Hello</text> 1.18 + </g> 1.19 + <g transform="scale(64)"> 1.20 + <text x="0" y="4" font-size="2">Hello</text> 1.21 + </g> 1.22 + <g transform="scale(512)"> 1.23 + <text x="0" y="0.75" font-size="0.25">Hello</text> 1.24 + </g> 1.25 +</svg>