Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> It does way too much!

And even so, it still has no hairline. All line widths are finite and change when zooming.



It does, well, if following SVG 1.2 Tiny it does, at least. As far as I know it's implemented in Opera, FF, Chrome and Safari. Not sure about IE.

It's implemented as vector-effect: vector-effect="non-scaling-stroke"

There's an example here https://gist.github.com/lightjs/5372867


Only in IE/Edge. On other browsers you can prevent scaling of line-widths


> All line widths are finite and change when zooming. That's good imho.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: