RESOLVED FIXED48471
-webkit-mask-image drops SVG mask content
https://bugs.webkit.org/show_bug.cgi?id=48471
Summary -webkit-mask-image drops SVG mask content
Michael O'Rourke
Reported 2010-10-27 14:54:11 PDT
Created attachment 72091 [details] Assets showing the original content with problem and the only workaround I've come up with The attached zip contains HTML content which brings in a SVG file as a mask via -webkit-mask-image. The mask is dropped by webkit when the mask size is the same size as the <div> it is applied to and their origins align. If I shift the mask by 1 pixel with -webkit-mask-origin so that content and mask don't align then the mask is properly applied. There doesn't seem to be any reason why the existing content should drop the mask or not be legal. Shifting the mask isn't a viable option because content on the edge that should be masked won't be as a result.
Attachments
Assets showing the original content with problem and the only workaround I've come up with (3.58 KB, application/x-zip-compressed)
2010-10-27 14:54 PDT, Michael O'Rourke
no flags
Michael O'Rourke
Comment 1 2010-10-28 12:39:46 PDT
Please disregard. New to webkit and was using latest Chrome to log bugs. This is problematic in Chrome but works in nightly build 70599 and Safari 5.0.2. Guess Chrome hasn't updated their webkit in longer than Safari.
Note You need to log in before you can comment on or make changes to this bug.