MantisBT - NetSurf
View Issue Details
0002681NetSurfLayoutpublic2019-07-09 17:212019-07-31 12:36
ReporterDave Higton 
Assigned ToMichael Drake 
PlatformBeagleBoard xMOSRISC OSOS Version5.27
Product Version3.9 
Target Version3.10Fixed in Version3.10 
Fixed in CI build #4725
Reported in CI build #4714
URL of problem page
Summary0002681: PNGs displayed with wrong aspect ratio
DescriptionEmail flyers from 7dayshop have PNG images that display at about half width - all the image is shown but the aspect ratio is very wrong. The style attributes limit its maximum width, but I think NS must be forgetting to constrain the height so as to maintain the proportion.

I can't simply post the HTML content of the flyer, or the link, without a lot of work, because they link to my 7DayShop account, so I'll have to hope that the "style" excerpt below is sufficient to trace the problem.
Additional Informationstyle="outline: none; text-decoration: none; -ms-interpolation-mode: bicubic; clear: both; height: auto; float: none; border: none; width: 100%; max-width: 300px; display: block;"

Doubling the max-width value allows the image to be displayed correctly.
TagsNo tags attached.
Attached Files? Demo (449,028) 2019-07-13 18:11

Dave Higton   
2019-07-13 18:12   
The file "Demo" has been stripped down from the original email attachment, and, hopefully, depersonalised. It demonstrates the issue I'm seeing.
Michael Drake   
2019-07-31 07:04   
Should be fixed in version 4724. If you make the window really narrow and reload, it should also do the mobile version correctly.
Dave Higton   
2019-07-31 12:27   
Build 4725 appeared before I got to try 4724, and I can confirm that it's fixed, so I'm closing it.
Vincent Sanders   
2019-07-31 12:36   
setting back to resolved so when 3.10 is release we know what is in it

Issue History
2019-07-09 17:21Dave HigtonNew Issue
2019-07-13 18:11Dave HigtonFile Added: Demo
2019-07-13 18:12Dave HigtonNote Added: 0001986
2019-07-31 07:04Michael DrakeAssigned To => Michael Drake
2019-07-31 07:04Michael DrakeStatusnew => resolved
2019-07-31 07:04Michael DrakeResolutionopen => fixed
2019-07-31 07:04Michael DrakeFixed in Version => 3.10
2019-07-31 07:04Michael DrakeTarget Version => 3.10
2019-07-31 07:04Michael DrakeDescription Updatedbug_revision_view_page.php?rev_id=2120#r2120
2019-07-31 07:04Michael DrakeAdditional Information Updatedbug_revision_view_page.php?rev_id=2122#r2122
2019-07-31 07:04Michael DrakeNote Added: 0002030
2019-07-31 12:27Dave HigtonStatusresolved => closed
2019-07-31 12:27Dave HigtonFixed in CI build # => 4725
2019-07-31 12:27Dave HigtonNote Added: 0002031
2019-07-31 12:36Vincent SandersStatusclosed => resolved
2019-07-31 12:36Vincent SandersNote Added: 0002032