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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 8 Jan 2013 10:41:08 -0800
Message-ID: <CAAWBYDB-W8b0-Bmzf2Oq59fOiZuh0Z8nOsO6gGJStgiEPg8Vyg@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: www-style list <www-style@w3.org>
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).

Received on Tuesday, 8 January 2013 18:41:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:25 UTC