Chrome renders image at viewport width #262

Closed
attiks opened this Issue Mar 12, 2015 · 2 comments

Projects

None yet

2 participants

@attiks
Member
attiks commented Mar 12, 2015

This was reported on https://www.drupal.org/node/2449033 and sounds like a bug.

Renders at 100% viewport width

<img srcset="https://www.drupal.org/sites/all/themes/bluecheese/images/world-map.png 450w" alt="My Image" title="My Image">

Renders at native image width

<img src="https://www.drupal.org/sites/all/themes/bluecheese/images/world-map.png" alt="My Image" title="My Image">
@aFarkas
aFarkas commented Mar 12, 2015

The default/fallback value for sizes is "100vw", so no bug.

@attiks
Member
attiks commented Mar 12, 2015

@aFarkas you're right, thanks

@attiks attiks closed this Mar 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment