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

Shouldn't justify-content be renamed to justify-items?

From: ... <no-cheating@autistici.org>
Date: Wed, 11 Feb 2015 13:20:28 +0000
To: www-style@w3.org
Message-ID: <df073d5b64011f7a2520f6dac9ea9b18@autistici.org> (sfid-20150211_132034_048401_DACE22F7)
Hi

Can somebody lay me out the reasoning behind naming 3 Flexbox properties 
justify-content, align-items and align-content? I can't grasp the logic 
behind using terms items and content in the names the way they're used 
now.

It seems to me that align-items is complementary to justify-content, as 
both of them act on flex items - the first aligns the items along the 
cross axis and the second along the main axis. align-content on the 
contrary act on the whole lines of flex items. I can't see any 
connection between justify-content and align-content, though their names 
would suggest there is some.

And so it seems more logical for me if justify-content would be renamed 
to justify-items.

I bet Flexbox module creators had some logic behind naming the things in 
the current manner. Probably I'm only not able to recognize it. Can 
somebody explain that to me?

Robert
Received on Wednesday, 11 February 2015 19:54:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC