Closed Bug 1235364 Opened 8 years ago Closed 8 years ago

Missing SVG mask support for symbols

Categories

(Core :: SVG, defect)

45 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 353575

People

(Reporter: code, Unassigned)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:43.0) Gecko/20100101 Firefox/43.0
Build ID: 20151221130713

Steps to reproduce:

Take a SVG structure with working masking (), nest it inside a symbol tag, and then use that symbol () and the masking is not working anymore.


Actual results:

The mask is clearly applied in the example SVG structure. With exactly the same structure, used in symbol form, the mask is not applied.


Expected results:

Masking should be applied when code is wrapped in a symbol tag and used with the use tag.
Component: Untriaged → SVG
Product: Firefox → Core
Summary: SVG mask support for symbols → Missing SVG mask support for symbols
Sorry for the empty parentheses. I though I'd be able edit in the references later, but there seems to be no editing support.
Also, the relevance of this might be obscure. So to illustrate:

https://github.com/FWeinb/grunt-svgstore
https://github.com/w0rm/gulp-svgstore
https://github.com/jmarquis/broccoli-svgstore

They all produce SVG icon stores that use this architecture of declaring the icons as symbols, loading the store as an external asset, and then using icons from it.

As the use of SVG's for icons is rising (glyphfonts like FontAwesome have always been hacky and are quickly falling out of fashion for SVG icon libraries), we can expect a lot of people running into this issue when they use masking in their icons.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: