Status

Documentation
Web Developer
VERIFIED FIXED
17 years ago
17 years ago

People

(Reporter: Roman Yankin, Assigned: Ian Oeschger (gone))

Tracking

Details

(URL)

(Reporter)

Description

17 years ago
Dear Netscape team,
Your Gecko DOM reference says that "replaceChild() method replaces one child 
node on the current element with another" and the exaple says that first 
argument "oldChild" i.e replaced element must be followed by "newChild" while 
the W3C DOM reference provides vice versa example: "newChild" must be followed 
by "oldChild" moreover the example doesn't work in
Mozilla/5.0 (Windows; U; Win98; en-US; m18) Gecko/20001108 Netscape6/6.0 
Best regards, Roman Yankin, romayankin@mail.ru
reassigning to Fabian.  The DOM reference is just wrong (the implementation
follows the W3C spec).

And yes, that example would not really work...  :)
Assignee: jst → hidday
Status: UNCONFIRMED → NEW
Component: DOM Core → Web Developer
Ever confirmed: true
OS: Windows 98 → All
Product: Browser → Documentation
Hardware: PC → All
Version: other → unspecified

Comment 2

17 years ago
->oeschger
Ian, I thought we had already fixed this example before? Or was it the one for
HTML elements?
Assignee: hidday → oeschger
(Assignee)

Comment 3

17 years ago
ACCEPTING. I'll have this updated today.
Status: NEW → ASSIGNED
(Assignee)

Comment 4

17 years ago
FIXED this param mix-up in the domref. Thanks for spotting and reporting this, Roman
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 5

17 years ago
verified fixed.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.