- From: Anne van Kesteren <annevk@opera.com>
- Date: Fri, 25 Jan 2008 23:24:35 +0100
- To: "Ian Hickson" <ian@hixie.ch>
- Cc: www-archive@w3.org
http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C!doctype%20html%3E%3Cspan%3E%3C%2Fspan%3E%3Cscript%3Ew(document.getElementsByTagName(%27span%27).length%20%3D%3D%201)%3C%2Fscript%3E If there are no explicit <body> and <head> tags and no text nodes have appeared yet at least Firefox does some weird re-ordering of nodes which causes scripts to return different things. I think that from HTML 4 you can reasonably say that this behavior is incorrect. -- Anne van Kesteren <http://annevankesteren.nl/> <http://www.opera.com/>
Received on Friday, 25 January 2008 22:20:51 UTC