[Webkit-unassigned] [Bug 17765] New: Empty CDATA section is not retrievable with firstChild
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 11 05:34:25 PDT 2008
http://bugs.webkit.org/show_bug.cgi?id=17765
Summary: Empty CDATA section is not retrievable with firstChild
Product: WebKit
Version: 525+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: benoit.wiart at gmail.com
it's not possible to retrieve an empty cdata section (<![CDATA[]]>) with the
firstChild property : null is return.
Ex: <testWebkit><![CDATA[]]></testWebkit>
with node = <testWebkit>
var child = node.firstChild;
on safari child is null
on ie 6 and ff 2 child is a node type 4 (CDATA_SECTION_NODE) with an empty
content
tested on safari 3.0.4 and nightly build 30790
--
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