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

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

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Fri, 24 Feb 2012 19:01:50 +0100
Message-ID: <0709AFB9D38D4A668E555BF584EF6B2F@FREMYD2>
To: "CSS 3 W3C Group" <www-style@w3.org>
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.

Best regards,
François
Received on Friday, 24 February 2012 18:02:14 GMT

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