Background-size and background-repeat: no-repeat cause height calculation to be abnormal
Reported by
yanjunqi...@gmail.com,
Nov 2
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 Steps to reproduce the problem: 1. set parent element style background-repeat: no-repeat,background-size: cover, background-image:url(https://img.alicdn.com/tfs/TB1q8RLmPDpK1RjSZFrXXa78VXa-192-192.png) 2.set parent element style background-color 3.set parent element width: 104.656px What is the expected behavior? the element background-color can not see, becase background-size cover What went wrong? Can see the element has a background color of about 1 pixel Did this work before? N/A Does this work in other browsers? N/A Chrome version: 69.0.3497.100 Channel: n/a OS Version: OS X 10.13.6 Flash Version:
,
Nov 5
Perhaps a zoom-for-dsf issue? Unable to reproduce on windows and linux.
,
Nov 6
Reproduce on iphone8plus, Just one pixel difference
,
Nov 23
Please use retina screen device to reproduce. https://codepen.io/yisi/pen/dQbZWy |
||
►
Sign in to add a comment |
||
Comment 1 by susan.boorgula@chromium.org
, Nov 4