layout/reftests/svg/text-scale-01.svg

Wed, 31 Dec 2014 06:55:50 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:55:50 +0100
changeset 2
7e26c7da4463
permissions
-rw-r--r--

Added tag UPSTREAM_283F7C6 for changeset ca08bd8f51b2

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <svg xmlns="http://www.w3.org/2000/svg" version="1.1">
     7   <title>Testcase for text scaling</title>
     9   <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=392233 -->
    10   <!-- we use powers of two for the scales so they can be represented
    11        exactly in a floating point representation -->
    13   <g transform="scale(8)">
    14     <text x="0" y="16" font-size="16">Hello</text>
    15   </g>
    16   <g transform="scale(64)">
    17     <text x="0" y="4" font-size="2">Hello</text>
    18   </g>
    19   <g transform="scale(512)">
    20     <text x="0" y="0.75" font-size="0.25">Hello</text>
    21   </g>
    22 </svg>

mercurial