W3C home > Mailing lists > Public > www-style@w3.org > October 2017

Re: Thoughts on line grids and line spacing proposals

From: Alan Stearns <stearns@adobe.com>
Date: Tue, 10 Oct 2017 04:27:16 +0000
To: Florian Rivoal <florian@rivoal.net>, "L. David Baron" <dbaron@dbaron.org>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <905ECC6E-0F37-418B-8CD2-29088AFC6858@adobe.com>
On 10/9/17, 8:15 PM, "Florian Rivoal" <florian@rivoal.net> wrote:
* The major issue I am seeing with this proposal is that it doesn't seem to do anything to address what was already the primary weakness of the existing line-grid proposal: snapping lines to the grid can change (increase) the size of their container, and in some layout modes, changing its size can change its position, which should imply a different snapping, and unless we explicitly break out of this one way or another, we've good an infinite loop.
 
Please read https://drafts.csswg.org/css-line-grid/#alignment-interactions for a solution to this problem. One spacing adjustment to deal with size and position changes should be sufficient to break out of the loop. There are examples showing how this is done for centered and end-aligned content in the draft, but if you have other concerns I’m happy to work out additional examples to add.

Thanks,

Alan

Received on Tuesday, 10 October 2017 04:27:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:08 UTC