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

Re: [css-ui][css-flexbox] Should 'text-overflow' work on flexboxes?

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 5 Sep 2013 11:20:14 +0100
To: Daniel Holbert <dholbert@mozilla.com>
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Message-ID: <20130905102014.GA26633@crum.dbaron.org>
On Wednesday 2013-09-04 15:42 -0700, Daniel Holbert wrote:
> On 09/04/2013 11:31 AM, Tab Atkins Jr. wrote:
> > That said, I'm not opposed to special-casing flexboxes so that
> > anonymous flex items take their 'text-overflow' value from the
> > flexbox.  Any more properties that we should do this for?
> 
> I don't think this special-casing would make sense.
> 
> IMHO, adding special-case behavior for "text-overflow" would simply be
> making it slightly easier to get into a use-case that's rife with other
> footguns.  I don't think it's worth the work trying to make that
> use-case easier, given the problems that will come up as soon as an
> author tries to insert any inline-level tags.  (which will create
> several anonymous flex items where there was previously one, and confuse
> the author if they're expecting block-like behavior)

Ah, right, I forgot about that case.  In that case, I think it's
probably best as is.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Thursday, 5 September 2013 10:20:41 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 September 2013 10:20:41 UTC