ladybird/Tests/LibWeb/Layout/input/css-line-height-zero.html
rmg-x 629068c2a7 LibWeb: Ensure normal line-height on HTMLInputElement
Previously, setting CSS `line-height: 0` on an `input` element would
result in no text being displayed.

Other browsers handle this by setting the minimum height to the
"normal" value for single line inputs.
2024-07-10 07:05:52 +02:00

5 lines
138 B
HTML

<!DOCTYPE html><html><head><style>
input {
line-height: 0;
}
</style></head><body><input type="text" value="Hello World">