Re: [csswg-drafts] [css-values] Proposal for add a devcie pixel unit (#3715)

> where it is a very common need to render the real 1px width borders on high density screens.

Can you describe why you want to do this? A line that is one device pixel thick can be *very* thin, and screens vary in how thin that is; a number of high-end phones are now ~3x resolution.

> This is rarely actually what you want, but may be useful in particular for mobile devices.

That quote is referring to using mozmm to size buttons and other tap targets in physical units, so you can size something as, say, 40mozmm and have a reasonable guarantee it's actually 40mm wide, which is an appropriate touch-target size. It's not about making hairline borders.

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

Received on Thursday, 7 March 2019 23:06:08 UTC