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

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     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