问题
recently I create hexagon SVG, and I plan to implement it for image masking for firefox. currently its only working for Chrome
http://jsfiddle.net/brokeneye/WKEbw/
I already try to use mask: url
but it seems doesn't work.
Solved
Found the solution for this, its working on Firefox, chrome, safari, opera and IE9. Need to define the img on the SVG. the sample code is on this fiddle below
http://jsfiddle.net/brokeneye/ygsKm/
回答1:
Firefox supports what you want to do in a different way. You can use SVG masks with html images to get the same effect there with a different syntax.
来源:https://stackoverflow.com/questions/12698719/svg-image-masking-on-firefox