mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-05 00:21:52 +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 |