W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [css-snap-size] Why restrict to width and height?

From: Xidorn Quan <quanxunzhen@gmail.com>
Date: Mon, 22 Feb 2016 16:49:23 +0800
Message-ID: <CAMdq699U_CJX7K=uUQyYPY+qipApFu98vRE2NZwiM0nhkN+_tA@mail.gmail.com>
To: Lea Verou <lea@verou.me>
Cc: www-style list <www-style@w3.org>
On Mon, Feb 22, 2016 at 4:09 PM, Lea Verou <lea@verou.me> wrote:
> I really like this new Snap Size draft, badly needed functionality!
> But why restrict to width and height? Surely, these are the most common
> cases, but it comes up with other <length> properties too. E.g. for vertical
> rhythm, you might want to snap the line-height.

It seems to me snap-height is actually for snapping line-height, and
there is no way to snap height in the current draft.

- Xidorn
Received on Monday, 22 February 2016 08:50:31 UTC

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