W3C home > Mailing lists > Public > www-style@w3.org > December 2014

Re: [css-align][css-grid] IE's interpretation of stretch?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 16 Dec 2014 19:23:00 -0800
Message-ID: <5490F714.6060807@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Fran├žois REMY <francois.remy.dev@outlook.com>
CC: CSS WG <www-style@w3.org>
On 09/16/2014 02:27 PM, Tab Atkins Jr. wrote:
> On Tue, Sep 16, 2014 at 1:57 PM, Fran├žois REMY
> <francois.remy.dev@outlook.com> wrote:
>>> Yes, 'stretch' doesn't do anything if the item is
>>> larger than the area, which is why IE renders
>>> the way it does.
>> Thanks, this is much clearer than the spec.
> Hmm, it should be exactly what the spec says.  Can I fix the spec to
> be clearer somehow?

We've reworked some of the text to be clearer about this.

>>> Yes, our handling of clamping is not great right now.
>>> Obviously things need to get clamped in the middle
>>> there, so that if a max-* prevents it from reaching
>>> its full stretched size, it should still stretch as much
>>> as possible, and then start-align.
>>> I'll add an issue on it for now.
>> That slightly bothers me, though. I can clearly see cases where you would want to center the element if it can't grow to fit, and not start-align it.
> This is basically just copied from Flexbox; no one's asked for
> fallback values yet.

This is now listed as an issue.

Received on Wednesday, 17 December 2014 03:24:06 UTC

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