W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

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

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Sun, 08 Oct 2017 12:36:08 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-335003765-1507466154-sysbot+gh@w3.org>
agenda+

**Proposals**

1. `line-height-step: none | auto | [ <length> [ safe | unsafe ]? ]`
2. `line-height-step: none | auto`

**Background**

As I understood last week, @frivoal is not trying to solve the problem but wants to make it harder for authors. I, and IIUC @tabatkins / @shans / @dbaron as well, were all trying to solve, with heuristics or with side effects, so none sounded to him. I didn't understand his proposal because it didn't seem to solve, until I understand he's not trying to solve.

Proposal 1 makes this specific case harder to appear unless author adds `unsafe` keyword.

Proposal 2 does so unless author adds `line-height` property twice, once to set to a fixed value and then to set to `normal`.

I prefer proposal 2, for the simplicity for authors. Also it makes compatible with Line Grid that we can discuss if/how to support `<length>` for both features together.

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/938#issuecomment-335003765 using your GitHub account
Received on Sunday, 8 October 2017 12:35:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC