Opened 18 months ago

#19026 new defect

Build error using SVG filters and CSS

Reported by: djani Owned by:
Priority: undecided Milestone: tbd
Component: General Version: 1.11.2
Keywords: Cc:
Blocked By: Blocking:

Description

We are using SVG in our application and trying to beautify them with filters and applying them via CSS.

A filter is defined with an “id” attribute: <svg>

<defs>

<filter id="shadowFilter">…</filter>

</defs> …

</svg>

And applied easily via CSS: .chart {

filter: url(#shadowFilter)

}

Unfortunately the build is failing on this url() declaration, saying “While optimizing a CSS file, it was impossible to compute the destination location of a relative URL.”

Change History (0)

Note: See TracTickets for help on using tickets.