Re: [csswg-drafts] [css-backgrounds] Add a 'hairline' border-width value (#3720)

> There's nothing stopping you from using a fractional px value for border width in CSS — it's just not guaranteed to snap to an even number of device pixels,

It actually is guaranteed to do that. CSS itself doesn't guarantee it, but all browsers snap borders to whole device pixels, precisely *because* they otherwise look bad. (And do some fancy rounding to make sure all borders of a given width round in the same direction.)

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3720#issuecomment-473075989 using your GitHub account

Received on Thursday, 14 March 2019 21:42:12 UTC