layout/reftests/svg/conditions-08.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

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">
michael@0 6 <title>Test that clipPath, mask, filter, gradients and patterns ignore failing conditionals</title>
michael@0 7 <defs>
michael@0 8 <clipPath id="c1" systemLanguage="xx">
michael@0 9 <circle cx="50" cy="50" r="50"/>
michael@0 10 </clipPath>
michael@0 11 <mask id="m1" systemLanguage="xx">
michael@0 12 <circle cx="50" cy="50" r="50" fill="#888"/>
michael@0 13 </mask>
michael@0 14 <filter id="f1" systemLanguage="xx">
michael@0 15 <feColorMatrix type="hueRotate" values="60"/>
michael@0 16 </filter>
michael@0 17 <linearGradient id="l1" systemLanguage="xx">
michael@0 18 <stop stop-color="red"/>
michael@0 19 <stop offset="1" stop-color="yellow"/>
michael@0 20 </linearGradient>
michael@0 21 <pattern id="p1" viewBox="0 0 10 10" width="25%" height="25%" systemLanguage="xx">
michael@0 22 <circle cx="5" cy="5" r="5" fill="red"/>
michael@0 23 </pattern>
michael@0 24 </defs>
michael@0 25 <g fill="blue">
michael@0 26 <g transform="translate(200,50)">
michael@0 27 <rect width="100" height="100" clip-path="url(#c1)"/>
michael@0 28 </g>
michael@0 29 <g transform="translate(200,160)">
michael@0 30 <rect width="100" height="100" mask="url(#m1)"/>
michael@0 31 </g>
michael@0 32 <g transform="translate(200,270)">
michael@0 33 <rect width="100" height="100" filter="url(#f1)"/>
michael@0 34 </g>
michael@0 35 <g transform="translate(200,380)">
michael@0 36 <rect width="100" height="100" fill="url(#l1)"/>
michael@0 37 </g>
michael@0 38 <g transform="translate(200,490)">
michael@0 39 <rect width="100" height="100" fill="url(#p1)"/>
michael@0 40 </g>
michael@0 41 </g>
michael@0 42 </svg>

mercurial