MantisBT - NetSurf
View Issue Details
0002662NetSurfLayoutpublic2019-06-02 22:162019-06-03 21:15
ReporterCarter Sande 
Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Platformx86OSLinuxOS VersionUbuntu 19.04
Product Version3.8 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
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 22:16

There are no notes attached to this issue.

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