Inconsistent border sizing - 1px borders sometimes disappear

2,036 views
Skip to first unread message

Sarah Gould

unread,
Jan 19, 2018, 4:43:22 PM1/19/18
to Chromium-discuss
I'm finding that borders with the same border-width setting will display at various widths on hi-dpi displays at various zoom levels (including 100% zoom). For 1px and "thin" borders, they sometimes disappear entirely. This happens with box-sizing: border-box, but not box-sizing: content-box.

I've tried this on Chrome 63.0.3239.132 and a client of mine has tried it on a Chrome Box and Chrome Book with a 27" monitor.

<input> with border: 1px solid black; box-sizing: border-box; on hi-dpi laptop monitor, 100% zoom:


<input> with border: 1px solid black; box-sizing: border-box; on 4K 27" Dell monitor, 100% zoom (notice the third input's border has disappeared):


Thanks for your time and consideration!


Stephen Chenney

unread,
Jan 19, 2018, 4:59:34 PM1/19/18
to sa...@1track.com, Chromium-discuss
Please file a bug on this at crbug.com, or add your information to this bug: https://bugs.chromium.org/p/chromium/issues/detail?id=793785

I believe the 100% zoom problems on the 4K monitor are due to the device scale factor, which is a zoom under the hood in Chrome. So this is basically issues with narrow borders under zoom, something we already know about but could do with more test cases for. Could you please include the "Customize Your Screen" scale factor if it's a Win 10 machine.

Stephen.

--
--
Chromium Discussion mailing list: chromium...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss


Reply all
Reply to author
Forward
0 new messages