The intrinsic sizing of images sometimes gets wrongly set to 0x0, though forcing the image to render by forcing width/height will display it

Confirmed Issue #7115734 • Assigned to bbrinza

Details

Created
Apr 5, 2016
Privacy
This issue is public.
Reports
Reported by 3 people

Sign in to watch or report this issue.

Steps to reproduce

I have an issue where images sometimes don’t paint. srcset is possibly related.

  1. Go to http://m.finn.no/realestate/homes/search.html
  2. Click on one of the classified ads
  3. If the main image shows up, click “Neste” at the top right.
    Sometimes, the main image doesn’t paint. It seems to be related to painting, because I can open the page in another tab, reload to get the image to show up, then go back to the first tab and click on the page or resize the browser to get it to show up.
    This is one of the largest sites in Norway. If you happen to have a workaround, that’d be welcome! :)
    And thanks for all the great work on Edge!

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “Rick J.”

  • I can open the page in another tab, reload to get the image to show up, then go back to the first tab and click on the page or resize the browser to get it to show up.

    This doesn’t always work, I notice now.

  • Microsoft Edge Team

    Changed Assigned To from “Rick J.” to “Ibrahim O.”

  • Thank you for your feedback. We are having difficulties reproducing this issue on MS Edge. Could you please confirm your Edge version and provide us a screen shot, screen record or it would help us investigate this issue if you can attach a specific repro page that can demonstrate this issue.

    All the best, 
    The MS Edge Team  

  • Hi.

    I’ve attached a minimal testcase. All pages have an img element with a srcset pointing to a local image. Just click Next until the image doesn’t load. For me, this is extremely easy to reproduce.

    I’m testing in EdgeHTML 14.14295 and 13.10586.

    Thanks!

  • I appreciate the update. We will look into this issue.

    All the best,
    The MS Edge Team 

  • Microsoft Edge Team

    Changed Assigned To to “Rick J.”

    Changed Assigned To to “Sermet I.”

    Changed Assigned To to “Bogdan B.”

  • We’ve disabled srcset for Edge, so use the zip file if you want to reproduce. :)

  • Microsoft Edge Team

    Changed Title from “Images don't paint sometimes” to “The intrinsic sizing of images sometimes sometimes gets wrongly set to 0x0, though forcing the image to render by forcing width/height will display it”

    Changed Assigned To from “Bogdan B.” to “Jonathan H.”

    Changed Status to “Confirmed”

  • Thanks for reaching out to us. We were able to reproduce the race condition, both on local files and by setting up a localhost to serve those files. We have put this on our devs investigation backlog.

     

    A workaround you might prefer is to forcibly set the width/height of the image via css (possibly using the padding-top:percentage and position:absolute hack). That would only work if your images are all of the same aspect ratio.

  • Microsoft Edge Team

    Changed Title from “The intrinsic sizing of images sometimes sometimes gets wrongly set to 0x0, though forcing the image to render by forcing width/height will display it” to “The intrinsic sizing of images sometimes gets wrongly set to 0x0, though forcing the image to render by forcing width/height will display it”

    Changed Assigned To from “Jonathan H.” to “Patrick R.”

  • It seems that the bug has been corrected by the anniversary update

  • Sorry I was wrong. It hasn’t been corrected yet

  • Any news? It seems that the bug hasn’t been corrected yet.
    If you need another example:
    http://www.bertuzzi.it/citrus

  • As already pointed out, the problem is difficult to reproduce consistently. Here a minimal example where I most often reproduce it:
    www.bertuzzi.it/citrus_mod

  • Any news? One year has passed and the bug is still here in EdgeHTML 15.15063.
    It seems to me that the first time one visits the page everything turns out fine. But when one visits again the same page and the browser revalidates the html response, then some of the image got lost.
    In the reduced test case I’ve previously brought to your attention, the html cache-control is set to "no-cache", while images are set to be cached for one year.

  • The description I provided in the previous message wasn’t quite right. The problem arises after one has browsed some other pages and it worsen with time. Developer tools show that the “missing” images are retrieved from the cache. Maybe the browser thinks that they’re still in the cache, while they’re no longer there?

  • Microsoft Edge Team

    Changed Assigned To to “bbrinza”

You need to sign in to your Microsoft account to add a comment.

Sign in