W3C home > Mailing lists > Public > www-style@w3.org > April 2010

Re: Splitting 'display'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 19 Apr 2010 09:00:57 -0700
Message-ID: <k2gdd0fbad1004190900r4208d9e7x7a0f76fa40eca5a1@mail.gmail.com>
To: Maciej Stachowiak <mjs@apple.com>
Cc: www-style list <www-style@w3.org>
On Sat, Apr 17, 2010 at 7:04 PM, Maciej Stachowiak <mjs@apple.com> wrote:
> The "static" and "text" names don't appeal to me:
> 1) Block and inline are fairly well known terms for the inside layout of
> blocks and inlines respectively.

I thought it might be confusing to have "block" and "inline" be in
both display-outside and display-inside, but have different meanings.
But maybe not.  I've changed it to use block and inline for now.

> 2) The relevance of "static" and "text" is not obvious. What's static about
> a block? Its inside contents can certainly change. What's more textual about
> the contents of an inline? A block can certainly contain only text, and an
> inline can contain only non-text.

"static" is a reference to "static flow" or "static positioning", both
of which are used in that section of CSS 2.1 to refer to "normal"
handling of blocks.  "text" is just a reference to the fact that it's
meant for text layout.  It can contain blocks, sure, but generally
something with display-inside:text is meant to have text inside of it,
so that its contents can be merged into the lineboxes of its parent.

Received on Monday, 19 April 2010 16:01:51 UTC

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