3 ms·
On my iPhone, some of the cross flags have gaps in them (e.g. Georgia, Guernsey and Sweden), see image below. But when I view the source for the Swedish flag, i
by nemetroid 5y ago
On my iPhone, some of the cross flags have gaps in them (e.g. Georgia, Guernsey and Sweden), see image below. But when I view the source for the Swedish flag, it's very clearly drawing one blue rectangle and two yellow ones:
<svg xmlns="http://www.w3.org/2000/svg" id="flag-icons-se" viewBox="0 0 640 480">
<path fill="#066aa7" d="M0 0h640v480H0z"/>
<path fill="#fecc00" d="M0 192h640v96H0z"/>
<path fill="#fecc00" d="M176 0h96v480h-96z"/>
</svg>
(each path has five commands, making a box: "move to", "horizontal line", "vertical line", "horizontal line", "close path")
I guess the iOS SVG renderer is just buggy.
https://i.imgur.com/toS0Wjh.jpeg https://i.imgur.com/toS0Wjh.jpeg
https://github.com/lipis/flag-icons/blob/main/flags/4x3/se.svg?short_path=c3c9bbe https://github.com/lipis/flag-icons/blob/main/flags/4x3/se.s...