[whatwg] Test suite: Embedded content

Ian Hickson ian at hixie.ch
Mon Nov 28 17:08:04 PST 2005


On Tue, 29 Nov 2005, Lachlan Hunt wrote:
>
> Simon Pieters wrote:
> > Opera:
> > If plugins are enabled, render all <embed>s and hide all <noembed>s, and
> > parse <noembed> as CDATA. If plugins are disabled, hide all <embed>s and
> > display all <noembed>s, and parse <noembed> as #PCDATA.
> 
> Why does it need to parse it differently depending on the mode?  Since 
> noembed is just hidden anyway, it really shouldn't matter how its 
> content is parsed and parsing it like #PCDATA makes the most sense.

Makes a difference if, e.g., there are <script> or <input type="hidden"> 
elements in there.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list