mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 11:48:32 +00:00
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.
6 lines
138 B
HTML
6 lines
138 B
HTML
<!DOCTYPE html><html><head><style>
|
|
input {
|
|
line-height: 0;
|
|
}
|
|
</style></head><body><input type="text" value="Hello World">
|