mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-05 00:21:52 +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.
5 lines
138 B
HTML
5 lines
138 B
HTML
<!DOCTYPE html><html><head><style>
|
|
input {
|
|
line-height: 0;
|
|
}
|
|
</style></head><body><input type="text" value="Hello World">
|