W3C home > Mailing lists > Public > www-style@w3.org > December 2012

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 18 Dec 2012 14:09:43 -0800
Message-ID: <CAAWBYDD2618gxZxSFMj9LkjtA7ak35PeaMhkUHjFhof+cYgr-Q@mail.gmail.com>
To: www-style list <www-style@w3.org>
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.

~TJ
Received on Tuesday, 18 December 2012 22:10:31 GMT

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