<?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: Crashing IE7</title>
	<atom:link href="http://commadot.com/crashing-ie7/feed/" rel="self" type="application/rss+xml" />
	<link>http://commadot.com/crashing-ie7/</link>
	<description>Started in 1996, commadot.com has been been randomly publishing about UX, technology, Politics, the Jets and my kids.</description>
	<pubDate>Tue, 18 Nov 2008 15:29:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7-beta3</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Glen Lipka</title>
		<link>http://commadot.com/crashing-ie7/comment-page-1/#comment-330</link>
		<dc:creator>Glen Lipka</dc:creator>
		<pubDate>Tue, 01 May 2007 16:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://commadot.com/?p=522#comment-330</guid>
		<description>&lt;div style="direction: ltr;"&gt;&lt;span class="q"&gt;On Mon, 30 Apr 2007, Glen Lipka wrote:&lt;br /&gt;&lt;br /&gt;&#62; My IE7 crashes if I look at the following source:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="direction: ltr;"&gt;Mine does too, after &#34;thinking&#34; some time. This does not happen if I&lt;br /&gt;remove the &#60;style&#62; element, making the issue CSS-related, but the basic&lt;br /&gt;issue is markup.&lt;br /&gt;&lt;/div&gt;&lt;div style="direction: ltr;"&gt;&lt;span class="q"&gt;&lt;br /&gt;&#62; &#160;&#60;a href=&#34;&#34;&#62;Link1&#60;span /&#62;&#60;/a&#62;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;script&gt;&lt;!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;- -\u003cbr /\&gt;\u003c/div\&gt;",1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;\u003cspan class\u003dq\&gt;&#62; It doesn\'t crash if I am explicit with &#60;span&#62;&#60;/span&#62;\u003cbr /\&gt;\u003cbr /\&gt;\u003c/span\&gt;\u003c/div\&gt;",1]
);

//--&gt;&lt;/script&gt;&lt;div style="direction: ltr;"&gt;- -&lt;br /&gt;&lt;/div&gt;&lt;div style="direction: ltr;"&gt;&lt;span class="q"&gt;&#62; It doesn't crash if I am explicit with &#60;span&#62;&#60;/span&#62;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;script&gt;&lt;!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;According to the XHTML 1.0 specification, you should not use &#60;span /&#62; but\u003cbr /\&gt;&#60;span&#62;&#60;/span&#62;. More generally, in XHTML 1.0, the &#60;tagname /&#62; construct\u003cbr /\&gt;should be used if and only if the element\'s content model is EMPTY, i.e.\u003cbr /\&gt;no content is ever allowed by the syntax rules. Ref.:\u003cbr /\&gt;\u003ca onclick\u003d\"return top.js.OpenExtLink(window,event,this)\" href\u003d\"http://www.w3.org/TR/xhtml1/#guidelines\" target\u003d_blank\&gt;http://www.w3.org/TR/xhtml1/\u003cwbr /\&gt;#guidelines\u003c/a\&gt;\u003cbr /\&gt;(Technically, Appendix C is informative, not normative; but the XML 1.0\u003cbr /\&gt;specification says: &#34;For interoperability, the empty-element tag SHOULD be\u003cbr /\&gt;used, and SHOULD only be used, for elements which are declared EMPTY.&#34;\u003cbr /\&gt;Ref.: \u003ca onclick\u003d\"return top.js.OpenExtLink(window,event,this)\" href\u003d\"http://www.w3.org/TR/REC-xml/#sec-starttags\" target\u003d_blank\&gt;http://www.w3.org/TR/REC-xml/\u003cwbr /\&gt;#sec-starttags\u003c/a\&gt; )\u003cbr /\&gt;\u003cbr /\&gt;What happens on IE is that the &#34;/&#34; in &#60;span /&#62; is ignored, treating it as\u003cbr /\&gt;the lone start tag &#60;span&#62;. If you remove the &#34;/&#34; characters, IE 7 still\u003cbr /\&gt;crashes.\u003cbr /\&gt;\u003cbr /\&gt;(IE does not understand XHTML. If you send XHTML to it labelled as\u003cbr /\&gt;text/html, it will treat it as HTML, or rather the same way it treats\u003cbr /\&gt;HTML.)\u003cbr /\&gt;\u003c/div\&gt;",1]
);

