#79391Flag icons not correctly rendered
Description
In most Browsers the SVG flag icons dont get redered correctly. It seems that they do not interpret the “transform=“matrix()” property of the SVG element.
si-opera.png
Works correctly in Firefox 50.1.0.
Not working in the following browsers:- Chrome 55.0
- IE 11
- Opera 42.0.2393.137 (current version)
Flag for slovenia:
File: /typo3/sysext/core/Resources/Public/Icons/Flags/SVG/SI.svg
SVG:
<svg xmlns="http://www.w3.org/2000/svg" height="600" width="1200" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 12 6"> <title>Flag of Slovenia</title> <path fill="#ed1c24" d="M0 0h12v6H0z"/> <path fill="#005da4" d="M0 0h12v4H0z"/> <path fill="#fff" d="M0 0h12v2H0z"/> <svg width="12" viewBox="-120 -190.223125 240 309.188274" height="15.459" transform="matrix(.1 0 0 .1 2.2 1)"> <path d="M110.26-19.478l9.74-143.75a280.22 280.22 0 0 0-240 0l9.74 143.75A155.61 155.61 0 0 0 0 118.972a155.61 155.61 0 0 0 110.26-138.45" fill="#005da4"/> <path d="M-90 0A138.29 138.29 0 0 0 0 100.77 138.29 138.29 0 0 0 90 0L45-60 27-36 0-90l-27 54-18-24-45 60" fill="#fff"/> <path d="M-85.98 15A30 30 0 0 0-45 25.98a30 30 0 0 1 30 0 30 30 0 0 0 30 0 30 30 0 0 1 30 0A30 30 0 0 0 85.983 15v8.66a30 30 0 0 1-40.98 10.98 30 30 0 0 0-30 0 30 30 0 0 1-30 0 30 30 0 0 0-30 0A30 30 0 0 1-85.98 23.66z" id="a" fill="#005da4"/> <use xlink:href="#a" transform="translate(0 17.3)"/> <path stroke-width=".2" d="M0-131.25l2.25 7.353 7.493-1.728L4.5-120l5.243 5.625-7.493-1.728L0-108.75l-2.25-7.353-7.493 1.728L-4.5-120l-5.243-5.625 7.493 1.728z" fill="#fd0" id="b"/> <use xlink:href="#b" transform="translate(-33.8 -45)"/> <use xlink:href="#b" transform="translate(33.8 -45)"/> <path d="M-111.58-167.05l9.96 146.99A146.95 146.95 0 0 0 0 109.89 146.95 146.95 0 0 0 101.62-20.06l9.96-146.99a280.22 280.22 0 0 0 8.42 3.82l-9.74 143.75A155.61 155.61 0 0 1 0 118.97 155.61 155.61 0 0 1-110.26-19.48L-120-163.23a280.22 280.22 0 0 0 8.42-3.82" fill="#ed1c24"/> </svg> </svg>
TYPO3 v7.6
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.