UNCONFIRMED 90315
Allow CSS access to display pixels (feature request)
https://bugs.webkit.org/show_bug.cgi?id=90315
Summary Allow CSS access to display pixels (feature request)
Chris Drackett
Reported 2012-06-29 15:27:42 PDT
at the moment there is no way in css to make a 1 pixel border or effect on a retina display. This makes some effects look bolder than intended, and reduce the level of control with CSS. At the moment my solution is to use images for these effects, but I'd love to do them directly in CSS instead. I wonder if a new unit might be used: border: solid black 1dpx (display pixel) or maybe just changing pixels to support a half value: border: solid black 0.5px
Attachments
Simon Fraser (smfr)
Comment 1 2012-06-30 11:48:54 PDT
Fractional pixel values may get supported as part of subpixel layout (bug 60318). We don't plan to add a "device pixel" unit.
Levi Weintraub
Comment 2 2012-07-31 13:40:20 PDT
Just so you know where to look, Bug 85532 tracks enabling sub-pixel layout on all platforms.
Chris Drackett
Comment 3 2012-08-01 16:29:31 PDT
so maybe this bug needs to be about enabling sub-pixel support for border-size, text-shadow, and box-shadow?
Note You need to log in before you can comment on or make changes to this bug.