<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Obscure Internet Explorer Bugs: #1 of&#8230; who knows?</title>
	<atom:link href="http://www.nickfitz.co.uk/2005/05/17/obscure-internet-explorer-bugs-1-of-who-knows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nickfitz.co.uk/2005/05/17/obscure-internet-explorer-bugs-1-of-who-knows/</link>
	<description>The occasional online observations of Nick Fitzsimons</description>
	<lastBuildDate>Thu, 15 Jul 2010 10:27:23 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: zcorpan</title>
		<link>http://www.nickfitz.co.uk/2005/05/17/obscure-internet-explorer-bugs-1-of-who-knows/comment-page-1/#comment-5</link>
		<dc:creator>zcorpan</dc:creator>
		<pubDate>Wed, 08 Jun 2005 19:07:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.nickfitz.co.uk/?p=2#comment-5</guid>
		<description>Yep, any unknown tag is treated as an empty element by IE. I tried this:

&lt;!DOCTYPE HTML&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FOO&gt;&lt;/FOO&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;

...and then:

javascript:(function(){ var elms = document.getElementsByTagName(&quot;*&quot;), i = elms.length; while(i--){ alert(elms[i].tagName); }})()

It also seems to treat the DOCTYPE as an element, with a tagName of &quot;!&quot;. :)</description>
		<content:encoded><![CDATA[<p>Yep, any unknown tag is treated as an empty element by IE. I tried this:</p>
<p>&lt;!DOCTYPE HTML&gt;&lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;&lt;/TITLE&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FOO&gt;&lt;/FOO&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</p>
<p>&#8230;and then:</p>
<p>javascript:(function(){ var elms = document.getElementsByTagName(&#8220;*&#8221;), i = elms.length; while(i&#8211;){ alert(elms[i].tagName); }})()</p>
<p>It also seems to treat the DOCTYPE as an element, with a tagName of &#8220;!&#8221;. <img src='http://www.nickfitz.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
</channel>
</rss>
