csswg/css3-images Overview.html,1.285,1.286 Overview.src.html,1.295,1.296 lc-issues-1.txt,1.8,1.9

Update of /sources/public/csswg/css3-images
In directory hutz:/tmp/cvs-serv28043

Modified Files:
	Overview.html Overview.src.html lc-issues-1.txt 
Log Message:
Specified that when element()'s selector matches multiple elements, it represents the first one in document order.

Index: Overview.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.html,v
retrieving revision 1.285
retrieving revision 1.286
diff -u -d -r1.285 -r1.286
--- Overview.html	11 Feb 2012 01:41:50 -0000	1.285
+++ Overview.html	11 Feb 2012 01:44:44 -0000	1.286
@@ -621,7 +621,8 @@
 
   <p>If the argument to the &lsquo;<code class=css>element()</code>&rsquo;
    function is an ID selector, the function references the element matched by
-   the selector.
+   the selector. If multiple elements are matched by the selector, the
+   function references the first such element.
 
   <p>HTML defines an additional way for an element to match this ID selector,
    via the <a

Index: lc-issues-1.txt
===================================================================
RCS file: /sources/public/csswg/css3-images/lc-issues-1.txt,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- lc-issues-1.txt	11 Feb 2012 01:37:39 -0000	1.8
+++ lc-issues-1.txt	11 Feb 2012 01:44:44 -0000	1.9
@@ -70,4 +70,18 @@
 From:     Kenny Lu
 Comment:  http://lists.w3.org/Archives/Public/www-style/2012Feb/0395.html
 Response:
+Closed:   Accepted
+----
+Issue 11.
+Summary:  element() examples still used old IDENT syntax.
+From:     Kenny Lu
+Comment:  http://lists.w3.org/Archives/Public/www-style/2012Feb/0394.html
+Response: 
+Closed:   Accepted
+----
+Issue 12.
+Summary:  element() needs to specify behavior when the selector matches multiple elements.
+From:     Kenny Lu
+Comment:  http://lists.w3.org/Archives/Public/www-style/2012Feb/0394.html
+Response: 
 Closed:   Accepted
\ No newline at end of file

Index: Overview.src.html
===================================================================
RCS file: /sources/public/csswg/css3-images/Overview.src.html,v
retrieving revision 1.295
retrieving revision 1.296
diff -u -d -r1.295 -r1.296
--- Overview.src.html	11 Feb 2012 01:41:50 -0000	1.295
+++ Overview.src.html	11 Feb 2012 01:44:44 -0000	1.296
@@ -292,7 +292,7 @@
 
 	<p>where &lt;id-selector> is an ID selector [[!SELECT]].</p>
 
-	<p>If the argument to the ''element()'' function is an ID selector, the function references the element matched by the selector.</p>
+	<p>If the argument to the ''element()'' function is an ID selector, the function references the element matched by the selector.  If multiple elements are matched by the selector, the function references the first such element.</p>
 
 	<p>HTML defines an additional way for an element to match this ID selector, via the <a href='http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-csselementmap'><code>CSSElementMap</code></a>.  If an element matching the ID selector is not found in the document, the ID is then looked up in the <code>CSSElementMap</code>.  Other host languages may define additional ways for elements to match the argument in ''element()''.</p>
 

Received on Saturday, 11 February 2012 01:44:48 UTC