<?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: The CSS3 :not() selector</title>
	<atom:link href="http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/feed/" rel="self" type="application/rss+xml" />
	<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 15:34:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Conrad Damon</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-2/#comment-167521</link>
		<dc:creator>Conrad Damon</dc:creator>
		<pubDate>Tue, 07 Feb 2012 00:04:50 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-167521</guid>
		<description>Any plans for supporting combinators? I&#039;d like to be able to perform a selection such as &quot;all TDs that are not descendants of a DIV with class name &#039;foo&#039;&quot;. That request has also been framed as &quot;turning off&quot; styles that were selected at a more general level, so that you can revert to browser defaults.</description>
		<content:encoded><![CDATA[<p>Any plans for supporting combinators? I&#8217;d like to be able to perform a selection such as &#8220;all TDs that are not descendants of a DIV with class name &#8216;foo&#8217;&#8221;. That request has also been framed as &#8220;turning off&#8221; styles that were selected at a more general level, so that you can revert to browser defaults.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BoltClock</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-2/#comment-164654</link>
		<dc:creator>BoltClock</dc:creator>
		<pubDate>Wed, 25 Jan 2012 15:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-164654</guid>
		<description>This is a really old article, but I&#039;d like to specifically address the &lt;code&gt;:not()&lt;/code&gt; pseudo-class accepting a comma-separated list of selectors, because people are still citing it today.

You&#039;re right in that it&#039;s not documented in the CSS3 spec. The reason why it works in Firefox 3 is because it&#039;s a bug. I&#039;m not sure when the bug was fixed — it could be either in Firefox 3.1 or Firefox 3.5 — but it&#039;s still nothing but a bug in Firefox 3.0. I haven&#039;t seen any version of any other browser exhibit this bug.

As a side note, the CSS working group has proposed an extension to the &lt;code&gt;:not()&lt;/code&gt; pseudo-class in CSS4 that &lt;em&gt;will&lt;/em&gt; let it accept a comma-separated list of simple selectors. It&#039;s probably just a matter of time before it gets implemented, but in the meantime, the current version of &lt;code&gt;:not()&lt;/code&gt; should not accept a comma-separated selector list in any current browser.</description>
		<content:encoded><![CDATA[<p>This is a really old article, but I&#8217;d like to specifically address the <code>:not()</code> pseudo-class accepting a comma-separated list of selectors, because people are still citing it today.</p>
<p>You&#8217;re right in that it&#8217;s not documented in the CSS3 spec. The reason why it works in Firefox 3 is because it&#8217;s a bug. I&#8217;m not sure when the bug was fixed — it could be either in Firefox 3.1 or Firefox 3.5 — but it&#8217;s still nothing but a bug in Firefox 3.0. I haven&#8217;t seen any version of any other browser exhibit this bug.</p>
<p>As a side note, the CSS working group has proposed an extension to the <code>:not()</code> pseudo-class in CSS4 that <em>will</em> let it accept a comma-separated list of simple selectors. It&#8217;s probably just a matter of time before it gets implemented, but in the meantime, the current version of <code>:not()</code> should not accept a comma-separated selector list in any current browser.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adamo Maisano</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-2/#comment-151358</link>
		<dc:creator>Adamo Maisano</dc:creator>
		<pubDate>Mon, 05 Dec 2011 20:10:37 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-151358</guid>
		<description>The :not() selector is key to avoiding dishing out webfonts to certain mobile browsers that do not support them. It&#039;s a fringe case, but all Android 2.1 browsers will not render any type of webfont. That doesn&#039;t stop them from loading them however (and preventing the text from showing up at all until loaded), so I&#039;ve used a UA tag in the body, &quot;.android21,&quot; and the body:not(.android21) rule to only send non Android 2.1 browsers the referenced name for my webfont. Android 2.1 gets the default font immediately, whether that&#039;s set by the UA default style sheet, or a previous rule in the CSS file :)</description>
		<content:encoded><![CDATA[<p>The :not() selector is key to avoiding dishing out webfonts to certain mobile browsers that do not support them. It&#8217;s a fringe case, but all Android 2.1 browsers will not render any type of webfont. That doesn&#8217;t stop them from loading them however (and preventing the text from showing up at all until loaded), so I&#8217;ve used a UA tag in the body, &#8220;.android21,&#8221; and the body:not(.android21) rule to only send non Android 2.1 browsers the referenced name for my webfont. Android 2.1 gets the default font immediately, whether that&#8217;s set by the UA default style sheet, or a previous rule in the CSS file :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DissidentRage</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-2/#comment-150758</link>
		<dc:creator>DissidentRage</dc:creator>
		<pubDate>Fri, 02 Dec 2011 15:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-150758</guid>
		<description>The :not() selector is VERY handy for CSS-only menus. It allows you to add sub-menus without use of Javascript or additional blocks of CSS for each level of sub-menu.

.menu ul {
	display: none;
	visibility: hidden;
}
.menu li:hover ul {
	display: block;
	visibility: visible;
}
.menu li:hover ul li:not(:hover) ul {
	display: none;
	visibility: visible;
}</description>
		<content:encoded><![CDATA[<p>The :not() selector is VERY handy for CSS-only menus. It allows you to add sub-menus without use of Javascript or additional blocks of CSS for each level of sub-menu.</p>
<p>.menu ul {<br />
	display: none;<br />
	visibility: hidden;<br />
}<br />
.menu li:hover ul {<br />
	display: block;<br />
	visibility: visible;<br />
}<br />
.menu li:hover ul li:not(:hover) ul {<br />
	display: none;<br />
	visibility: visible;<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: HTML 5 Details Element Enabler &#171; WeMakeSites.NET &#124; CSS3, HTML5, JavaScript, AJAX and More</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-1/#comment-142441</link>
		<dc:creator>HTML 5 Details Element Enabler &#171; WeMakeSites.NET &#124; CSS3, HTML5, JavaScript, AJAX and More</dc:creator>
		<pubDate>Fri, 28 Oct 2011 19:23:49 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-142441</guid>
		<description>[...] using the :not() selector we make sure that if the open attribute is added by default to the &lt;details /&gt; [...]</description>
		<content:encoded><![CDATA[<p>[...] using the :not() selector we make sure that if the open attribute is added by default to the &lt;details /&gt; [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How To Use CSS Combinators and Simple Pseudo Class Selectors &#124; Van SEO Design</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-1/#comment-132978</link>
		<dc:creator>How To Use CSS Combinators and Simple Pseudo Class Selectors &#124; Van SEO Design</dc:creator>
		<pubDate>Mon, 19 Sep 2011 12:32:49 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-132978</guid>
		<description>[...] negation pseudo-class does what you might expect. Adding it selects everything other than the selector being [...]</description>
		<content:encoded><![CDATA[<p>[...] negation pseudo-class does what you might expect. Adding it selects everything other than the selector being [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shout</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-1/#comment-131717</link>
		<dc:creator>Shout</dc:creator>
		<pubDate>Tue, 13 Sep 2011 18:57:52 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-131717</guid>
		<description>Thank you ^^</description>
		<content:encoded><![CDATA[<p>Thank you ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 60 Excellent CSS3 Tutorials and Techniques You Should Know &#171; Dg3World</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-1/#comment-125601</link>
		<dc:creator>60 Excellent CSS3 Tutorials and Techniques You Should Know &#171; Dg3World</dc:creator>
		<pubDate>Fri, 19 Aug 2011 21:18:55 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-125601</guid>
		<description>[...] The CSS3 :not() selector [...]</description>
		<content:encoded><![CDATA[<p>[...] The CSS3 :not() selector [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hello Inbox, An Email Marketing Blog by Email Marketing Service Provider, EmailDirect.&#187; Blog Archive &#187; Hold The Phone &#8211; A Look at Designing for Smartphones</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-1/#comment-114179</link>
		<dc:creator>Hello Inbox, An Email Marketing Blog by Email Marketing Service Provider, EmailDirect.&#187; Blog Archive &#187; Hold The Phone &#8211; A Look at Designing for Smartphones</dc:creator>
		<pubDate>Wed, 29 Jun 2011 19:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-114179</guid>
		<description>[...] So now what? From my research, I found a couple methods like using attribute selectors and the “div:not” property.  The div:not property breaks the mobile version on the iPhone.  Attribute selectors [...]</description>
		<content:encoded><![CDATA[<p>[...] So now what? From my research, I found a couple methods like using attribute selectors and the “div:not” property.  The div:not property breaks the mobile version on the iPhone.  Attribute selectors [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Wehr</title>
		<link>http://kilianvalkhof.com/2008/css-xhtml/the-css3-not-selector/comment-page-1/#comment-72006</link>
		<dc:creator>Nathan Wehr</dc:creator>
		<pubDate>Wed, 17 Nov 2010 14:18:54 +0000</pubDate>
		<guid isPermaLink="false">http://kilianvalkhof.com/?p=135#comment-72006</guid>
		<description>One things I&#039;ve noticed that doesn&#039;t seem to work is this:

div:not( div:first-child )</description>
		<content:encoded><![CDATA[<p>One things I&#8217;ve noticed that doesn&#8217;t seem to work is this:</p>
<p>div:not( div:first-child )</p>
]]></content:encoded>
	</item>
</channel>
</rss>

