W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2005

[whatwg] Test suite: Embedded content

From: Ian Hickson <ian@hixie.ch>
Date: Tue, 29 Nov 2005 01:08:04 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0511290107440.3467@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 28 November 2005 17:08:04 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:43 UTC