[Webkit-unassigned] [Bug 17461] New: querySelectorAll doesn't return correct nodes when using element in element patterns
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Feb 20 15:38:27 PST 2008
http://bugs.webkit.org/show_bug.cgi?id=17461
Summary: querySelectorAll doesn't return correct nodes when using
element in element patterns
Product: WebKit
Version: 525+ (Nightly build)
Platform: PC
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: spam at moxiecode.com
When using the querySelectorAll method on an element it doesn't return the
correct number of nodes if a pattern with elements in elements are used.
For example if this code is executed on an element with 4 divs but only one div
withing another div it should return 1 and not 4.
document.getElementById('test').querySelectorAll('div div');
HTML:
<div id="test">
<div>1</div>
<div>
<div>2</div>
</div>
<div>3</div>
</div>
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list