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

Re: [css3-box] Float start/end issue

From: Salar Khalilzadeh <salar2k@gmail.com>
Date: Fri, 30 May 2014 23:46:08 +0430
Message-ID: <CAFsVcz+ieB4GO10hAaTaKOeQE-s3hr7PsSP=r9t2W935hxO=ng@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style@w3.org
On Fri, May 30, 2014 at 10:24 PM, Tab Atkins Jr. <jackalmage@gmail.com>
wrote:

> [please don't top post http://wiki.csswg.org/tools/www-style ]
>
> On Fri, May 30, 2014 at 8:13 AM, Salar Khalilzadeh <salar2k@gmail.com>
> wrote:
> > On Wed, May 28, 2014 at 8:11 PM, Tab Atkins Jr. <jackalmage@gmail.com>
> > wrote:
> >> On the other hand, that means you can't set "float: start;" on a bunch
> >> of elements in some container and expect them to float to the same
> >> side.
> >>
> >> We've addressed this in the Alignment module by having start/end base
> >> themselves off the container's direction, and having separate
> >> self-start/self-end values that base themselves on the item's
> >> direction.
> >
> > Thanks for the info, I wasn't aware of that module.
> > But now after reading that module I'm confused! Wasn't
> > justify-self/align-content/... only for flex!
>
> Originally, yes, but it was extended to Grid Layout, and the Alignment
> spec extends it to all the other block-level display types.
>
> > Doesn't this mean we will have two approach for a same issue? (or I
> haven't
> > read enough?)
> > e.g.:  float:right; justify-self:right;
>
> Nope, floating is a totally different thing.  The align/justify
> properties just align children to one side or the other; floating has
> lots of additional rules about allowing the other contents to flow
> around them, etc.
>
> ~TJ
>

​Thanks for the info and for your work on the specs.​ The new specs are
amazing.
I'm still confused and guess I have to read more.
Received on Friday, 30 May 2014 19:16:36 UTC

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