Re: Order of table sections

> 
> Regarding HTMLTableRowElement04: yes, it could be change to avoid the
> ordering given that it is testing the sectionRowIndex attribute.
> However, if getElementById fails, we're back at the beginning, ie the
> tests should not rely on other methods to accomplish its goal.
> 
> Anyway, it has been suggested to accept the changes, so here is a
> proposed change for HTMLTableRowElement04:
> [...]
> <var name="testNode" type="Node"/>
> <var name="vsectionrowindex" type="int"/>
> <var name="doc" type="Node"/>
> <load var="doc" href="tablerow" willBeModified="false"/>
> <getElementById interface="Document" obj="doc" var="testNode"
> elementId="&quot;tbody_2nd&quot;"/>
> <sectionRowIndex interface="HTMLTableRowElement" obj="testNode"
> var="vsectionrowindex"/>
> <assertEquals actual="vsectionrowindex" expected="1"
> id="sectionRowIndexLink" ignoreCase="false"/>
> [...]
> 
> and in tablerow:
> <TR id='tbody_2nd'>
> 
> comments? objections?
> 

       I  do not see any problem with the proposed change to HTMLTableRowElement04.
       The aim of the test is still intact after the change.

Received on Tuesday, 10 December 2002 07:24:17 UTC