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

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 UTC