[Webkit-unassigned] [Bug 15898] New: using document.importNode on XML node will lead to unpredictable stripping of attributes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 8 07:20:08 PST 2007
http://bugs.webkit.org/show_bug.cgi?id=15898
Summary: using document.importNode on XML node will lead to
unpredictable stripping of attributes
Product: WebKit
Version: 523.x (Safari 3)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: sjoerd at backbase.com
using importNode on XML document will lead to unpredictable stripping of
attributes:
Testcase:
var oXml = new DOMParser().parseFromString('<div newAttr="Hello World"></div>',
'text/xml');
var oDiv = document.importNode(oXml.documentElement, true);
alert(oDiv.getAttribute('newAttr') == 'Hello World');
--
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