- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Nov 2016 03:37:47 +0000
- To: public-css-archive@w3.org
> While this copies the circularity-breaker of font-size/em in handling line-height using lh, it doesn't address the new cycle we're adding when font-size uses lh and line-height uses em. I'm not seeing it. What happens to the font-size when it is defined in `lh` is addressed: I did not add a new paragraph for that, but the existing one about the exception to `font-size` is for all font-relative length units, and `lh` is classified as one. And as long as you have that, it doesn't matter that the `line-height` depends on the font-size (which it does even if you don't use `em`s, and use percentages or unitless numbers), since there's no loop. Did you miss that, or am I missing something else? Can you give an example of this loop you're seeing and that I am not? > I think I prefer treating the em unit as slightly more fundamental, so that line-height/em will use the parent element's metrics, and then font-size/lh will just rely on the element's metrics as usual. How would that work when line-height, instead of being in `em`, is a naked number or a % or its initial value of normal? In that case, it still depends on `font-size,` so that would be causing a loop, wouldn't it? -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/pull/602#issuecomment-262428522 using your GitHub account
Received on Wednesday, 23 November 2016 03:37:53 UTC