[html5] Transparent content model
Jordan Robert Dobson
Jordan.dobson at madebysquad.com
Thu Oct 15 18:40:00 PDT 2009
Can you recommend a reference where I can read up more on what a
transparent element is? I think I get it... but not 100%.
- Jordan
On Thu, Oct 15, 2009 at 1:44 AM, Ian Hickson <ian at hixie.ch> wrote:
> On Thu, 15 Oct 2009, Futomi Hatano wrote:
>>
>> First,
>> I think that transparent element inherits the content model of parent element.
>> Correct?
>
> Yeah, that's a good approximation of what it means. (There's some
> subtleties beyond that, e.g. <object> is part-transparent but allows
> <source> as a child before that part.)
>
>
>> Second,
>> The spec shows two DOM structures as examples.
>> The second DOM structure is correct?
>> The text node "world" is inside the em element.
>> I think that the text node "world" should be a sibling of the em element.
>
> Woah. Good catch. I wonder how I screwed that up. Thanks. Fixed.
>
> --
> Ian Hickson U+1047E )\._.,--....,'``. fL
> http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
> Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
> _______________________________________________
> Help mailing list
> Help at lists.whatwg.org
> http://lists.whatwg.org/listinfo.cgi/help-whatwg.org
>
--
Jordan Dobson
Owner + Director
MadeBySquad.com | GlueNow.com | MerchSquad.com | SquadBlog.com
(425) 444-8014
Follow me on twitter at http://Twitter.com/JordanDobson
More information about the Help
mailing list