W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2020

Re: [csswg-drafts] [css-values-4] Bugs in definition of exceptions for font-relative length units (#5228)

From: zjopy via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jun 2020 12:49:43 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-645996051-1592484581-sysbot+gh@w3.org>
@Loirooriol Thanks, I indeed seem to have missed the "the element they refer to" part for the first two "bugs".

For the third, if I understand correctly,

```css
#element {
  font-size: 1lh;
}
```

takes the `line-height` of the parent element, even though the `line-height` of the element would be fine perfectly well defined? And conversely

```css
#element {
  line-height: 1em;
}
```

takes the `font-size` of the parent element, even though the `font-size` of the element would be fine perfectly well defined?

Ok, at least I understand the reason behind this. Since this isn't a bug I'll close this issue.

-- 
GitHub Notification of comment by zjopy
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5228#issuecomment-645996051 using your GitHub account
Received on Thursday, 18 June 2020 12:49:44 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC