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

Description

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

This bug seems new as upstream on https://bugzilla.gnome.org/show_bug.cgi?id=695162 (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:
http://bugzilla.gnome.org/show_bug.cgi?id=695162
https://bugzilla.wikimedia.org/show_bug.cgi?id=66551
The W3C specification: http://www.w3.org/TR/SVG/styling.html#StyleElementTypeAttribute

Details

Reference
bz66672
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 https://upload.wikimedia.org/wikipedia/commons/thumb/archive/b/bd/20140616211051%21Test.svg/500px-Test.svg.png (near the same as https://bugzilla.wikimedia.org/attachment.cgi?id=15666 from bug 66551)

Attached:

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.