Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. <?xml version="1.0" encoding="UTF-8"?>
  2.  
  3. <!--
  4.  
  5. Copyright (c) 2001-2004 World Wide Web Consortium,
  6. (Massachusetts Institute of Technology, Institut National de
  7. Recherche en Informatique et en Automatique, Keio University).  All
  8. Rights Reserved.  This program is distributed under the W3C's Software
  9. Intellectual Property License.  This program is distributed in the
  10. hope that it will be useful, but WITHOUT ANY WARRANTY; without even
  11. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  12. PURPOSE.  
  13.  
  14. See W3C License http://www.w3.org/Consortium/Legal/ for more details.
  15.  
  16. -->
  17. <!DOCTYPE test SYSTEM "dom1.dtd">
  18. <test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-1" name="table41">
  19. <metadata>
  20. <title>table41</title>
  21. <creator>Netscape</creator>
  22. <description>
  23. Specifies the desired table width.
  24. The value of attribute width of the table element is read and checked against the expected value.
  25. </description>
  26. <contributor>Sivakiran Tummala</contributor>
  27. <date qualifier="created">2002-02-15</date>
  28. <subject resource="http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/level-one-html#ID-77447361"/>
  29. </metadata>
  30. <var name="nodeList" type="NodeList"/>
  31. <var name="testNode" type="Node"/>
  32. <var name="vwidth" type="DOMString" />
  33. <var name="doc" type="Node"/>
  34. <load var="doc" href="table" willBeModified="false"/>
  35. <getElementsByTagName interface="Document" obj="doc" var="nodeList" tagname='"table"'/>
  36. <assertSize collection="nodeList" size="3" id="Asize"/>
  37. <item interface="NodeList" obj="nodeList" var="testNode" index="1"/>
  38. <width interface="HTMLTableElement" obj="testNode" var="vwidth"/>
  39. <assertEquals actual="vwidth" expected='"680"' id="widthLink" ignoreCase="false"/>
  40. </test>
  41.