[Webkit-unassigned] [Bug 41059] New: id attribute is incorrectly indexed via setAttribute() call
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jun 23 05:52:21 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=41059
Summary: id attribute is incorrectly indexed via setAttribute()
call
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: XML
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: alex at milowski.com
Created an attachment (id=59505)
--> (https://bugs.webkit.org/attachment.cgi?id=59505)
A document that demonstrates the problem.
Any javascript action in an XML document like the following:
document.documentElement.setAttribute("id","B");
allows getElementById() to work. This shouldn't work in
XML documents.
I've attached a test that demonstrates this.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list