W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

More DOM grey areas ...

From: Miles Sabin <msabin@cromwellmedia.co.uk>
Date: Tue, 13 Oct 1998 11:11:32 +0100
Message-ID: <c=US%a=_%p=Cromwell_Media%l=ODIN-981013101132Z-21047@odin.cromwellmedia.co.uk>
To: "'Don Park'" <donpark@quake.net>, "'DOM list'" <www-dom@w3.org>
First a quick thank-you to Don Park for his initiative. Here are some
more issues ...

1. What should the behaviour of,

     HTMLTableRowElement.getRowIndex()
     HTMLTableRowElement.setRowIndex()

   be where the relevant row is not in the tree?

2. What should the behaviour of,

     HTMLTableRowElement.getSectionRowIndex()
     HTMLTableRowElement.setSectionRowIndex()

   be where the relevant row is not in the tree,
   or not a child of a table section element.

3. What should the behaviour of,

     HTMLTableCellElement.getCellIndex()
     HTMLTableCellElement.setCellIndex()

   be where the relevant cell is not in the tree?

4. What should the behaviour of,

     HTMLOptionElement.getIndex()
     HTMLOptionElement.setIndex()

   be where the relevant option is not in the tree?

5. Exactly which element types are returned by
   HTMLFormElement.getElements()? All control
   elements (eg. including <LABEL>, <FIELDSET>
   etc. elements) or just the <INPUT>, <BUTTON>,
   <TEXTAREA>, <ISINDEX> and <SELECT> elements.

6. According to the HTML 4.0 spec, some elements have
   a case-insensitive name attribute, whereas others
   have a case-sensitive name attribute. Should
   HTMLDocument.getElementsByName() and
   HTMLCollection.getNamedItem() respect this
   distinction?

I've also got one query on REC. Unlike all the other
HTMLCollection attributes, HTMLTableRowElement.cells
is not readonly ... is this a typo?

Cheers,


Miles

-- 
Miles Sabin                          Cromwell Media
Internet Systems Architect           5/6 Glenthorne Mews
+44 (0)181 410 2230                  London, W6 0LJ
msabin@cromwellmedia.co.uk           England
Received on Tuesday, 13 October 1998 06:16:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT