SVG style element ignored if no type attribute is specified
Open, LowPublic


The <style> element is ignored if you omit the default value type="text/css"

This bug seems new as upstream on (as in v. 2.36.4)

Example are here in the first revisions:
[[File:World Reserves to Production Crude Oil.svg]]
[[File:US Proved Crude Oil Reserves.svg]]

Version: unspecified
Severity: normal
See Also:
The W3C specification:


bzimport raised the priority of this task from to Low.
bzimport set Reference to bz66672.
bzimport added a subscriber: Unknown Object (MLST).

Ok the examples could be much better, you can recognize this only there in the font-family.

style MIME type omitted

Better simplified example, rendered as (near the same as from bug 66551)


Perhelion renamed this task from Style element ignored if no type attribute is specified to SVG style element ignored if no type attribute is specified.Dec 23 2014, 3:16 PM
Perhelion updated the task description. (Show Details)
Perhelion set Security to None.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptDec 5 2015, 4:12 AM
Glrx added a subscriber: Glrx.Apr 30 2017, 6:19 AM
Daylen added a subscriber: Daylen.Dec 9 2017, 9:56 PM

Indeed, thanks! Fixed in b2cc9ce which is included in the 2.40.20 tarball. 2.40.20 is in Debian testing (buster) but Debian stable (stretch) ships 2.40.16.