MantisBT - NetSurf
View Issue Details
0002662NetSurfLayoutpublic2019-06-02 23:162019-06-03 22:15
ReporterCarter Sande 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusconfirmedResolutionopen 
Platformx86OSLinuxOS VersionUbuntu 19.04
Product Version3.8 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem pagehttps://carter.sande.duodecima.technology/netsurf-bug/margin-bottom.html
Summary0002662: Bottom margin incorrectly "escapes" parent with border
DescriptionIf a block with a margin is placed inside a block with a border, margin collapsing should not occur -- the outer element's border should contain the inner element's margin.

Netsurf behaves correctly for the top margin, but the bottom margin incorrectly "escapes" the border and ends up outside the parent.
Steps To Reproduce1. Open the attached page "margin-bottom.html" in NetSurf.
2. Notice that NetSurf incorrectly allows the bottom margin of the inner element to escape the parent element's border.
TagsNo tags attached.
Attached Filespng netsurf-bottom-margin-border-bug.png (38,387) 2019-06-02 23:16
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=591&type=bug
png

There are no notes attached to this issue.

Issue History
2019-06-02 23:16Carter SandeNew Issue
2019-06-02 23:16Carter SandeFile Added: netsurf-bottom-margin-border-bug.png
2019-06-03 22:15Vincent SandersStatusnew => confirmed