gridbugs
gridbugs copied to clipboard
Chrome: grid track does not stretch to height of scaled images
See an example here: https://jsfiddle.net/5wdy33n0/4/
Situation: I created a layout with an auto-width grid column. A grid area which spans the top track contains images. The images are styled to float left with a percentage width and auto height.
Bug: In Chrome (tested with v62), the top grid track does not stretch in height to fit the auto-height images. Instead the grid track gets the height of the original, un-scaled image. In Firefox (tested with v56) the top grid track does stretch to the height of the images. The cause seems to be a combination of an auto-width grid column and stretched images.
Expected (by me) behavior: What Firefox does.
Issue #15 is about a height bug too, but I believe this is not the same bug. Excuse me if this turns out to be a duplicate.
Reported here as well: https://bugs.chromium.org/p/chromium/issues/detail?id=782406
It seems that this has already been fixed in Chrome 63, which is expected December 5th. See https://bugs.chromium.org/p/chromium/issues/detail?id=782406#c4 for more info.