Re: [csswg-drafts] [css-values] Consider requiring same relative <length> units in atan2() (#8169)

Mild concern with the resolution: this creates an inconsistency with #2115, i.e.

```css
font-size: 2lh; /* resolves using the parent */
line-height: 3em; /* resolves using the current element */
```

```css
font-size: 2ex; /* resolves using the parent */
font-weight: calc(3em / 1px); /* resolves using the parent */
```

Since `font-size` always resolves font-relative units with the parent, it should be possible to resolve `em` with the current element both for `line-height` and `font-size`, so why do different things?

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


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

Received on Wednesday, 12 July 2023 20:51:26 UTC