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

[css-flexbox] minor editorial nits

From: Alan Stearns <stearns@adobe.com>
Date: Thu, 8 May 2014 00:55:47 +0000
To: "www-style@w3.org" <www-style@w3.org>
Message-ID: <CF9023C7.3F397%stearns@adobe.com>
I started a re-read of flexbox today, and here’s what I’ve found up
through section 9.6.

Given the existence of collapsed flex items and non-displayed flex items
made up of whitespace, perhaps section 6.0 should say that flex lines must
contain at least one *displayed* flex item.

The Flexibility intro in section 7.0 could be read to imply that both
width and height can flex. The following sections clear this up, but it
might be an improvement to say, “…fill the available space in the main
dimension.” 

I'm assuming the semicolon in step 13 closes the 'if' statement, and the
end 'auto' margin handling happens whether or not the start margin was
auto. Since this is prose and not code, you might want to make a separate
sentence or break the two parts into sub-bullets under “Otherwise”

It would have helped me to note in step 14 that align-self:auto computes
to the align-items value. It took me a while to figure out why align-items
was not ever referenced in the layout algorithm.


Thanks,
Alan

Received on Thursday, 8 May 2014 00:56:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:26 UTC