Re: Order of table sections

"Rick Rivello" <[email protected]>
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <[email protected]>
> 
> 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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.