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

Re: collapsible property

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 10 Feb 2010 17:05:28 -0800
Message-ID: <4B7357D8.8030909@inkedblade.net>
To: Ojan Vafai <ojan@chromium.org>
CC: www-style@w3.org, Daniel Danilatos <danilatos@google.com>, Julie Parent <jparent@chromium.org>
On 02/10/2010 04:36 PM, Ojan Vafai wrote:
> Collapsed block nodes make little sense when dealing with rich-text
> user-generated content. Rich-text libraries need to go through all sorts
> of contortions right now in performance sensitive code to get around
> this. Browser's themselves do things to avoid collapsing nodes (e.g.
> putting magic BRs in empty block elements). These workarounds are costly
> and don't always work.
>
> Proposal: Add a collapsible property. Defaults to "auto".
> auto: the current behavior of collapsing block elements when they are empty
> never: empty elements don't collapse.
>
> p {
>    collapsible: never;
> }

Hi Ojan,

Are you referring to margin collapsing or to something else?

~fantasai
Received on Thursday, 11 February 2010 01:06:05 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:24 GMT