Files
ladybird/Libraries/LibWeb/HTML/HTMLBRElement.cpp
Guilherme Mendes 2064bde5f9 LibWeb: Add case when <br> has display other than 'none'
When <br> element style display is not 'none', it must be an inline box.
Add a condition to ensure <br> is treated as an inline element
instead of a table, flex, or grid in that case,
preventing program from crashing.
Fixes #5568
2026-03-30 12:34:46 +01:00

2.8 KiB