<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0.5" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: The :first-element selector crashes IE</title>
	<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/</link>
	<description>Utterly random, incoherent and disjointed rants and ramblings...</description>
	<pubDate>Sat, 10 Jan 2009 04:17:04 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.5</generator>

	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9385</link>
		<pubDate>Tue, 17 Jun 2008 17:33:50 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9385</guid>
					<description>Ah, good point. I forgot you can do the negation there. :P

Knowing my luck IE8 will be able to handle the *&#124; notation, but will still crash on :first-element. :(</description>
		<content:encoded><![CDATA[<p>Ah, good point. I forgot you can do the negation there. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_razz.gif" alt="P" class="wp-smiley" /> </p>
<p>Knowing my luck IE8 will be able to handle the *| notation, but will still crash on :first-element. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_sad.gif" alt="(" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: STop</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9384</link>
		<pubDate>Tue, 17 Jun 2008 16:58:54 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9384</guid>
					<description>Luke: I quite understand your concern about the maintainability issue.
Still, you could use the &lt;em&gt;negative condition&lt;/em&gt; &#60;!--[if !IE]&#62;--&#62; ("if NOT IE") to make IE &lt;strong&gt;ignore&lt;/strong&gt; any rules you wish... (which &lt;strong&gt;is&lt;/strong&gt; sort of opposite of what other conditional comments do :-P).
The trouble with CSS hacks, is that they usually end up skrewing something up in the next IE-release.</description>
		<content:encoded><![CDATA[<p>Luke: I quite understand your concern about the maintainability issue.<br />
Still, you could use the <em>negative condition</em> &lt;!&#8211;[if !IE]&gt;&#8211;&gt; (&#8221;if NOT IE&#8221;) to make IE <strong>ignore</strong> any rules you wish&#8230; (which <strong>is</strong> sort of opposite of what other conditional comments do <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_razz.gif" alt="-P" class="wp-smiley" /> ).<br />
The trouble with CSS hacks, is that they usually end up skrewing something up in the next IE-release.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9380</link>
		<pubDate>Tue, 17 Jun 2008 12:54:24 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9380</guid>
					<description>While the hacks vs conditional comments argument is indeed worth debating, I personally think this particular instance the hack is more valuable:

1. we want to apply a certain rule to everything but IE (sort of oposite of what conditional comments do)
2. if we use conditional comments, the rule will be applied, then overridden instead of just ignored
3. the IE specific style sheet will still be using the :first-element and will need to override the margin, padding, font size and other attributes
4. If you modify margin, padding and font size using the :first-element IE will crash - ego, IE specific stylesheet here is not the way to go

Also, I will argue that having the select few rules ignored is more maintainable than two separate style sheets since it keeps things in a single file.</description>
		<content:encoded><![CDATA[<p>While the hacks vs conditional comments argument is indeed worth debating, I personally think this particular instance the hack is more valuable:</p>
<p>1. we want to apply a certain rule to everything but IE (sort of oposite of what conditional comments do)<br />
2. if we use conditional comments, the rule will be applied, then overridden instead of just ignored<br />
3. the IE specific style sheet will still be using the :first-element and will need to override the margin, padding, font size and other attributes<br />
4. If you modify margin, padding and font size using the :first-element IE will crash - ego, IE specific stylesheet here is not the way to go</p>
<p>Also, I will argue that having the select few rules ignored is more maintainable than two separate style sheets since it keeps things in a single file.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: STop</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9379</link>
		<pubDate>Tue, 17 Jun 2008 11:53:03 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9379</guid>
					<description>These poor souls could run the portable version of Firefox from their USB-key, as I do right now!...

BTW: why use CSS hacks when you could use conditional comments? This method is IMHO more efficient for sorting out the different IE-versions, no? And it's kinda more self-documenting.</description>
		<content:encoded><![CDATA[<p>These poor souls could run the portable version of Firefox from their USB-key, as I do right now!&#8230;</p>
<p>BTW: why use CSS hacks when you could use conditional comments? This method is IMHO more efficient for sorting out the different IE-versions, no? And it&#8217;s kinda more self-documenting.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9377</link>
		<pubDate>Tue, 17 Jun 2008 05:05:49 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9377</guid>
					<description>Yeah, but I kinda like to be accessible to folks with IE also - you know, for example the poor souls who are not allowed to install Firefox on their work computer.</description>
		<content:encoded><![CDATA[<p>Yeah, but I kinda like to be accessible to folks with IE also - you know, for example the poor souls who are not allowed to install Firefox on their work computer.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Travis McCrea</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9374</link>
		<pubDate>Tue, 17 Jun 2008 03:35:08 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9374</guid>
					<description>I don't know if i posted this earlier or am just crazy (probably in your spam que I comment too much sorry):

When working on my personal site (a while ago  it was the blog.gp one) I just turned off stylesheets for Internet Explorer and made a big banner saying "YOU ARE USING INTERNET EXPLORER, SINCE YOUR BROWSER SUCKS YOU CAN ONLY VIEW MY CONTENT WITHOUT FORMATTING, PLEASE UPGRADE TO FIREFOX, OPERA, or FLOCK TODAY" 

:D it was great. 

I think it would be cool to have a web wide "Block IE Day" where all the websites who take part would block IE from their site for a day and redirect to firefox.com (shoulda done it on download day.. and planned this more out). Or even just what I did, and have a "MOON IE DAY" where we show IE our Naked 's</description>
		<content:encoded><![CDATA[<p>I don&#8217;t know if i posted this earlier or am just crazy (probably in your spam que I comment too much sorry):</p>
<p>When working on my personal site (a while ago  it was the blog.gp one) I just turned off stylesheets for Internet Explorer and made a big banner saying &#8220;YOU ARE USING INTERNET EXPLORER, SINCE YOUR BROWSER SUCKS YOU CAN ONLY VIEW MY CONTENT WITHOUT FORMATTING, PLEASE UPGRADE TO FIREFOX, OPERA, or FLOCK TODAY&#8221; </p>
<p>:D it was great. </p>
<p>I think it would be cool to have a web wide &#8220;Block IE Day&#8221; where all the websites who take part would block IE from their site for a day and redirect to firefox.com (shoulda done it on download day.. and planned this more out). Or even just what I did, and have a &#8220;MOON IE DAY&#8221; where we show IE our Naked &#8217;s
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9372</link>
		<pubDate>Tue, 17 Jun 2008 01:09:44 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9372</guid>
					<description>I could... But then I would have 2 style sheets to worry about. And two documents to fetch as the page is loading. It seems a bit cleaner this way.

Also, in this case I want IE to simply ignore this rule. If I created a second style sheet I would have to overwrite ALL the values I specified in that rule - meaning padding, margin, font size, color and etc... These are inherited from all over the place, and I'm not even sure what they should be. As you can see, the blockquotes in comments use a smaller font that the ones in the main body of the post.

Also, I would still be using the :first-element syntax in the IE stylesheet - which means it could still crash it. So I think the star-pipe hack is a better solution here.</description>
		<content:encoded><![CDATA[<p>I could&#8230; But then I would have 2 style sheets to worry about. And two documents to fetch as the page is loading. It seems a bit cleaner this way.</p>
<p>Also, in this case I want IE to simply ignore this rule. If I created a second style sheet I would have to overwrite ALL the values I specified in that rule - meaning padding, margin, font size, color and etc&#8230; These are inherited from all over the place, and I&#8217;m not even sure what they should be. As you can see, the blockquotes in comments use a smaller font that the ones in the main body of the post.</p>
<p>Also, I would still be using the :first-element syntax in the IE stylesheet - which means it could still crash it. So I think the star-pipe hack is a better solution here.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Travis McCrea</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9371</link>
		<pubDate>Tue, 17 Jun 2008 00:50:39 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9371</guid>
					<description>I was watching the live video on ustream all yesterday... its not "leaked" EA sent him a copy of it... 


in widly unrelated news:
You know.. you COULD just create a second stylesheet and do the &#60;!-- if[IE] - stylesheet --&#62;

Thing</description>
		<content:encoded><![CDATA[<p>I was watching the live video on ustream all yesterday&#8230; its not &#8220;leaked&#8221; EA sent him a copy of it&#8230; </p>
<p>in widly unrelated news:<br />
You know.. you COULD just create a second stylesheet and do the &lt;!&#8211; if[IE] - stylesheet &#8211;&gt;</p>
<p>Thing
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Luke Maciak</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9369</link>
		<pubDate>Mon, 16 Jun 2008 19:11:06 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9369</guid>
					<description>[quote post="2522"]Hehe, I like the fact that, in the eyes of the almighty search engines, you’ve created a weak link between the phrase “Joel Spolsky is such a fucking tool” and his website.[/quote]

Actually, I linked to my own post. I guess I wasted a pretty good opportunity to googlebomb Joel there. :(

[quote post="2522"]In widly unrelated news, the trial version of the Creature Creator from Spore got leaked onto the net a day early. No money to be saved since it’s just the trial, but it’s here now.. not tomorrow, now! … NOW![/quote]

LOL. So much for the draconian DRM they were planning to put on top of Spore. :P</description>
		<content:encoded><![CDATA[<blockquote cite="http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/"><p>
Hehe, I like the fact that, in the eyes of the almighty search engines, you’ve created a weak link between the phrase “Joel Spolsky is such a fucking tool” and his website.</p>
</blockquote>
<p>Actually, I linked to my own post. I guess I wasted a pretty good opportunity to googlebomb Joel there. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_sad.gif" alt="(" class="wp-smiley" /> </p>
<blockquote cite="http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/"><p>
In widly unrelated news, the trial version of the Creature Creator from Spore got leaked onto the net a day early. No money to be saved since it’s just the trial, but it’s here now.. not tomorrow, now! … NOW!</p>
</blockquote>
<p>LOL. So much for the draconian DRM they were planning to put on top of Spore. <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_razz.gif" alt="P" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Matt`</title>
		<link>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9368</link>
		<pubDate>Mon, 16 Jun 2008 18:50:02 +0000</pubDate>
		<guid>http://www.terminally-incoherent.com/blog/2008/06/16/the-first-element-selector-crashes-ie/#comment-9368</guid>
					<description>Hehe, I like the fact that, in the eyes of the almighty search engines, you've created a weak link between the phrase "Joel Spolsky is such a fucking tool" and his website.  :lol:

To be perfectly honest, no surprises here - some new random code snippet that IE chokes on... nothing new.

In widly unrelated news, the trial version of the Creature Creator from Spore got leaked onto the net a day early. No money to be saved since it's just the trial, but it's here now.. not tomorrow, now!  ...  NOW!  :mrgreen:</description>
		<content:encoded><![CDATA[<p>Hehe, I like the fact that, in the eyes of the almighty search engines, you&#8217;ve created a weak link between the phrase &#8220;Joel Spolsky is such a fucking tool&#8221; and his website.   <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_lol.gif" alt="lol" class="wp-smiley" /> </p>
<p>To be perfectly honest, no surprises here - some new random code snippet that IE chokes on&#8230; nothing new.</p>
<p>In widly unrelated news, the trial version of the Creature Creator from Spore got leaked onto the net a day early. No money to be saved since it&#8217;s just the trial, but it&#8217;s here now.. not tomorrow, now!  &#8230;  NOW!   <img src="http://www.terminally-incoherent.com/blog/wp-includes/images/smilies/icon_mrgreen.gif" alt="mrgreen" class="wp-smiley" />
</p>
]]></content:encoded>
				</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 1.395 seconds -->
