mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:57:35 +00:00
LibWeb: Allow font-size: 0
Zero is a valid font-size value, and should result in no text being visible. We now match the behavior of other engines.
This commit is contained in:
parent
6a32634440
commit
e013306df8
3 changed files with 20 additions and 2 deletions
5
Tests/LibWeb/Layout/input/font-size-zero.html
Normal file
5
Tests/LibWeb/Layout/input/font-size-zero.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!doctype html><style>
|
||||
div {
|
||||
font-size: 0px;
|
||||
}
|
||||
</style><div>should not be visible
|
Loading…
Add table
Add a link
Reference in a new issue