Issue metadata
Sign in to add a comment
|
[css-grid] Image not shown until new layout
Reported by
m...@ramondeklein.nl,
Jun 4 2018
|
||||||||||||||||||||
Issue descriptionSteps to reproduce the problem: 1. Go to http://www.ramondeklein.nl/chrome67-issue.html 2. On Chrome <67 an image is shown in the center of the screen. 3. On Chrome 67 no image is shown, until the device is rotated What is the expected behavior? The image should appear right away. This behaviour was working fine with 66.0.3359.158 (tested on a Xiaomi Mi A1 and a Samsung Galaxy S8 both on Android 8.0). What went wrong? It seems there is something broking with the grid layout. Did this work before? Yes 66.0.3359.158 Does this work in other browsers? Yes Chrome version: 67.0.3396.68 Channel: stable OS Version: 8.0 Flash Version: I have also noted some other glitches with the "grid" layout, but this one is the easiest to reproduce. Please contact me if you need more scenarios.
,
Jun 4 2018
It seems to be a timing issue, because sometimes it works and sometimes it doesn't. It is easier to reproduce this issue by saving the HTML file to local disk and load it from there.
,
Jun 4 2018
See also https://stackoverflow.com/questions/50679245/chrome-67-layout-issue-when-using-grids (contains a reproducable snippet).
,
Jun 4 2018
,
Jun 5 2018
,
Jun 5 2018
Tested the issue using #67.0.3396.68 and #66.0.3359.158 on Android Pixel; 8.1.0 as per the steps mentioned in original comment and could not reproduce the issue. @ramondeklein.nl: Could you please help us with the details of your device and if possible attach a screenshot for further triaging of the issue. Thanks!!
,
Jun 5 2018
Please check the snippet I have posted on StackOverflow (https://stackoverflow.com/questions/50679245/chrome-67-layout-issue-when-using-grids). My Windows PC has now also upgraded to Chrome 67 and doesn't display the image. If you use Chrome 66 (or Firefox) then the image is shown. It seemed like a mobile issue to me, but this was simply because my mobile devices already upgraded to v67 and the desktop didn't do that.
,
Jun 5 2018
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jun 5 2018
I'm attaching a reduced test case where I can reproduce this consistently. Doing a bisect it seems this started to fail after: https://chromium-review.googlesource.com/980756 It's interesting to see that if you remove the "justify-content: center" it works fine. Note that to achieve the same effect in this particular example, you can use "justify-items: center". Apart from that we have a known bug related to max-height and percentages (issue #750631).
,
Jun 5 2018
BTW, the issue happens on the desktop too. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by m...@ramondeklein.nl
, Jun 4 2018