Re: [svgwg] stroke-width initial value must include units

> The stroke-width syntax should actually be `<length-percentage> | <number>`, since plain numbers are valid in CSS properties, not only presentation attributes.

[Confirmed](https://docs.google.com/document/d/1aOJTvNCWlGpckxEbGd_zylj7Nz_kgLmrp7TXz8Wm8Fk/edit) support for plain numbers in all browsers. There are a couple of implementation bugs: Only Safari changes "10" to "10px" when serializing. Only Firefox gives "10" as the computed style. Neither has these bugs for line-height.


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/529#issuecomment-414174029 using your GitHub account

Received on Monday, 20 August 2018 01:33:16 UTC