<?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 for Paul Irish</title>
	<atom:link href="http://paulirish.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://paulirish.com</link>
	<description>I make the www fun.</description>
	<lastBuildDate>Mon, 21 May 2012 07:22:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-alpha-20291</generator>
	<item>
		<title>Comment on Avoiding the FOUC v3.0 by How do I create a jquery function that will override my css hover while javascript is enabled? &#124; Easy jQuery &#124; Free Popular Tips Tricks Plugins API Javascript and Themes</title>
		<link>http://paulirish.com/2009/avoiding-the-fouc-v3/#comment-115563</link>
		<dc:creator>How do I create a jquery function that will override my css hover while javascript is enabled? &#124; Easy jQuery &#124; Free Popular Tips Tricks Plugins API Javascript and Themes</dc:creator>
		<pubDate>Mon, 21 May 2012 07:22:48 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=411#comment-115563</guid>
		<description>[...] : http://paulirish.com/2009/avoiding-the-fouc-v3/ for more [...]</description>
		<content:encoded><![CDATA[<p>[...] : <a href="http://paulirish.com/2009/avoiding-the-fouc-v3/" rel="nofollow">http://paulirish.com/2009/avoiding-the-fouc-v3/</a> for more [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debounced resize() jQuery plugin by window.resize in jquery firing multiple times &#124; Easy jQuery &#124; Free Popular Tips Tricks Plugins API Javascript and Themes</title>
		<link>http://paulirish.com/2009/throttled-smartresize-jquery-event-handler/#comment-115560</link>
		<dc:creator>window.resize in jquery firing multiple times &#124; Easy jQuery &#124; Free Popular Tips Tricks Plugins API Javascript and Themes</dc:creator>
		<pubDate>Mon, 21 May 2012 06:57:36 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=300#comment-115560</guid>
		<description>[...] You got it, some browsers fire on resize start and again on end while others like FF fire continuously. Solution is to use setTimeout to avoid firing all the time. An example can be found here. [...]</description>
		<content:encoded><![CDATA[<p>[...] You got it, some browsers fire on resize start and again on end while others like FF fire continuously. Solution is to use setTimeout to avoid firing all the time. An example can be found here. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Things I Learned from the jQuery Source by Vinch</title>
		<link>http://paulirish.com/2010/10-things-i-learned-from-the-jquery-source/#comment-115429</link>
		<dc:creator>Vinch</dc:creator>
		<pubDate>Sat, 19 May 2012 17:51:40 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=814#comment-115429</guid>
		<description>Interesting fact here: http://cl.ly/0Q1I410M1s0n2z383J2X
Only class and for are quoted because they are reserved words in JavaScript (even though class is useless right now and is reserved for a possible future use...)
My 2 cents.</description>
		<content:encoded><![CDATA[<p>Interesting fact here: <a href="http://cl.ly/0Q1I410M1s0n2z383J2X" rel="nofollow">http://cl.ly/0Q1I410M1s0n2z383J2X</a><br />
Only class and for are quoted because they are reserved words in JavaScript (even though class is useless right now and is reserved for a possible future use&#8230;)<br />
My 2 cents.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on * { box-sizing: border-box } FTW by karthipanraj</title>
		<link>http://paulirish.com/2012/box-sizing-border-box-ftw/#comment-115414</link>
		<dc:creator>karthipanraj</dc:creator>
		<pubDate>Sat, 19 May 2012 10:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=1429#comment-115414</guid>
		<description>Really Nice post and comments. More Informative</description>
		<content:encoded><![CDATA[<p>Really Nice post and comments. More Informative</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Cornify Konami easter egg plugin with jQuery by Konami Edit: a jQuery plugin for [Contenteditable] &#124; Frank M Taylor</title>
		<link>http://paulirish.com/2009/cornify-easter-egg-with-jquery/#comment-115387</link>
		<dc:creator>Konami Edit: a jQuery plugin for [Contenteditable] &#124; Frank M Taylor</dc:creator>
		<pubDate>Sat, 19 May 2012 00:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/2009/cornify-easter-egg-with-jquery/#comment-115387</guid>
		<description>[...] that, you activate the plugin with the Konami Cheat. I&#8217;ll freely admit that I&#8217;m usingPaul Irish&#8217;s code that he wrote for a Cornify easter egg a few years ago. Type the Konami cheat, and then double-click any element you want to edit [...]</description>
		<content:encoded><![CDATA[<p>[...] that, you activate the plugin with the Konami Cheat. I&#039;ll freely admit that I&#039;m usingPaul Irish&#039;s code that he wrote for a Cornify easter egg a few years ago. Type the Konami cheat, and then double-click any element you want to edit [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Conditional stylesheets vs CSS hacks? Answer: Neither! by Paul Hagan</title>
		<link>http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/#comment-115347</link>
		<dc:creator>Paul Hagan</dc:creator>
		<pubDate>Fri, 18 May 2012 10:17:58 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/#comment-115347</guid>
		<description>Just found what might be a fiddly little bug with this trick in IE on Windows Phone.

For whatever reason it appears that it causes the browser to ignore and/or incorrectly interpret CSS media queries. Some kind of Quirks Mode issue? Who knows. Anyway – couple of examples…

Page without the trick. H1 should have a blue background on small screens, and red on larger screens. Works fine on all browsers including IE9 windows phone.

http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-no-trick.html

Page with the  IE class trick applied – H1 gets no background colour at all. Very odd.

http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-html-trick.html

Page with the  IE class trick moved to the  tag instead, and everything is back to working fine.

http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-html-trick-on-body.html

This is a basic example, but since adding a Windows Phone to my testing kit it’s shown me that basically all my responsive sites that use this approach are knackered on windows phone – although interestingly, respond.js seems to fix it if it’s present…

I know Windows Phone is only a small market share at the moment, and I’m not particularly a fan of it myself, but it does a pretty good job of rendering responsive sites that don’t use this approach so would be a</description>
		<content:encoded><![CDATA[<p>Just found what might be a fiddly little bug with this trick in IE on Windows Phone.</p>
<p>For whatever reason it appears that it causes the browser to ignore and/or incorrectly interpret CSS media queries. Some kind of Quirks Mode issue? Who knows. Anyway – couple of examples…</p>
<p>Page without the trick. H1 should have a blue background on small screens, and red on larger screens. Works fine on all browsers including IE9 windows phone.</p>
<p><a href="http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-no-trick.html" rel="nofollow">http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-no-trick.html</a></p>
<p>Page with the  IE class trick applied – H1 gets no background colour at all. Very odd.</p>
<p><a href="http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-html-trick.html" rel="nofollow">http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-html-trick.html</a></p>
<p>Page with the  IE class trick moved to the  tag instead, and everything is back to working fine.</p>
<p><a href="http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-html-trick-on-body.html" rel="nofollow">http://dl.dropbox.com/u/2042220/open-day/windows-mobile-test-html-trick-on-body.html</a></p>
<p>This is a basic example, but since adding a Windows Phone to my testing kit it’s shown me that basically all my responsive sites that use this approach are knackered on windows phone – although interestingly, respond.js seems to fix it if it’s present…</p>
<p>I know Windows Phone is only a small market share at the moment, and I’m not particularly a fan of it myself, but it does a pretty good job of rendering responsive sites that don’t use this approach so would be a</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on * { box-sizing: border-box } FTW by alo</title>
		<link>http://paulirish.com/2012/box-sizing-border-box-ftw/#comment-115308</link>
		<dc:creator>alo</dc:creator>
		<pubDate>Thu, 17 May 2012 22:28:23 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=1429#comment-115308</guid>
		<description>Chrome 19 breaks box-sizing: border-box when the following style is used:  &#039;display: table; table-layout: fixed&#039;

http://code.google.com/p/chromium/issues/detail?id=124816</description>
		<content:encoded><![CDATA[<p>Chrome 19 breaks box-sizing: border-box when the following style is used:  &#039;display: table; table-layout: fixed&#039;</p>
<p><a href="http://code.google.com/p/chromium/issues/detail?id=124816" rel="nofollow">http://code.google.com/p/chromium/issues/detail?id=124816</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Talk: Tooling &amp; The Webapp Development Stack by Micah</title>
		<link>http://paulirish.com/2012/talk-tooling-the-webapp-development-stack/#comment-115240</link>
		<dc:creator>Micah</dc:creator>
		<pubDate>Thu, 17 May 2012 00:23:50 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=1510#comment-115240</guid>
		<description>My stack:
HTML5Boilerplate
Jade, Sass, Compass, Susy
jQuery
Coda, Codekit (which includes linting, minify, contatination and image optimization), Chrome
MAMP, Github</description>
		<content:encoded><![CDATA[<p>My stack:<br />
HTML5Boilerplate<br />
Jade, Sass, Compass, Susy<br />
jQuery<br />
Coda, Codekit (which includes linting, minify, contatination and image optimization), Chrome<br />
MAMP, Github</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on @font-face gotchas by i believe in concept</title>
		<link>http://paulirish.com/2010/font-face-gotchas/#comment-115227</link>
		<dc:creator>i believe in concept</dc:creator>
		<pubDate>Wed, 16 May 2012 19:53:15 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=588#comment-115227</guid>
		<description>[...] Paul Irish&#8217;s article   (This article also appears on &#8220;I Believe In Design&#8221;)   This entry was posted in Web Design. Bookmark the permalink.    &#8592; Branding the Home Tour [...]</description>
		<content:encoded><![CDATA[<p>[...] Paul Irish&#039;s article   (This article also appears on &#034;I Believe In Design&#034;)   This entry was posted in Web Design. Bookmark the permalink.    &larr; Branding the Home Tour [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Talk: Tooling &amp; The Webapp Development Stack by Aaron Barker</title>
		<link>http://paulirish.com/2012/talk-tooling-the-webapp-development-stack/#comment-115207</link>
		<dc:creator>Aaron Barker</dc:creator>
		<pubDate>Wed, 16 May 2012 14:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=1510#comment-115207</guid>
		<description>Was cool to see the quick history of the tools. I helped make a tool to inspect the DOM in 2004 that was pretty spiffy for the time.

http://slayeroffice.com/?c=/content/tools/modi.html

Not sure how popular it was, but sure saved me hours of debugging time and predated the one you listed from 2006 :)</description>
		<content:encoded><![CDATA[<p>Was cool to see the quick history of the tools. I helped make a tool to inspect the DOM in 2004 that was pretty spiffy for the time.</p>
<p><a href="http://slayeroffice.com/?c=/content/tools/modi.html" rel="nofollow">http://slayeroffice.com/?c=/content/tools/modi.html</a></p>
<p>Not sure how popular it was, but sure saved me hours of debugging time and predated the one you listed from 2006 :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on 10 Things I Learned from the jQuery Source by Pierre</title>
		<link>http://paulirish.com/2010/10-things-i-learned-from-the-jquery-source/#comment-114961</link>
		<dc:creator>Pierre</dc:creator>
		<pubDate>Sat, 12 May 2012 16:03:51 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=814#comment-114961</guid>
		<description>Question about the &quot;asynchronous recursion&quot;: isn&#039;t this creating infinitely deep stack traces? (since we&#039;re never leaving the current context frame when calling the function again) And would this potentially cause problems?</description>
		<content:encoded><![CDATA[<p>Question about the &#034;asynchronous recursion&#034;: isn&#039;t this creating infinitely deep stack traces? (since we&#039;re never leaving the current context frame when calling the function again) And would this potentially cause problems?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Talk: Tooling &amp; The Webapp Development Stack by Nick Knowlson</title>
		<link>http://paulirish.com/2012/talk-tooling-the-webapp-development-stack/#comment-114821</link>
		<dc:creator>Nick Knowlson</dc:creator>
		<pubDate>Thu, 10 May 2012 22:17:05 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=1510#comment-114821</guid>
		<description>Anyone know where those two charts that showed and organized a bunch of javascript libraries are at? There was one that had a lot of them, and then a smaller one by someone from Dojo.</description>
		<content:encoded><![CDATA[<p>Anyone know where those two charts that showed and organized a bunch of javascript libraries are at? There was one that had a lot of them, and then a smaller one by someone from Dojo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on How to fulfill your own feature request -or- Duck Punching with jQuery! by Brian</title>
		<link>http://paulirish.com/2010/duck-punching-with-jquery/#comment-114796</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 10 May 2012 15:34:07 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=629#comment-114796</guid>
		<description>&lt;a href=&quot;#comment-110759&quot; rel=&quot;nofollow&quot;&gt;@JDub&lt;/a&gt; 
I&#039;ve run into this specific issue when using the jQuery UI tabs. Our solution was to wrap the code in a try..catch, ala:

&lt;pre lang=&quot;javascript&quot;&gt;
(function($){
    var _old = $.unique;
    $.unique = function(arr){ 
        // do the default behavior only if we got an array of elements
    	try {
	        if (!!arr[0].nodeType){
	            return _old.apply(this,arguments);
	        } else {
	            // reduce the array to contain no dupes via grep/inArray
	            return $.grep(arr,function(v,k){
	                return $.inArray(v,arr) === k;
	            });
	        }
    	}
    	catch (e){
    		return _old.apply(this,arguments);
    	}
    };
})(jQuery);
&lt;/pre&gt;
This way, if there is any failure in the punched duck, the original code is run regardless...</description>
		<content:encoded><![CDATA[<p><a href="#comment-110759" rel="nofollow">@JDub</a><br />
I&#039;ve run into this specific issue when using the jQuery UI tabs. Our solution was to wrap the code in a try..catch, ala:</p>

<div class="wp_syntax"><div class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #009900;">&#40;</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>$<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    <span style="color: #003366; font-weight: bold;">var</span> _old <span style="color: #339933;">=</span> $.<span style="color: #660066;">unique</span><span style="color: #339933;">;</span>
    $.<span style="color: #660066;">unique</span> <span style="color: #339933;">=</span> <span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>arr<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span> 
        <span style="color: #006600; font-style: italic;">// do the default behavior only if we got an array of elements</span>
    	<span style="color: #000066; font-weight: bold;">try</span> <span style="color: #009900;">&#123;</span>
	        <span style="color: #000066; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">!!</span>arr<span style="color: #009900;">&#91;</span><span style="color: #CC0000;">0</span><span style="color: #009900;">&#93;</span>.<span style="color: #660066;">nodeType</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	            <span style="color: #000066; font-weight: bold;">return</span> _old.<span style="color: #660066;">apply</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span>arguments<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	        <span style="color: #009900;">&#125;</span> <span style="color: #000066; font-weight: bold;">else</span> <span style="color: #009900;">&#123;</span>
	            <span style="color: #006600; font-style: italic;">// reduce the array to contain no dupes via grep/inArray</span>
	            <span style="color: #000066; font-weight: bold;">return</span> $.<span style="color: #660066;">grep</span><span style="color: #009900;">&#40;</span>arr<span style="color: #339933;">,</span><span style="color: #003366; font-weight: bold;">function</span><span style="color: #009900;">&#40;</span>v<span style="color: #339933;">,</span>k<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
	                <span style="color: #000066; font-weight: bold;">return</span> $.<span style="color: #660066;">inArray</span><span style="color: #009900;">&#40;</span>v<span style="color: #339933;">,</span>arr<span style="color: #009900;">&#41;</span> <span style="color: #339933;">===</span> k<span style="color: #339933;">;</span>
	            <span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
	        <span style="color: #009900;">&#125;</span>
    	<span style="color: #009900;">&#125;</span>
    	<span style="color: #000066; font-weight: bold;">catch</span> <span style="color: #009900;">&#40;</span>e<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#123;</span>
    		<span style="color: #000066; font-weight: bold;">return</span> _old.<span style="color: #660066;">apply</span><span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">this</span><span style="color: #339933;">,</span>arguments<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    	<span style="color: #009900;">&#125;</span>
    <span style="color: #009900;">&#125;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>jQuery<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>This way, if there is any failure in the punched duck, the original code is run regardless&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Conditional stylesheets vs CSS hacks? Answer: Neither! by Frank Stallone</title>
		<link>http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/#comment-114783</link>
		<dc:creator>Frank Stallone</dc:creator>
		<pubDate>Thu, 10 May 2012 12:41:03 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/#comment-114783</guid>
		<description>&lt;a href=&quot;#comment-114642&quot; rel=&quot;nofollow&quot;&gt;@Stolice&lt;/a&gt; No problem. Note that I did not include a .ie6 because the conditional comment was for less than (or later than, however you interpret it) ie7. A class of .lt-ie7 works just fine here in this case. I am pretty satisfied with this solution and would be interested in seeing how it could be improved in the future.</description>
		<content:encoded><![CDATA[<p><a href="#comment-114642" rel="nofollow">@Stolice</a> No problem. Note that I did not include a .ie6 because the conditional comment was for less than (or later than, however you interpret it) ie7. A class of .lt-ie7 works just fine here in this case. I am pretty satisfied with this solution and would be interested in seeing how it could be improved in the future.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on * { box-sizing: border-box } FTW by Edson</title>
		<link>http://paulirish.com/2012/box-sizing-border-box-ftw/#comment-114780</link>
		<dc:creator>Edson</dc:creator>
		<pubDate>Thu, 10 May 2012 11:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://paulirish.com/?p=1429#comment-114780</guid>
		<description>&lt;a href=&quot;#comment-114776&quot; rel=&quot;nofollow&quot;&gt;@Tiery&lt;/a&gt; Thank you Tiery! I didn&#039;t realize that &quot;border-box&quot; also affect the height of an element. I appreciate your tip!</description>
		<content:encoded><![CDATA[<p><a href="#comment-114776" rel="nofollow">@Tiery</a> Thank you Tiery! I didn&#039;t realize that &#034;border-box&#034; also affect the height of an element. I appreciate your tip!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

