W3C home > Mailing lists > Public > www-math@w3.org > April 2008

Re: "/>" (was Re: several messages about New Vocabularies in text/html

From: Henri Sivonen <hsivonen@iki.fi>
Date: Thu, 3 Apr 2008 18:17:51 +0300
Cc: HTML WG <public-html@w3.org>, Public MathML mailing list <www-math@w3.org>
Message-Id: <64465A6E-F37F-4E0C-97C5-4F0BB67F0A81@iki.fi>
To: Neil Soiffer <Neils@dessci.com>

On Apr 3, 2008, at 18:03, Neil Soiffer wrote:
> However, I found that both Opera 9.5beta and Firefox 2 both treated  
> <script/> as an empty tag, which differs from what you found.  I'm  
> puzzled why I found a different behavior in Opera, and why Firefox 2  
> would differ from FireFox 3.

It seems to me that Opera 9.5 beta did not treat <script/> as empty.  
Instead, when it hit EOF when parsing the script element contents, it  
didn't append a the contents as a text node to the script element and  
then proceeded to infer a body start upon EOF.

You can verify that Opera 9.5 beta normally shows the text child of  
script in the DOM:

You can also verify that the body element is inferred and not created  
by what looks like the tag:

I think the Firefox case is this:

Henri Sivonen
Received on Thursday, 3 April 2008 15:18:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:40 UTC