[html5] Transparent content model
ian at hixie.ch
Sun Oct 18 02:56:21 PDT 2009
On Sat, 17 Oct 2009, Jordan Robert Dobson wrote:
> On Fri, Oct 16, 2009 at 12:08 AM, Ian Hickson <ian at hixie.ch> wrote:
> > On Thu, 15 Oct 2009, Jordan Robert Dobson wrote:
> >> 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%.
> > The formal reference is the spec, but that might not help. :-)
> > http://www.whatwg.org/specs/web-apps/current-work/multipage/content-models.html#transparent-content-models
> This URL isn't working for me by the way. Here's a screen of what I
> saw: http://cld.ly/902nu
Yeah, the multipage stuff depends on my scripts working well, and
sometimes they don't.
> > The basic idea is just that if in the markup you were to take the tags for
> > the transparent element out, and it would still be valid, then it's ok:
> > <p>Foo <ins> bar </ins> </p>
> > ...becomes:
> > <p>Foo bar </p>
> > Does that make sense?
> Yes that does.. thank you very much! I think it was just the error you
> had before (when the page was loading) that mostly confused me. Your
> example clears it up. :)
> I think I understand your mention of the object tag being partly
> transparent since if you removed the object tag it would be invalid if
> it contained a source tag because source wouldn't have a proper parent
> tag? Is that right?
<param>, not <source>, but yeah. You'd have to strip out the <param>s as
well as the <object> when doing the above test.
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the Help