Re: [csswg-drafts] [css-rhythm-1] Avoiding accidental double spacing

@shans and I were discussing this, and Shane thinks he has a suggestion we haven't seen yet, which I think is reasonable.

Basically, `line-height: normal` is UA-defined. This is the source of our problem, but it might also be our solution - what if, when `line-height: normal` was "slightly larger" (according to some UA-defined threshold) to a multiple of `line-height-step`, we adjusted the value of `normal` to exactly the value of `line-height-step`?  That would avoid the accidental double-spacing *by default*, which is what we want here.  If people don't want their `line-height` to get adjusted, they just have to set it to an explicit value, which is also just fine.

We think this works intuitively for authors, and automatically handles the issue here.  Thoughts?

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

Received on Thursday, 27 July 2017 21:44:28 UTC