W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2009

[whatwg] Transparent Content

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 12 Oct 2009 09:54:12 -0500
Message-ID: <dd0fbad0910120754r626e7efcg66a19cb9ecf8c391@mail.gmail.com>
On Mon, Oct 12, 2009 at 9:52 AM, Yuvalik Webdesign
<postmaster at yuvalik.org> wrote:
>> From: Tab Atkins Jr.
>> Neither of you are *quite* right, but you are much closer to correct
>> than your colleague. ?A transparent element *must* contain the same
>> kinds of elements that its direct parent can. ?The meaning of
>> transparent is simply that, if you removed the element but left its
>> children, the document would still be conforming.
>> It does *not* mean that you can wrap a transparent element around
>> anything, as some elements have very specific rules about what
>> children they may have. ?Frex, you can't wrap an arbitrary transparent
>> element around a <td>.
> So, if I understand correctly I should read:
> When a content model includes a part that is "transparent", that part must not contain content that would not be conformant if the transparent element in the tree would be removed, while retaining the order of the tree."
> ?

Yes, that's correct.  It's essentially a rewording of what's in the
spec (just more focused on the element rather than the
parent/children, as the current spec text is).

Received on Monday, 12 October 2009 07:54:12 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:18 UTC