Actually fix SVG checking. Also avoid rounding errors in hsl() etc.