ladybird/Tests/LibWeb/Layout/input/css-font-size-calc.html
Andreas Kling 7115446995 LibWeb: Support font-size: calc()
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.
2023-06-02 20:03:28 +02:00

3 lines
77 B
HTML

<!doctype html><style>
body { font-size: calc(100px); }
</style>Hello friends