<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -274,6 +274,38 @@
 
 					},										
 
+
+    				test_direct_descendant_combinator: function () {
+
+                        var matchID = null;
+
+                        Event.delegate(&quot;list-2&quot;, &quot;click&quot;, function (e, matchedEl, container) {
+                            matchID = matchedEl.id;
+                        }, &quot;&gt;li&quot;);				    
+    					
+    					UserAction.click(Dom.get('list-3-li-1'));
+    										
+                        Assert.areEqual('list-2-li-3', matchID, &quot;The currentTarget is an incorrect node, should be the matching node.&quot;);
+
+
+    				    matchID = null;
+
+                        Event.delegate(&quot;div-1&quot;, &quot;click&quot;, function (e, matchedEl, container) {
+                            matchID = matchedEl.id;
+                        }, &quot;&gt;.div-b&quot;);				    
+    					
+    					UserAction.click(Dom.get('div-1-1-1'));
+    					
+                        Assert.areEqual('div-1-1', matchID, &quot;The currentTarget is an incorrect node, should be the matching node.&quot;);
+
+    				    matchID = null;
+    					
+    					UserAction.click(Dom.get('div-1-2-1'));
+				
+                        Assert.isNull(matchID, &quot;The currentTarget is an incorrect node, should be the matching node.&quot;);
+
+    				},
+
 					test_delegation_of_focus: function () {
 						
 						var foo = false, 
@@ -335,6 +367,32 @@
 			&lt;/div&gt;
 		&lt;/div&gt;
 
+        &lt;ul id=&quot;list-2&quot;&gt;
+            &lt;li id=&quot;list-2-li-1&quot;&gt;&lt;em&gt;&lt;em&gt;Item One&lt;/em&gt;&lt;/em&gt;&lt;/li&gt;
+            &lt;li id=&quot;list-2-li-2&quot;&gt;&lt;em&gt;Item Two&lt;/em&gt;&lt;/li&gt;
+            &lt;li id=&quot;list-2-li-3&quot;&gt;&lt;em&gt;Item Three&lt;/em&gt;
+                &lt;ul id=&quot;list-3&quot;&gt;
+                    &lt;li id=&quot;list-3-li-1&quot;&gt;&lt;em&gt;Item Three - One&lt;/em&gt;&lt;/li&gt;
+                    &lt;li id=&quot;list-3-li-1&quot;&gt;&lt;em&gt;Item Three - Two&lt;/em&gt;&lt;/li&gt;
+                    &lt;li id=&quot;list-3-li-1&quot;&gt;&lt;em&gt;Item Three - Three&lt;/em&gt;&lt;/li&gt;
+                &lt;/ul&gt;            
+            &lt;/li&gt;        
+        &lt;/ul&gt;
+        
+        &lt;div id=&quot;div-1&quot; class=&quot;div-a&quot;&gt;
+            &lt;div id=&quot;div-1-1&quot; class=&quot;div-b&quot;&gt;
+              &lt;div id=&quot;div-1-1-1&quot; class=&quot;div-c&quot;&gt;&lt;em&gt;Item One&lt;/em&gt;&lt;/div&gt;
+            &lt;/div&gt;
+            &lt;div id=&quot;div-1-2&quot; class=&quot;div-x&quot;&gt;
+                &lt;em&gt;Item Two&lt;/em&gt;
+                &lt;div id=&quot;div-1-2-1&quot; class=&quot;div-b&quot;&gt;
+                    &lt;em&gt;Item Two - One&lt;/em&gt;
+                    &lt;div id=&quot;div-1-2-1-1&quot; class=&quot;div-c&quot;&gt;&lt;em&gt;Item Two - Two&lt;/em&gt;&lt;/div&gt;
+                &lt;/div&gt;
+            &lt;/div&gt;
+        &lt;/div&gt;
+
+
     &lt;/div&gt;
 
 &lt;/body&gt;</diff>
      <filename>src/event-delegate/tests/delegation.html</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4281866f81bd13fc33fd0902d1cc5d1dc75c428a</id>
    </parent>
  </parents>
  <author>
    <name>Todd Kloots</name>
    <login>kloots</login>
    <email>kloots@yahoo-inc.com</email>
  </author>
  <url>http://github.com/yui/yui2/commit/dc5b9a9deb01e22fa271b6d35130c1d40190775c</url>
  <id>dc5b9a9deb01e22fa271b6d35130c1d40190775c</id>
  <committed-date>2010-02-01T10:58:57-08:00</committed-date>
  <authored-date>2010-02-01T10:58:57-08:00</authored-date>
  <message>Updated with additional test cases for the direct descendant combinator</message>
  <tree>1cd889b00b11e75c3d7ce08ae0b221f2baa9290a</tree>
  <committer>
    <name>Todd Kloots</name>
    <login>kloots</login>
    <email>kloots@yahoo-inc.com</email>
  </committer>
</commit>
