LibWeb: Support line-height: calc(...) values that resolve to number

This is used on GitHub and many other websites.
This commit is contained in:
Andreas Kling 2023-06-01 08:28:16 +02:00
commit 966058d693
Notes: sideshowbarker 2024-07-16 23:44:30 +09:00
3 changed files with 23 additions and 0 deletions

View file

@ -0,0 +1,6 @@
<!doctype html><style>
div {
line-height: calc(2 + 2);
background: pink;
}
</style><div>hello friends