- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Thu, 1 Nov 2012 14:27:46 +0100
- To: www-style list <www-style@w3.org>
So, based on feedback in this thread, here's my modified suggestion: 1. In step 3, add a step that, if the available cross size is definite, and an item has both an intrinsic aspect ratio and 'align-self:stretch', goes ahead and sets the hypothetical cross size of the item to the available cross size, and the hypothetical main size according to its aspect ratio. 2. Modify step 9 (handling "stretch" alignment) to have an explicit statement about handling aspect-ratio items, to clarify that it changes the cross-size *while ignoring the aspect ratio*, so the main size doesn't change. This should be all we need to do. If an item with an aspect ratio is stretched and flexible, it'll first stretch its cross size to fit the line, then flex its main size (possibly changing its cross size as well to maintain its ratio), then stretch its cross size to fit the line *again* if necessary, this time *not* changing the main size to maintain its ratio. I've gotten private feedback from Ojan & Tony that they're fine with these additions, and I think this matches IE's behavior. If I don't get any objections from one of the other browsers, I'll put this into the spec in a few days. ~TJ
Received on Thursday, 1 November 2012 13:28:33 UTC