[Webkit-unassigned] [Bug 41428] clip-path does not work inside mask element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 1 09:26:54 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41428





--- Comment #2 from rspierer at hotmail.com  2010-07-01 09:26:55 PST ---
I tested it on:
 Safari 5.0 (7533.16) on WinXP - gray filled circle
 Opera 10.54 (3423) on WinXP - no problems
 Google Chrome 5.0.375.86 on WinXP - no problems
 Firefox 3.6.6 on Win2003 - no problems

Opera chokes on the following modified test case:

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">

<clipPath id="clip" clipPathUnits="objectBoundingBox">
 <circle cx="0" cy="0" r="0.5" />
 <circle cx="0" cy="1" r="0.5" />
 <circle cx="1" cy="0" r="0.5" />
 <circle cx="1" cy="1" r="0.5" />
</clipPath>

<defs>
 <linearGradient id="grad">
  <stop offset="0" stop-color="black" />
  <stop offset="1" stop-color="white" />
 </linearGradient>

 <mask id="gmask" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox"> 
  <rect x="0" y="0" width="1" height="1" fill="url(#grad)" />
 </mask>

 <mask id="mask" x="0" y="0" width="1" height="1" maskContentUnits="objectBoundingBox">
  <rect x="0" y="0" width="1" height="1" fill="white" />
  <rect x="0" y="0" width="1" height="1" fill="black" clip-path="url(#clip)" />
 </mask>
</defs>

<g mask="url(#gmask)">
 <circle cx="50%" cy="50%" r="50" fill="black" mask="url(#mask)" />
</g>
</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