W3C home > Mailing lists > Public > public-html@w3.org > February 2008

Parsing: <applet>, scoping element or not

From: Simon Pieters <simonp@opera.com>
Date: Wed, 27 Feb 2008 20:16:21 +0100
To: public-html <public-html@w3.org>
Message-ID: <op.t666hjx0idj3kv@hp-a0a83fcd39d2.palace.opera.no>

A page (a Sun tutorial on <applet> that is now gone) broke in Opera  
because it had markup like:


...and we parse it as if it were:


Per HTML5 currently it should be parsed as if it were:


The net result in both Opera's case and HTML5 is that the applet and the  
text "Blah" are both shown, which is not what was intended.

It appears that in IE and Firefox (but not Safari), applet is a "scoping  
element" just like object.

I don't know how many pages break because of this, but perhaps HTML5  
should align with IE and Firefox here.

Simon Pieters
Opera Software
Received on Wednesday, 27 February 2008 19:16:35 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:26 UTC