Re: [csswg-drafts] [CSS2] computed value of line-height (#8385)

`getComputedStyle` doesn't provide the computed value, it's the resolved value. See https://drafts.csswg.org/cssom/#resolved-values

> - `line-height`
>     The [resolved value](https://drafts.csswg.org/cssom/#resolved-value) is `normal` if the [computed value](https://drafts.csswg.org/css-cascade-5/#computed-value) is `normal`, or the [used value](https://drafts.csswg.org/css-cascade-5/#used-value) otherwise.

You can see that `1.5` computes as-is via inheritance.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8385#issuecomment-1418878224 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 6 February 2023 10:46:49 UTC