- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Fri, 02 Dec 2022 16:54:28 +0000
- To: public-css-archive@w3.org
Also: ```css line-height: 1ex; font-weight: calc(1lh / 1px); ``` So, generalizing #2115, I guess the idea would be: 1. Compute `font-size`, resolving unknown font units with the parent. This sets the `em` unit. 2. Compute `font-weight`, resolving unknown font units with the parent. This sets the `ex`, `cap`, `ch` and `ic` units. 3. Compute `line-height`, resolving unknown font units with the parent. This sets the `lh` unit. Or: 1. Compute `font-weight`, resolving unknown font units with the parent. 2. Compute `font-size`, resolving unknown font units with the parent. This sets the `em`, `ex`, `cap`, `ch` and `ic` units. 3. Compute `line-height`, resolving unknown font units with the parent. This sets the `lh` unit. -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8169#issuecomment-1335530379 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 2 December 2022 16:54:30 UTC