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

Re: [css-layout] display: proxy (or display: ignore, contents, whatever)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Fri, 24 Feb 2012 10:26:59 -0800
Message-ID: <CAAWBYDBGxFL+F+MXH51eOjJVJ2ebr-QJriGD=URy=Ge3BXTLPQ@mail.gmail.com>
To: François REMY <fremycompany_pub@yahoo.fr>
Cc: CSS 3 W3C Group <www-style@w3.org>
On Fri, Feb 24, 2012 at 10:01 AM, François REMY
<fremycompany_pub@yahoo.fr> wrote:
> Maybe a small suggestion as long as I’m spamming the mailing list with my
> mails (sorry about that, I think it’s my last one, for now) :
>
> The current scheme for HTML has been to “wrap” elements inside other
> elements (unsemantic formatting-purposed section DIVs...). However,
> proposals such a “grid” can solve things that were solved by wrapping
> before. I’m asking myself if we could not add a new value to the display
> property whose effect would be :
>
> display: proxy;
> Ignore the current element in the layout tree (all of its children are
> inserted in the layout tree as direct children of the parent element, and
> the element itself isn’t rendered at all).
>
> That could also be used to group elements semantically while they should be
> in a grid, hence children of a single element. If we set “display: proxy” to
> the grouping elements, they are ignored at render but present at markup for
> semantic purposes.

Yes, I've started work on a Display Module over at the w3c github. I
haven't actually done anything useful on it yet, but it'll have
display:contents in it.

~TJ
Received on Friday, 24 February 2012 18:27:51 GMT

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