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

Re: [css4-text] A non-inherited property to control behavior of whitespace-only child boxes

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 28 Mar 2012 15:43:36 -0700
Message-ID: <CAAWBYDAn-Um4iiikvedX44_QhXQ7aRUza2vye5M01iXhLDZUmA@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: www-style list <www-style@w3.org>
On Wed, Mar 28, 2012 at 2:34 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> We keep running into situations where markup contains "non-semantic"
> whitespace.  This includes whitespace between flex item, whitespace between
> internal table parts, in some cases whitespace between inline-block kids of
> a block.  I expect the list to grow.
> Would it make sense to have a property (non-inherited) to allow suppressing
> such whitespace-only child boxes when the author wants them suppressed?

So this would control whether or not we throw away direct text-node
children of an element.  I'm okay with that.  Presumably we'd still
let layout modes define their default handling of whitespace, with the
property having a default value of "auto" that respects that.

Received on Wednesday, 28 March 2012 22:44:24 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:57 UTC