MantisBT - NetSurf
View Issue Details
0002882NetSurfLayoutpublic2024-09-22 21:412024-09-22 21:41
Reporterno_thank_you 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSLinuxOS VersionArch
Product Version3.11 
Target VersionFixed in Version 
Fixed in CI build #
Reported in CI build #
URL of problem page
Summary0002882: Encountering <audio> element stops subsequent elements from growing the parent height
DescriptionWhen NetSurf encounters an <audio> element, it seems to stop counting the height
of child elements and instead cuts it off, causing subsequent elements to overflow
from the parent, where as it is expected that the parent element should expand to fit the content, and indeed this is how it behaves in any other browser I have tested.

This specifically happens when the <audio> element is set to `display: block` and has an explicit height specified in CSS. Only both. Removing either stops the bug.
Steps To ReproduceI have attached an HTML file for reproducing the issue.
TagsNo tags attached.
Attached Fileshtml repro.html (795) 2024-09-22 21:41
https://bugs.netsurf-browser.org/mantis/file_download.php?file_id=749&type=bug

There are no notes attached to this issue.

Issue History
2024-09-22 21:41no_thank_youNew Issue
2024-09-22 21:41no_thank_youFile Added: repro.html