mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 17:15:08 +00:00

Now that we have a way to resolve calc() lengths without a layout node, we can finally support calc() values in font-size. This wasn't possible before because font-related properties have to be resolved eagerly in StyleComputer due to font-relative CSS length units depending on the computed font being known.
3 lines
No EOL
77 B
HTML
3 lines
No EOL
77 B
HTML
<!doctype html><style>
|
|
body { font-size: calc(100px); }
|
|
</style>Hello friends |