1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 23:27:43 +00:00

LibWeb: Propagate font-size & line-height into generated table boxes

The final used values for these properties is stored in the layout node,
so we need to make sure they are propagated there as well when doing
table box fixup.
This commit is contained in:
Andreas Kling 2023-09-05 11:58:18 +02:00
parent 8eb10b135d
commit 589a1e9325
3 changed files with 34 additions and 1 deletions

View file

@ -0,0 +1,8 @@
<!doctype html><style>
* { outline: 1px solid black; }
div { display: table; }
body {
font-size: 30px;
line-height: 100px;
}
</style><body><div>hello