W3C home > Mailing lists > Public > www-style@w3.org > January 2013

Re: [css3-flexbox] Should ::first-line/letter apply to a flex container?

From: Brian Kardell <bkardell@gmail.com>
Date: Tue, 8 Jan 2013 13:48:04 -0500
Message-ID: <CADC=+jd7Y2MOQKss1ry1bT=2Pyg8GrXWuF-nFOZYN6M1rkfMkQ@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, www-style list <www-style@w3.org>
On Tue, Jan 8, 2013 at 1:41 PM, Tab Atkins Jr. <jackalmage@gmail.com> wrote:

> On Mon, Jan 7, 2013 at 1:09 PM, fantasai <fantasai.lists@inkedblade.net>
> wrote:
> > On 12/18/2012 02:09 PM, Tab Atkins Jr. wrote:
> >> CSS 2.1 defines that ::first-line/letter only apply to "block
> >> container elements".  That term isn't defined, but "block container
> >> box" is, and it explicitly excludes table boxes due to their alternate
> >> layout method.
> >>
> >> Should we exclude flex containers for the same reason?  It appears
> >> that IE, Opera, and FF all prevent ::first-line/letter from working on
> >> a flex container, but WebKit allows it.  I have no particular opinion
> >> on the matter.
> >>
> >> If we allowed it, I assume it would percolate down to the first flex
> >> item, after reordering.
> >
> > I think it makes sense to either
> >   a) allow it on flex containers, grid elements, and various table
> display
> > types
> > or
> >   b) only allow it for block containers
> >
> > For simplicitly, I lean towards the latter unless people really think
> > it's a problem that it doesn't apply.
>
> I'm fine with (b).
>
> ~TJ
>
>
For whatever it is worth, I would have assumed in reading it that "block
container elements" was referring to "block container box", and logically b
makes sense to me.  Just so you have a perspective from someone who isn't
the two of you :)


-- 
Brian Kardell :: @briankardell :: hitchjs.com
Received on Tuesday, 8 January 2013 18:48:32 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:04 GMT