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

I think it should. If it was only a 1x screen, then use opacity to simulate the thinner line, like is typically done for antialiasing scaled images. So a 0.5px line is rendered with 1px at half the opacity of what it normally would be. On a 3x screen, it would use 2 device pixels, at 0.75 opacity. 


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

Received on Thursday, 14 March 2019 20:20:51 UTC