Chrome Version: 69.0.3475.0 (Official Build) canary (64-bit)
OS: Mac OS X
What steps will reproduce the problem?
(1) Go to http://jsbin.com/zodulowopo/edit?html,output
Markup inline:
<iframe allow="max-downscaling-image 'none'" srcdoc='<img src="https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png" width="272" height="92">'></iframe>
What is the expected result?
The "Google" image does not invert colors when the image is sized by 0.5
of its natural width (e.g. to look great on a retina display).
What happens instead?
The image has inverted colors. The image's natural dimensions are 544x184.
The image declared in the markup to be 1/2 that size: `<img width="272" height="92">`.
It's very common to size 2x images down by 0.5 for retina displays). Should the downscaling ratio be increased for cases like this?
Comment 1 by ericbidelman@chromium.org
, Jul 2