SRCSET of IMG isn't handled properly when saving page



  • Vivaldi 1.8.770.50 (and probably recent versions too) doesn't handle SRCSET attribute of IMG tag properly when saving page: links are kept as they are, though they should point to the images saved locally, and the images from SRCSET aren't saved locally.
    This issue prevents displaying of the images from SRCSET in offline mode.
    A sample page for testing is here.
    When saved locally most of its IMG tags look as follows (I've applied formatting to fit the line within page width):

    <img class="alignnone size-full wp-image-8241"
      src="./SINONING_files/12.1.jpg" alt="12.1" width="500" height="500" 
      srcset="https://www.sinoning.cc/wp-content/uploads/2016/09/12.1.jpg 500w, 
              https://www.sinoning.cc/wp-content/uploads/2016/09/12.1-150x150.jpg 150w,
              https://www.sinoning.cc/wp-content/uploads/2016/09/12.1-300x300.jpg 300w,
              https://www.sinoning.cc/wp-content/uploads/2016/09/12.1-768x768.jpg 768w,
              https://www.sinoning.cc/wp-content/uploads/2016/09/12.1-570x570.jpg 570w"
       sizes="(max-width: 500px) 100vw, 500px">
    

  • Moderator

    If you found a bug, please report the issue to the developers to fix it.

    How to do a bugreport for Vivaldi
    Report every bug seperately at https://vivaldi.com/bugreport/
    Describe the issue as precise as you can.
    If you use any extensions please give information which ones you use.
    If you have a URL or a own testpage which can checked, add it to the bugreport.
    If you have own testcase files (HTML, CSS, JS etc.) add them to the confirmation mail you get after report.
    If you have a screenrecording video, you can attach it to give the developers a hint how this might happen or look like.
    You will get a bug confirmation mail and in a reply to this mail you can add more information and files as attachments for the testers and bug tracking team.

    Thanks in advance for helping us to make Vivaldi better!



  • Moderator

    What happens if you save it as a MHTL file?
    Activate vivaldi://flags/#save-page-as-mhtml
    Restart Vivaldi
    Open the page
    Save the page



  • @Gwen-Dragon said in SRCSET of IMG isn't handled properly when saving page:

    What happens if you save it as a MHTL file?
    Activate vivaldi://flags/#save-page-as-mhtml
    ...

    Thanks for the hint - I wasn't aware of the flag.
    I tried saving the page as MHT and it seems the parts are not created for the extra images from SRCSET, however the resulting saved page is rendered fine in offline mode.



  • Reported as VB-28715.


Log in to reply
 

Looks like your connection to Vivaldi Forum was lost, please wait while we try to reconnect.