SVG Painting: parsing stroke-width with valid values