summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibWeb/HTML/HTMLHyperlinkElementUtils.cpp
diff options
context:
space:
mode:
authorMathis Wiehl <mail@mathiswiehl.de>2023-03-15 21:11:38 +0100
committerSam Atkins <atkinssj@gmail.com>2023-03-16 08:40:29 +0000
commit9927dab9939f8c5b0fec668a1881baf612d97773 (patch)
tree6b448b91548179f659fe1bb8b1f40c107eca1200 /Userland/Libraries/LibWeb/HTML/HTMLHyperlinkElementUtils.cpp
parent2fe4be40afbeee0c99c4a04054cb01f309e6b735 (diff)
downloadserenity-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/HTMLHyperlinkElementUtils.cpp')
0 files changed, 0 insertions, 0 deletions