W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > October 2011

[Bug 14444] Microdata: document.getItems() inconsistent with document.getElementsByClassName()

From: <bugzilla@jessica.w3.org>
Date: Thu, 13 Oct 2011 08:40:18 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1REGpu-000270-Fq@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=14444

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-10-13 08:40:17 UTC ---
getItems() returns nodes that match any of the tokens, while
getElementsByClassName() returns nodes that match all of the tokens:

http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#dom-document-getelementsbyclassname

Matching all seems better, as it is trivial to emulate matching any using that,
but the reverse is not as trivial.

-- 
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 Thursday, 13 October 2011 08:40:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:02:05 UTC