<?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: Check whether a CSS property is supported</title>
	<atom:link href="http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/feed/" rel="self" type="application/rss+xml" />
	<link>http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/</link>
	<description>Life at the bleeding edge (of web standards)</description>
	<lastBuildDate>Fri, 10 Feb 2012 07:25:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Lea Verou</title>
		<link>http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/#comment-86</link>
		<dc:creator>Lea Verou</dc:creator>
		<pubDate>Thu, 26 Mar 2009 04:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://leaverou.me/?p=3#comment-86</guid>
		<description>You&#039;re right about document.documentElement. I thought that in IE6- Quirks mode it had issues, but as it turns out, it works fine for this case at least.

I also hadn&#039;t thought about the case of intrinsic event handlers.

Good points, thank you. :)</description>
		<content:encoded><![CDATA[<p>You&#8217;re right about document.documentElement. I thought that in IE6- Quirks mode it had issues, but as it turns out, it works fine for this case at least.</p>
<p>I also hadn&#8217;t thought about the case of intrinsic event handlers.</p>
<p>Good points, thank you. <img src='http://lea.verou.me/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kangax</title>
		<link>http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/#comment-85</link>
		<dc:creator>kangax</dc:creator>
		<pubDate>Thu, 26 Mar 2009 03:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://leaverou.me/?p=3#comment-85</guid>
		<description>I would recommend to *always* use `document.documentElement` (i.e. HTML element) instead of `document.body` (for the exactly the reasons you mention), or explicitly create a dummy element, remembering to `null` it afterwords.

`document.documentElement` is *always present* at the time of script execution, as long as browser implements DOM L1 (if I&#039;m not mistaken). 

And, btw, SCRIPT element *can* be missing if script is executed as part of an intrinsic event handler ; )


&lt;body onload=&quot;alert(document.getElementsByTagName(&#039;script&#039;)[0])&quot;&gt;
  ...
&lt;/body&gt;
</description>
		<content:encoded><![CDATA[<p>I would recommend to *always* use `document.documentElement` (i.e. HTML element) instead of `document.body` (for the exactly the reasons you mention), or explicitly create a dummy element, remembering to `null` it afterwords.</p>
<p>`document.documentElement` is *always present* at the time of script execution, as long as browser implements DOM L1 (if I&#8217;m not mistaken). </p>
<p>And, btw, SCRIPT element *can* be missing if script is executed as part of an intrinsic event handler ; )</p>
<p>&lt;body onload=&#8221;alert(document.getElementsByTagName(&#8216;script&#8217;)[0])&#8221;&gt;<br />
  &#8230;<br />
&lt;/body&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Check whether the browser supports RGBA (and other CSS3 values) &#171; Lea Verou</title>
		<link>http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/#comment-15</link>
		<dc:creator>Check whether the browser supports RGBA (and other CSS3 values) &#171; Lea Verou</dc:creator>
		<pubDate>Sun, 01 Mar 2009 14:45:27 +0000</pubDate>
		<guid isPermaLink="false">http://leaverou.me/?p=3#comment-15</guid>
		<description>[...] since we can easily check whether the browser is RGBA-capable, almost as easily as we can check whether it suppports a given property. We can even follow the same technique to detect the support of other CSS3 values (for instance, [...]</description>
		<content:encoded><![CDATA[<p>[...] since we can easily check whether the browser is RGBA-capable, almost as easily as we can check whether it suppports a given property. We can even follow the same technique to detect the support of other CSS3 values (for instance, [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Things you should know when not using a JS library &#171; Lea Verou</title>
		<link>http://lea.verou.me/2009/02/check-if-a-css-property-is-supported/#comment-7</link>
		<dc:creator>Things you should know when not using a JS library &#171; Lea Verou</dc:creator>
		<pubDate>Sun, 22 Feb 2009 01:23:32 +0000</pubDate>
		<guid isPermaLink="false">http://leaverou.me/?p=3#comment-7</guid>
		<description>[...] is an exception: It&#8217;s converted to cssFloat in most browsers and styleFloat in IE. Check which one exists and use [...]</description>
		<content:encoded><![CDATA[<p>[...] is an exception: It&#8217;s converted to cssFloat in most browsers and styleFloat in IE. Check which one exists and use [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

