layout/reftests/svg/text-font-weight-01.svg

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/text-font-weight-01.svg	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,25 @@
     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 font-weight</title>
    1.11 +
    1.12 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=379284 -->
    1.13 +
    1.14 +  <g id="test-body-content" font-family="Georgia, 'Times New Roman', Times,  'MS Mincho', serif" font-size="30">
    1.15 +    <g font-weight="bold">
    1.16 +      <text font-weight="lighter" x="10" y="50">This should be normal</text>
    1.17 +    </g>
    1.18 +    <g font-weight="normal">
    1.19 +      <text font-weight="bolder" x="10" y="100">This should be bold</text>
    1.20 +    </g>
    1.21 +    <g font-weight="700">
    1.22 +      <text font-weight="lighter" x="10" y="150">This should be normal</text>
    1.23 +    </g>
    1.24 +    <g font-weight="400">
    1.25 +      <text font-weight="bolder" x="10" y="200">This should be bold</text>
    1.26 +    </g>
    1.27 +  </g>
    1.28 +</svg>

mercurial