1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 18:27: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:
Andreas Kling 2023-09-05 12:04:00 +02:00
parent 6a32634440
commit e013306df8
3 changed files with 20 additions and 2 deletions

View file

@ -0,0 +1,5 @@
<!doctype html><style>
div {
font-size: 0px;
}
</style><div>should not be visible