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

[CSS21] Suggestion for Introduction of new display types

From: Ferenc Vajda <fvajda@doxence.com>
Date: Wed, 01 Aug 2012 17:42:14 +0200
Message-ID: <50194E56.5070302@doxence.com>
To: www-style@w3.org

Hi All,

I would like to make a suggestion to introduce a new box formatting
model defining two values for 'display' property:

    container, container-inline

Both would be rendered as if they were block/block-inline types, the
only difference would be the behavior of vertical-align. The behavior
for this latter is similar to that of table-cell.

I know that there are suggestions for a solution, but I would prefer
this solution to e.g. the margin-box model, because this behavior is
more like a "box-display" (e.g. table-cell), than a box-sizing or such.

A display:container could work on body, as well, resulting in a
dynamically changeable window-size box.

Since table-cell implements this rendering, sharing with the new types
could not be a hard issue for browser developers.

Ferenc Vajda
Received on Wednesday, 1 August 2012 15:42:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:02 UTC