layout/reftests/svg/mask-basic-03.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" xmlns:xlink="http://www.w3.org/1999/xlink">
     7   <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=779029 -->
     9   <title>Test that the x/y/width/height attributes work on the mask element</title>
    11   <mask id="mask" x="20%" y="20%" width="60%" height="60%">
    12     <rect width="1000" height="1000" fill="white"/>
    13   </mask>
    15   <rect width="100%" height="100%" fill="lime"/>
    16   <rect x="50" y="50" width="100" height="100" fill="red" mask="url(#mask)"/>
    17   <rect x="70" y="70" width="60" height="60" fill="lime"/>
    19 </svg>

mercurial