Subversion Repositories Kolibri OS

Rev

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

  1. <?xml version="1.0" standalone="no"?>
  2. <?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
  3. <!--
  4.  
  5. Copyright (c) 2003 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 "dom3.dtd">
  18.  
  19.  
  20. <test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-3" name="HasFeature01">
  21.  <metadata>
  22.    <title>HasFeature01</title>
  23.    <creator>Curt Arnold</creator>
  24.    <description>Implementations should return true for hasFeature("LS", "3.0").</description>
  25.        <date qualifier="created">2003-12-01</date>
  26.        <!--  DOMImplementation.hasFeature  -->
  27.        <subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-5CED94D7"/>
  28.  </metadata>
  29.  <var name="domImpl" type="DOMImplementation"/>
  30.  <var name="hasLS" type="boolean"/>
  31.  <implementation var="domImpl"/>
  32.  <hasFeature var="hasLS" obj="domImpl" feature='"LS"' version='"3.0"'/>
  33.  <assertTrue actual="hasLS" id="hasFeature_LS3"/>
  34. </test>
  35.  
  36.  
  37.  
  38.  
  39.  
  40.