[html5] Transparent content model
Ian Hickson
ian at hixie.ch
Thu Oct 15 01:44:42 PDT 2009
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. `._.-(,_..'--(,_..'`-.;.'
More information about the Help
mailing list