W3C home > Mailing lists > Public > www-dom@w3.org > January to March 1999

DOM1 typo?

From: L. David Baron <dbaron@fas.harvard.edu>
Date: Fri, 12 Mar 1999 17:09:55 -0500 (EST)
Message-Id: <199903122209.RAA11680@login1.fas.harvard.edu>
To: www-dom@w3.org

In the definition of the add method of HTMLSelectElement [1], the before
parameter is defined as

  The element to insert before, or NULL for the head of the list.

Should this instead read ("head" changed to "end"):

  The element to insert before, or NULL for the end of the list.

(To me, head means beginning, although it's not perfectly clear.)

The method seems analogous to the insertBefore method [2], which defines
NULL as meaning the end of the list.

David Baron

[1] http://www.w3.org/TR/REC-DOM-Level-1/level-one-html.html#method-add
[2] http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#method-insertBefore
Received on Friday, 12 March 1999 17:11:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:05 UTC