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

"display:transparent" or "display:nobox" (RE: thoughts on page templates)

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Thu, 2 Feb 2012 03:08:30 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "www-style@w3.org list" <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E539856928412E2C4B6@TK5EX14MBXC218.redmond.corp.microsoft.com>
>From: Alex Mogilevsky
>Sent: Wednesday, February 01, 2012 10:53 AM
>>> 1.1. ‘flow-into’: element vs. content
>>> The issue of nested containers in regions (“region-type:box” vs.
>>> “region-type:slot”) can also be addressed by named flow source
>>> element sending its content to the flow, e.g. like this:
>>I like the idea of having a display value that takes the element out of
>>the box tree but leaves its children.  This was previous suggested by
>>me (and maybe others? I forget now) as "display: transparent".
>Interesting. "display:noblock" maybe? That would solve box/slot difference

How about "display:nobox" ? 

That would mean "for the purposes of layout, ignore the element and consider its child nodes to be direct children of its parent node"

Would it be intuitive that 'nobox' means that?

(display:nonode" would be another naming option).

It think it is pretty cool. Not only this allows to create placeholder regions for stuff sensitive to structure (table rows, replaced elements), it also would allow to strip off semantic elements that don't have meaning for presentation.

For implementation, this seems similar to pulling together a flow from unrelated elements (could be hidden tricky issues but I don't see any yet).

If that were to be defined, which spec would it belong to?

Received on Thursday, 2 February 2012 03:09:56 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:55 UTC