//--&gt;&lt;/script&gt;&lt;div style="direction: ltr;"&gt;According to the XHTML 1.0 specification, you should not use &#60;span /&#62; but&lt;br /&gt;&#60;span&#62;&#60;/span&#62;. More generally, in XHTML 1.0, the &#60;tagname /&#62; construct&lt;br /&gt;should be used if and only if the element's content model is EMPTY, i.e.&lt;br /&gt;no content is ever allowed by the syntax rules. Ref.:&lt;br /&gt;&lt;a target="_blank" href="http://www.w3.org/TR/xhtml1/#guidelines" onclick="return top.js.OpenExtLink(window,event,this)" rel="nofollow"&gt;http://www.w3.org/TR/xhtml1/&lt;wbr /&gt;#guidelines&lt;/a&gt;&lt;br /&gt;(Technically, Appendix C is informative, not normative; but the XML 1.0&lt;br /&gt;specification says: &#34;For interoperability, the empty-element tag SHOULD be&lt;br /&gt;used, and SHOULD only be used, for elements which are declared EMPTY.&#34;&lt;br /&gt;Ref.: &lt;a target="_blank" href="http://www.w3.org/TR/REC-xml/#sec-starttags" onclick="return top.js.OpenExtLink(window,event,this)" rel="nofollow"&gt;http://www.w3.org/TR/REC-xml/&lt;wbr /&gt;#sec-starttags&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;What happens on IE is that the &#34;/&#34; in &#60;span /&#62; is ignored, treating it as&lt;br /&gt;the lone start tag &#60;span&#62;. If you remove the &#34;/&#34; characters, IE 7 still&lt;br /&gt;crashes.&lt;br /&gt;&lt;br /&gt;(IE does not understand XHTML. If you send XHTML to it labelled as&lt;br /&gt;text/html, it will treat it as HTML, or rather the same way it treats&lt;br /&gt;HTML.)&lt;br /&gt;&lt;/div&gt;&lt;script&gt;&lt;!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;\u003cspan class\u003dq\&gt;\u003cbr /\&gt;&#62; It doesn\'t crash if I only have 1 link.\u003cbr /\&gt;\u003cbr /\&gt;\u003c/span\&gt;\u003c/div\&gt;",1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;I guess IE gets confused when it sees two &#60;span&#62; tags with no end tag for\u003cbr /\&gt;either of them, though only when you ask it to apply your style sheet.\u003cbr /\&gt;\u003cbr /\&gt;&#62; Is &#60;span /&#62; illegal?\u003cbr /\&gt;\u003cbr /\&gt;Not in XHTML, but it should not be used in any context where your document\u003cbr /\&gt;might be processed by old HTML browsers like IE.\u003cbr /\&gt;\u003c/div\&gt;",1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;\u003cspan class\u003dq\&gt;\u003cbr /\&gt;&#62; Why would this crash IE7?\u003cbr /\&gt;\u003cbr /\&gt;\u003c/span\&gt;\u003c/div\&gt;",1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;Who knows what really happens? But basically you have (when your document\u003cbr /\&gt;is processed as HTML) two elements that need end tags but don\'t have them,\u003cbr /\&gt;so it\'s not surprising that IE crashes when there are style sheets to be\u003cbr /\&gt;applied to them.\u003cbr /\&gt;\u003c/div\&gt;",1]
);

//--&gt;&lt;/script&gt;&lt;div style="direction: ltr;"&gt;&lt;span class="q"&gt;&lt;br /&gt;&#62; It doesn't crash if I only have 1 link.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="direction: ltr;"&gt;I guess IE gets confused when it sees two &#60;span&#62; tags with no end tag for&lt;br /&gt;either of them, though only when you ask it to apply your style sheet.&lt;br /&gt;&lt;br /&gt;&#62; Is &#60;span /&#62; illegal?&lt;br /&gt;&lt;br /&gt;Not in XHTML, but it should not be used in any context where your document&lt;br /&gt;might be processed by old HTML browsers like IE.&lt;br /&gt;&lt;/div&gt;&lt;div style="direction: ltr;"&gt;&lt;span class="q"&gt;&lt;br /&gt;&#62; Why would this crash IE7?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="direction: ltr;"&gt;Who knows what really happens? But basically you have (when your document&lt;br /&gt;is processed as HTML) two elements that need end tags but don't have them,&lt;br /&gt;so it's not surprising that IE crashes when there are style sheets to be&lt;br /&gt;applied to them.&lt;br /&gt;&lt;/div&gt;&lt;script&gt;&lt;!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\&gt;\u003cspan class\u003dsg\&gt;\u003cbr /\&gt;--\u003cbr /\&gt;Jukka &#34;Yucca&#34; Korpela, \u003ca onclick\u003d\"return top.js.OpenExtLink(window,event,this)\" href\u003d\"http://www.cs.tut.fi/~jkorpela/\" target\u003d_blank\&gt;http://www.cs.tut.fi/~jkorpela\u003cwbr /\&gt;/\u003c/a\&gt;\u003cbr /\&gt;\u003c/span\&gt;\u003c/div\&gt;",1]
);

