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

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

From: Ojan Vafai <ojan@chromium.org>
Date: Tue, 8 Jan 2013 11:05:07 -0800
Message-ID: <CANMdWTuqBZM-xoU1Z6ZYe0VYnR4mNuZfwqDJ_q5Y9epBSJicoA@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 10:41 AM, 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).
>

+1 first-line/first-letter add a lot of complexity. We should only add them
where there are actual use-cases.
Received on Tuesday, 8 January 2013 19:05:57 GMT

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