layout/reftests/svg/fallback-color-04.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" >
     7   <title>Testcase for fallback colours</title>
     9   <defs>
    10     <filter id="dilate">
    11       <feMorphology operator="dilate" radius="6"/>
    12     </filter>
    13   </defs>
    15   <rect x="0%" y="0%" width="100%" height="100%" fill="lime"/>
    16   <text x="10" y="50" font-size="50"
    17         stroke-width="8" stroke="red" fill="none">
    18     A B
    19   </text>
    20   <text x="10" y="50" font-size="50"
    21         stroke-width="8" stroke="url(#null) lime" fill="none" filter="url(#dilate)">
    22     A B
    23   </text>
    24   <text x="200" y="50" font-size="50" fill="red">
    25     A B
    26   </text>
    27   <text x="200" y="50" font-size="50" fill="url(#null) lime" filter="url(#dilate)">
    28     A B
    29   </text>
    30   <text x="10" y="200" font-size="50" fill="red"
    31         stroke-width="1" stroke="red">
    32     A B
    33   </text>
    34   <text x="10" y="200" font-size="50" fill="url(#null) lime"
    35         stroke-width="1" stroke="url(#null) lime" filter="url(#dilate)">
    36     A B
    37   </text>
    38 </svg>

mercurial