MantisBT - NetSurf
View Issue Details
0002629NetSurf[All Projects] Generalpublic2018-11-18 18:062019-02-17 13:34
Reporterandreymal 
Assigned ToMichael Drake 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.8 
Target VersionFixed in Version3.9 
Fixed in CI build #
Reported in CI build #
URL of problem pagehttps://andreymal.org/files/netsurf_vh_bug.html
Summary0002629: Incorrect height with vh+margin-bottom+background-image
DescriptionI don't know how to describe it correctly, just see the example.

With this combination of html and css 50vh works incorrect.

Example: https://andreymal.org/files/netsurf_vh_bug.html

Expected / Actual behavior (Firefox / Netsurf): https://i.imgur.com/am3HE0f.png
TagsNo tags attached.
Attached Filespng netsurf-vh.png (720,363) 2018-11-18 18:06
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=574&type=bug
gif netsurf-vh-workaround.gif (1,381,614) 2018-11-18 18:07
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=575&type=bug

Notes
(0001864)
andreymal   
2018-11-18 18:07   
Fun fact: it can by fixed by resize of the window (see attached gif)
(0001886)
Michael Drake   
2019-02-17 09:10   
Hi andreymal!

This has now been fixed on master.

Thank you very much for the report and the excellent test case. It made it very easy to fix. :)

Issue History
2018-11-18 18:06andreymalNew Issue
2018-11-18 18:06andreymalFile Added: netsurf-vh.png
2018-11-18 18:07andreymalFile Added: netsurf-vh-workaround.gif
2018-11-18 18:07andreymalNote Added: 0001864
2019-02-16 17:52Vincent SandersAssigned To => Michael Drake
2019-02-16 17:52Vincent SandersStatusnew => acknowledged
2019-02-17 09:10Michael DrakeStatusacknowledged => resolved
2019-02-17 09:10Michael DrakeResolutionopen => fixed
2019-02-17 09:10Michael DrakeNote Added: 0001886
2019-02-17 13:34Vincent SandersFixed in Version => 3.9