Empty label element's height is not 0 #2864
Labels
bug
Something isn't working
has repro
We have a way to reproduce this bug.
layout
reduction of web content
Issue has a simplified reduction based on real-world web content.
Summary
Empty label element has height, and could affect by
line-height
.Operating system
macOS
Steps to reproduce
Expected behavior
Empty label element height should be 0. Chrome didn't have this issue.
Actual behavior
Empty label has a default height of 16px, which could be affected by the line-height.
URL for a reduced test case
N/A
HTML/SVG/etc. source for a reduced test case
Log output and (if possible) backtrace
Screenshots or screen recordings
Ladybird:
Chrome:
Build flags or config settings
No response
Contribute a patch?
The text was updated successfully, but these errors were encountered: