[Webkit-unassigned] [Bug 23113] Layer content inside HTML in SVG foreignObject renders in the wrong place
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Aug 12 01:59:13 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=23113
Silvia Pfeiffer <silviapfeiffer1 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |silviapfeiffer1 at gmail.com
--- Comment #11 from Silvia Pfeiffer <silviapfeiffer1 at gmail.com> 2010-08-12 01:59:12 PST ---
I have a similar problem, where I have a foreignObject in a <defs> and cannot apply a mask to it, because the foreignObject keeps getting rendered. I hope it can be fixed with the same fixes - if not, I can open a new bug.
<?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