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

Re: [csswg-drafts] [css-line-grid][css-rhythm] solve the leading adjustement problem of the line-grid

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Mon, 23 Jan 2017 06:35:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-274411000-1485153350-sysbot+gh@w3.org>
> Traditionally there are three approaches to this issue. (1) leave 
one or more blank lines when necessary (2) allow superscripts and 
subscripts to intrude (and possibly overlap     unreadably, depending 
on how smart the formatter is) (3) break the grid
[...]
> So there's two values - (1) maximum protrusion allowed, and (2) what
 to do when it's exceeded.

Correct. As things are currently defined, if you want to break the 
grid, you should use `line-height-step` alone, and if you want to 
leave one or more blank lines you use `line-grid` + `css-line-snap`. 
`line-height-step` comes with a way of defining the maximum protrusion
 allowed, but line grid does not. I am proposing that it could gain 
this capability through integration with `line-height-step` (proposals
 1 to 3 in my original comment), or failing that, that it should 
independently gain the ability to manually specify that maximum 
protrusion allowed (proposal 4).

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/941#issuecomment-274411000 
using your GitHub account
Received on Monday, 23 January 2017 06:35:59 UTC

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