[Webkit-unassigned] [Bug 43911] New: foreignObject inside <defs> doesn't apply mask
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 12 06:06:36 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=43911
Summary: foreignObject inside <defs> doesn't apply mask
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: SVG
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: silviapfeiffer1 at gmail.com
CC: zimmermann at kde.org
Google Chrome: 6.0.472.25 dev
Safari/Webkit: Version 5.0.1 (6533.17.8, r63640)
I have a foreignObject in a <defs> and cannot apply a mask to it, because the foreignObject keeps getting rendered fully.
Here is the example:
<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="270px" width="480px">
<mask id="c1" maskUnits="userSpaceOnUse" maskContentUnits="userSpaceOnUse">
<circle id="circle" cx="240" cy="135" r="135" fill="white"/>
</mask>
<defs>
<g id="videoGroup">
<foreignObject width="100%" height="100%">
<body xmlns="http://www.w3.org/1999/xhtml">
<video id="vid" class="target" height="270px" width="480px" controls="controls" autoplay="autoplay">
<source src="http://annodex.net/~silvia/itext/chocolate_rain/chocolate_rain.mp4" type="video/mp4"/>
<source src="http://annodex.net/~silvia/itext/chocolate_rain/chocolate_rain.ogv" type="video/ogg"/>
</video>
</body>
</foreignObject>
</g>
</defs>
<use xlink:href="#videoGroup" mask="url(#c1)"/>
</svg>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list