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

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.

~fantasai

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