//--&gt;&lt;/script&gt;&lt;span class="sg"&gt;&lt;br /&gt;--&lt;br /&gt;Jukka &#34;Yucca&#34; Korpela, &lt;a target="_blank" href="http://www.cs.tut.fi/%7Ejkorpela/" onclick="return top.js.OpenExtLink(window,event,this)" rel="nofollow"&gt;http://www.cs.tut.fi/~jkorpela&lt;wbr /&gt;/&lt;/a&gt;&lt;/span&gt;</description>
		<content:encoded><![CDATA[<div style="direction: ltr;"><span class="q">On Mon, 30 Apr 2007, Glen Lipka wrote:</p>
<p>&gt; My IE7 crashes if I look at the following source:</p>
<p></span></div>
<div style="direction: ltr;">Mine does too, after &quot;thinking&quot; some time. This does not happen if I<br />remove the &lt;style&gt; element, making the issue CSS-related, but the basic<br />issue is markup.</div>
<div style="direction: ltr;"><span class="q"><br />&gt; &nbsp;&lt;a href=&quot;&quot;&gt;Link1&lt;span /&gt;&lt;/a&gt;<br /></span></div>
<p><script><!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>- -\u003cbr /\>\u003c/div\>&#8221;,1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>\u003cspan class\u003dq\>&gt; It doesn\'t crash if I am explicit with &lt;span&gt;&lt;/span&gt;\u003cbr /\>\u003cbr /\>\u003c/span\>\u003c/div\>",1]
);</p>
<p>//&#8211;></script>
<div style="direction: ltr;">- -</div>
<div style="direction: ltr;"><span class="q">&gt; It doesn&#8217;t crash if I am explicit with &lt;span&gt;&lt;/span&gt;</p>
<p></span></div>
<p><script><!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>According to the XHTML 1.0 specification, you should not use &lt;span /&gt; but\u003cbr /\>&lt;span&gt;&lt;/span&gt;. More generally, in XHTML 1.0, the &lt;tagname /&gt; construct\u003cbr /\>should be used if and only if the element\&#8217;s content model is EMPTY, i.e.\u003cbr /\>no content is ever allowed by the syntax rules. Ref.:\u003cbr /\>\u003ca onclick\u003d\&#8221;return top.js.OpenExtLink(window,event,this)\&#8221; href\u003d\&#8221;http://www.w3.org/TR/xhtml1/#guidelines\&#8221; target\u003d_blank\><a href="http://www.w3.org/TR/xhtml1/" rel="nofollow">http://www.w3.org/TR/xhtml1/</a>\u003cwbr /\>#guidelines\u003c/a\>\u003cbr /\>(Technically, Appendix C is informative, not normative; but the XML 1.0\u003cbr /\>specification says: &quot;For interoperability, the empty-element tag SHOULD be\u003cbr /\>used, and SHOULD only be used, for elements which are declared EMPTY.&quot;\u003cbr /\>Ref.: \u003ca onclick\u003d\&#8221;return top.js.OpenExtLink(window,event,this)\&#8221; href\u003d\&#8221;http://www.w3.org/TR/REC-xml/#sec-starttags\&#8221; target\u003d_blank\><a href="http://www.w3.org/TR/REC-xml/" rel="nofollow">http://www.w3.org/TR/REC-xml/</a>\u003cwbr /\>#sec-starttags\u003c/a\> )\u003cbr /\>\u003cbr /\>What happens on IE is that the &quot;/&quot; in &lt;span /&gt; is ignored, treating it as\u003cbr /\>the lone start tag &lt;span&gt;. If you remove the &quot;/&quot; characters, IE 7 still\u003cbr /\>crashes.\u003cbr /\>\u003cbr /\>(IE does not understand XHTML. If you send XHTML to it labelled as\u003cbr /\>text/html, it will treat it as HTML, or rather the same way it treats\u003cbr /\>HTML.)\u003cbr /\>\u003c/div\>&#8221;,1]
);</p>
<p>//&#8211;></script>
<div style="direction: ltr;">According to the XHTML 1.0 specification, you should not use &lt;span /&gt; but<br />&lt;span&gt;&lt;/span&gt;. More generally, in XHTML 1.0, the &lt;tagname /&gt; construct<br />should be used if and only if the element&#8217;s content model is EMPTY, i.e.<br />no content is ever allowed by the syntax rules. Ref.:<br /><a target="_blank" href="http://www.w3.org/TR/xhtml1/#guidelines" onclick="return top.js.OpenExtLink(window,event,this)" rel="nofollow"></a><a href="http://www.w3.org/TR/xhtml1/" rel="nofollow">http://www.w3.org/TR/xhtml1/</a><wbr />#guidelines<br />(Technically, Appendix C is informative, not normative; but the XML 1.0<br />specification says: &quot;For interoperability, the empty-element tag SHOULD be<br />used, and SHOULD only be used, for elements which are declared EMPTY.&quot;<br />Ref.: <a target="_blank" href="http://www.w3.org/TR/REC-xml/#sec-starttags" onclick="return top.js.OpenExtLink(window,event,this)" rel="nofollow"></a><a href="http://www.w3.org/TR/REC-xml/" rel="nofollow">http://www.w3.org/TR/REC-xml/</a><wbr />#sec-starttags )</p>
<p>What happens on IE is that the &quot;/&quot; in &lt;span /&gt; is ignored, treating it as<br />the lone start tag &lt;span&gt;. If you remove the &quot;/&quot; characters, IE 7 still<br />crashes.</p>
<p>(IE does not understand XHTML. If you send XHTML to it labelled as<br />text/html, it will treat it as HTML, or rather the same way it treats<br />HTML.)</div>
<p><script><!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>\u003cspan class\u003dq\>\u003cbr /\>&gt; It doesn\&#8217;t crash if I only have 1 link.\u003cbr /\>\u003cbr /\>\u003c/span\>\u003c/div\>&#8221;,1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>I guess IE gets confused when it sees two &lt;span&gt; tags with no end tag for\u003cbr /\>either of them, though only when you ask it to apply your style sheet.\u003cbr /\>\u003cbr /\>&gt; Is &lt;span /&gt; illegal?\u003cbr /\>\u003cbr /\>Not in XHTML, but it should not be used in any context where your document\u003cbr /\>might be processed by old HTML browsers like IE.\u003cbr /\>\u003c/div\>",1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>\u003cspan class\u003dq\>\u003cbr /\>&gt; Why would this crash IE7?\u003cbr /\>\u003cbr /\>\u003c/span\>\u003c/div\>",1]
);
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>Who knows what really happens? But basically you have (when your document\u003cbr /\>is processed as HTML) two elements that need end tags but don\'t have them,\u003cbr /\>so it\'s not surprising that IE crashes when there are style sheets to be\u003cbr /\>applied to them.\u003cbr /\>\u003c/div\>",1]
);</p>
<p>//&#8211;></script>
<div style="direction: ltr;"><span class="q"><br />&gt; It doesn&#8217;t crash if I only have 1 link.</p>
<p></span></div>
<div style="direction: ltr;">I guess IE gets confused when it sees two &lt;span&gt; tags with no end tag for<br />either of them, though only when you ask it to apply your style sheet.</p>
<p>&gt; Is &lt;span /&gt; illegal?</p>
<p>Not in XHTML, but it should not be used in any context where your document<br />might be processed by old HTML browsers like IE.</div>
<div style="direction: ltr;"><span class="q"><br />&gt; Why would this crash IE7?</p>
<p></span></div>
<div style="direction: ltr;">Who knows what really happens? But basically you have (when your document<br />is processed as HTML) two elements that need end tags but don&#8217;t have them,<br />so it&#8217;s not surprising that IE crashes when there are style sheets to be<br />applied to them.</div>
<p><script><!--
D(["mb","\u003cdiv style\u003d\"direction:ltr\"\>\u003cspan class\u003dsg\>\u003cbr /\>&#8211;\u003cbr /\>Jukka &quot;Yucca&quot; Korpela, \u003ca onclick\u003d\&#8221;return top.js.OpenExtLink(window,event,this)\&#8221; href\u003d\&#8221;http://www.cs.tut.fi/~jkorpela/\&#8221; target\u003d_blank\><a href="http://www.cs.tut.fi/~jkorpela" rel="nofollow">http://www.cs.tut.fi/~jkorpela</a>\u003cwbr /\>/\u003c/a\>\u003cbr /\>\u003c/span\>\u003c/div\>&#8221;,1]
);</p>
<p>//&#8211;></script><span class="sg"><br />&#8211;<br />Jukka &quot;Yucca&quot; Korpela, <a target="_blank" href="http://www.cs.tut.fi/%7Ejkorpela/" onclick="return top.js.OpenExtLink(window,event,this)" rel="nofollow"></a><a href="http://www.cs.tut.fi/~jkorpela" rel="nofollow">http://www.cs.tut.fi/~jkorpela</a><wbr />/</span></p>
]]></content:encoded>
	</item>
</channel>
</rss>
