[Webkit-unassigned] [Bug 74670] New: Remove legacy node types
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 15 17:32:06 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=74670
Summary: Remove legacy node types
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: ojan at chromium.org
CC: darin at apple.com, annevankesteren+webkit at gmail.com,
arv at chromium.org, rniwa at webkit.org, adamk at chromium.org
http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html
DOM4 removes a bunch of node types. We should remove them from webcore.
const unsigned short ATTRIBUTE_NODE = 2; // historical
const unsigned short CDATA_SECTION_NODE = 4; // historical
const unsigned short ENTITY_REFERENCE_NODE = 5; // historical
const unsigned short NOTATION_NODE = 12; // historical
There's already bug 74371 for attributes.
It appears that ENTITY_REFERENCE_NODE can only be created in XML documents by script calling document.createEntityReference. I think we can safely remove them. This will also have the added benefit of improving appendChild/insertBefore performance.
I haven't looked into cdata_section or notation.
--
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