Closed Bug 1304 Opened 26 years ago Closed 26 years ago

W3C DOM .length vs. .size issue

Categories

(Core :: DOM: Core & HTML, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED INVALID

People

(Reporter: angus, Assigned: vidur)

Details

It's a minor syntax incompatibility issue. Here's a simple test case: <html> <head> <script> // this works: alert(document.getElementById("mydiv").childNodes.length); // this is the specified API; but it doesn't work: alert(document.getElementById("mydiv").childNodes.size); </script> </head> <body onload="init()"> <div id="mydiv"> <p>one</p> <p>two</p> <p>three</p> </div>
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → INVALID
No, the W3C api says .length.
Marking Verified/Invalid
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.