MantisBT - NetSurf
View Issue Details
0002681NetSurfLayoutpublic2019-07-09 17:212020-05-27 09:22
ReporterDave Higton 
Assigned ToMichael Drake 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
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
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=600&type=bug

Notes
(0001986)
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.
(0002030)
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.
(0002031)
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.
(0002032)
Vincent Sanders   
2019-07-31 12:36   
setting back to resolved so when 3.10 is release we know what is in it
(0002257)
Vincent Sanders   
2020-05-27 09:22   
Thankyou for reporting this issue.
We believe this is fixed in the 3.10 release.
If this is not the case please feel free to reopen the issue with additional details.

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
2020-05-27 09:22Vincent SandersStatusresolved => closed
2020-05-27 09:22Vincent SandersNote Added: 0002257