diff options
author | Mathis Wiehl <mail@mathiswiehl.de> | 2023-03-15 21:11:38 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2023-03-16 08:40:29 +0000 |
commit | 9927dab9939f8c5b0fec668a1881baf612d97773 (patch) | |
tree | 6b448b91548179f659fe1bb8b1f40c107eca1200 /Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.h | |
parent | 2fe4be40afbeee0c99c4a04054cb01f309e6b735 (diff) | |
download | serenity-9927dab9939f8c5b0fec668a1881baf612d97773.zip |
LibWeb: Don't drop single <br/> lines
Previously, when having inline contexts consisting of just a `<br/>`
tag, we would not create a line box.
Ensure that there is always a line box when a line is explicitly being
broken and also ensure it won't be trimmed due to being empty.
This will a fix a number of sites that use `<br>` tags for layouts
between block elements (even though the spec says they shouldn't).
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLTemplateElement.h')
0 files changed, 0 insertions, 0 deletions