<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CSS Selectors as Fragment Identifiers Community Group</title>
	<atom:link href="http://www.w3.org/community/cssselfrags/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.w3.org/community/cssselfrags</link>
	<description></description>
	<lastBuildDate>Wed, 30 Jan 2013 00:41:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Separate specs for CSS selectors and Javascript DOM selectors</title>
		<link>http://www.w3.org/community/cssselfrags/2013/01/29/separate-specs-for-css-selectors-and-javascript-dom-selectors/</link>
		<comments>http://www.w3.org/community/cssselfrags/2013/01/29/separate-specs-for-css-selectors-and-javascript-dom-selectors/#comments</comments>
		<pubDate>Tue, 29 Jan 2013 09:00:15 +0000</pubDate>
		<dc:creator>Andrey Gubanov</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/cssselfrags/?p=11</guid>
		<description><![CDATA[Hi. I&#8217;m new here and I&#8217;d like to propose one important for me thing. I&#8217;m JS developer and I use jQuery for 2 years. Recently I tried to refuse of using it and use newest native things as querySelector. The &#8230; <a href="http://www.w3.org/community/cssselfrags/2013/01/29/separate-specs-for-css-selectors-and-javascript-dom-selectors/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Hi. I&#8217;m new here and I&#8217;d like to propose one important for me thing. I&#8217;m JS developer and I use jQuery for 2 years. Recently I tried to refuse of using it and use newest native things as querySelector.</p>
<p>The problem is that document.querySelector and document.querySelectorAll uses only selectors that described in specs for using in CSS. I&#8217;ve heard that next selector specs will include parent selector:<br />
For example &#8220;ul! &gt; li.active&#8221; &#8211; selects ul that includes li.active. My opinion is that this kind of selector is not flexible. As little example, how to select li that places in ul that contains li.active. In other words how to select siblings of li.active?<br />
The answer is we should have :has() pseudoclass:<br />
ul:has(li.active) &gt; li<br />
I&#8217;ve heard that it wasn&#8217;t implemented because of perfomance: http://snook.ca/archives/html_and_css/css-parent-selectors/ .</p>
<p>But if we use this selector in Javascript the problem disappears, because this query uses only once when developer needs to get element list. So why querySelector and querySelectorAll uses CSS selectors only? I&#8217;d like to have 2 cpecs: first is for using in CSS and second for using in JS (the first is subset of the second).</p>
<p>Idea can really help in JS DOM development, we&#8217;re haven&#8217;t use large and hardcoded DOM web spiders like jQuery.</p>
<p>Another very serious problem in querySelector is that we can&#8217;t select element itself. For example I want to get all children of the element. How can I do this?<br />
el.querySelectorAll( &#8216;&gt; *&#8217; );<br />
&#8230; doesn&#8217;t work<br />
But if we&#8217;ve got something like ::this pseudoelement we could reduce code line number and improve performance.</p>
<p>Don&#8217;t you think that CSS selectors very poor in Javascript development?</p>
<p>P. S. As I said I&#8217;m new here and registered to send this message to comunity. Sorry if this is not good place for it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/cssselfrags/2013/01/29/separate-specs-for-css-selectors-and-javascript-dom-selectors/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>:target</title>
		<link>http://www.w3.org/community/cssselfrags/2012/03/03/target/</link>
		<comments>http://www.w3.org/community/cssselfrags/2012/03/03/target/#comments</comments>
		<pubDate>Sat, 03 Mar 2012 12:43:54 +0000</pubDate>
		<dc:creator>Chris Lilley</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/cssselfrags/?p=6</guid>
		<description><![CDATA[I find myself wondering how :target would be handled, in a selectors fragment identifier. Well, I guess it always matches]]></description>
			<content:encoded><![CDATA[<p>I find myself wondering how :target would be handled, in a selectors fragment identifier. Well, I guess it always matches <img src='http://www.w3.org/community/cssselfrags/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/cssselfrags/2012/03/03/target/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Section 5.1</title>
		<link>http://www.w3.org/community/cssselfrags/2012/03/02/section-5-1/</link>
		<comments>http://www.w3.org/community/cssselfrags/2012/03/02/section-5-1/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 19:41:07 +0000</pubDate>
		<dc:creator>Eric Meyer</dc:creator>
				<category><![CDATA[Editorial Suggestion]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/cssselfrags/?p=4</guid>
		<description><![CDATA[A quick note that as of this post, section 5.1 starts: Selectors Level 3 [SELECT], is nearing specification completion and already has seen substantial adoption, following past development of Levels 1 and 2. There may eventually be Levels 4 and &#8230; <a href="http://www.w3.org/community/cssselfrags/2012/03/02/section-5-1/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>A quick note that as of this post, section 5.1 starts:</p>
<blockquote><p>Selectors Level 3 [<cite><a href="http://simonstl.com/articles/cssFragID.html#bib-SELECT" rel="biblioentry external nofollow">SELECT</a></cite>], is nearing specification completion and already has seen substantial adoption, following past development of Levels 1 and 2. There may eventually be Levels 4 and beyond, which will require more sophisticated processors.</p></blockquote>
<p>That was true when Section 5.1 was written, but obviously it’s out of date now.  I propose that we just drop those sentences, since the ones that follow are the real meat of the section and they aren’t bound any particular point in time.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/cssselfrags/2012/03/02/section-5-1/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.w3.org/community/cssselfrags/2012/03/02/hello-world/</link>
		<comments>http://www.w3.org/community/cssselfrags/2012/03/02/hello-world/#comments</comments>
		<pubDate>Fri, 02 Mar 2012 15:13:36 +0000</pubDate>
		<dc:creator>Ian Jacobs</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.w3.org/community/cssselfrags/?p=1</guid>
		<description><![CDATA[Welcome to Community and Business Groups. This is your first post. Edit or delete it, then start blogging!]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://www.w3.org/community/" rel="external nofollow">Community and Business Groups</a>. This is your first post. Edit or delete it, then start blogging!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3.org/community/cssselfrags/2012/03/02/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
