layout/reftests/svg/text-layout-01-ref.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.

michael@0 1 <!--
michael@0 2 Any copyright is dedicated to the Public Domain.
michael@0 3 http://creativecommons.org/publicdomain/zero/1.0/
michael@0 4 -->
michael@0 5 <svg xmlns="http://www.w3.org/2000/svg" version="1.1"
michael@0 6 xmlns:xlink="http://www.w3.org/1999/xlink"
michael@0 7 font-family="monospace" font-size="20" xml:space="preserve">
michael@0 8
michael@0 9 <title>Reference to check that dx, dy works for text</title>
michael@0 10
michael@0 11 <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=388547 -->
michael@0 12
michael@0 13 <text x="30" y="30">TEST1</text>
michael@0 14
michael@0 15 <text x="30" y="60">T</text>
michael@0 16 <text x="30" y="70"> E</text>
michael@0 17 <text x="40" y="80"> ST2</text>
michael@0 18
michael@0 19 <text x="30" y="100">T</text>
michael@0 20 <text x="30" y="110"> E</text>
michael@0 21 <text x="40" y="120"> ST3</text>
michael@0 22
michael@0 23 <text x="30" y="160">T</text>
michael@0 24 <text x="30" y="150"> EST4</text>
michael@0 25
michael@0 26 <text x="40" y="200">TEST5</text>
michael@0 27
michael@0 28 <text x="220" y="30">T</text>
michael@0 29 <text x="240" y="30">E</text>
michael@0 30 <text x="260" y="30">S</text>
michael@0 31 <text x="280" y="30">T6</text>
michael@0 32
michael@0 33 <text x="220" y="70">T</text>
michael@0 34 <text x="220" y="90">E</text>
michael@0 35 <text x="220" y="110">S</text>
michael@0 36 <text x="220" y="130">T</text>
michael@0 37 <text x="220" y="150">7</text>
michael@0 38
michael@0 39 <text x="220" y="200">T ST8</text>
michael@0 40
michael@0 41 <g transform="translate(150,100)rotate(45)"><text>A</text></g>
michael@0 42 </svg>

mercurial