[Bug 9261] Copying all the attributes would include the "id" attribute. Doesn't this allow multiple duplicate ID attributes? This is what current browsers do, so I guess which element gets selected in this situation by CSS or getElementById should be specified in th

http://www.w3.org/Bugs/Public/show_bug.cgi?id=9261


Ms2ger <Ms2ger@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Ms2ger@gmail.com
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME




--- Comment #1 from Ms2ger <Ms2ger@gmail.com>  2010-03-17 19:43:07 ---
Web DOM Core already defines that getElementById returns the first element:
<http://simon.html5.org/specs/web-dom-core#dom-document-getelementbyid>. For ID
selectors, the Selectors specification implicitly defines that all elements
with the given id are matched:
<http://www.w3.org/TR/css3-selectors/#id-selectors>.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 17 March 2010 19:43:08 UTC