Drop support for obsolete Node.isSupported()
https://bugs.webkit.org/show_bug.cgi?id=153164
Reviewed by Darin Adler.
LayoutTests/imported/w3c:
Rebaseline W3C test now that one more check is passing.
* web-platform-tests/dom/historical-expected.txt:
Source/WebCore:
Drop support for obsolete Node.isSupported(). Chrome and Firefox already
dropped it.
No new tests, already covered by existing test.
* dom/Node.cpp:
(WebCore::Node::isSupportedForBindings):
* dom/Node.h:
* dom/Node.idl:
LayoutTests:
Drop obsolete DOM tests.
* dom/html/level2/html/HTMLBodyElement07-expected.txt: Removed.
* dom/html/level2/html/HTMLBodyElement07.html: Removed.
* dom/html/level2/html/HTMLBodyElement07.js: Removed.
* dom/html/level2/html/HTMLBodyElement08-expected.txt: Removed.
* dom/html/level2/html/HTMLBodyElement08.html: Removed.
* dom/html/level2/html/HTMLBodyElement08.js: Removed.
* dom/html/level2/html/HTMLBodyElement09-expected.txt: Removed.
* dom/html/level2/html/HTMLBodyElement09.html: Removed.
* dom/html/level2/html/HTMLBodyElement09.js: Removed.
* dom/html/level2/html/HTMLBodyElement10-expected.txt: Removed.
* dom/html/level2/html/HTMLBodyElement10.html: Removed.
* dom/html/level2/html/HTMLBodyElement10.js: Removed.
* dom/html/level2/html/HTMLBodyElement11-expected.txt: Removed.
* dom/html/level2/html/HTMLBodyElement11.html: Removed.
* dom/html/level2/html/HTMLBodyElement11.js: Removed.
* dom/html/level2/html/HTMLBodyElement12-expected.txt: Removed.
* dom/html/level2/html/HTMLBodyElement12.html: Removed.
* dom/html/level2/html/HTMLBodyElement12.js: Removed.
* dom/html/level2/html/HTMLDocument22-expected.txt: Removed.
* dom/html/level2/html/HTMLDocument22.html: Removed.
* dom/html/level2/html/HTMLDocument22.js: Removed.
* dom/html/level2/html/HTMLDocument23-expected.txt: Removed.
* dom/html/level2/html/HTMLDocument23.html: Removed.
* dom/html/level2/html/HTMLDocument23.js: Removed.
* dom/html/level2/html/HTMLDocument24-expected.txt: Removed.
* dom/html/level2/html/HTMLDocument24.html: Removed.
* dom/html/level2/html/HTMLDocument24.js: Removed.
* dom/html/level2/html/HTMLDocument25-expected.txt: Removed.
* dom/html/level2/html/HTMLDocument25.html: Removed.
* dom/html/level2/html/HTMLDocument25.js: Removed.
* dom/html/level2/html/HTMLDocument26-expected.txt: Removed.
* dom/html/level2/html/HTMLDocument26.html: Removed.
* dom/html/level2/html/HTMLDocument26.js: Removed.
* dom/html/level2/html/HTMLDocument27-expected.txt: Removed.
* dom/html/level2/html/HTMLDocument27.html: Removed.
* dom/html/level2/html/HTMLDocument27.js: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_3.js: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_3.svg: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_empty.js: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_empty.svg: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_null.js: Removed.
* dom/svg/level3/xpath/Conformance_isSupported_null.svg: Removed.
* dom/xhtml/level2/html/HTMLBodyElement07-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLBodyElement07.js: Removed.
* dom/xhtml/level2/html/HTMLBodyElement07.xhtml: Removed.
* dom/xhtml/level2/html/HTMLBodyElement08-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLBodyElement08.js: Removed.
* dom/xhtml/level2/html/HTMLBodyElement08.xhtml: Removed.
* dom/xhtml/level2/html/HTMLBodyElement09-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLBodyElement09.js: Removed.
* dom/xhtml/level2/html/HTMLBodyElement09.xhtml: Removed.
* dom/xhtml/level2/html/HTMLBodyElement10-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLBodyElement10.js: Removed.
* dom/xhtml/level2/html/HTMLBodyElement10.xhtml: Removed.
* dom/xhtml/level2/html/HTMLBodyElement11-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLBodyElement11.js: Removed.
* dom/xhtml/level2/html/HTMLBodyElement11.xhtml: Removed.
* dom/xhtml/level2/html/HTMLBodyElement12-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLBodyElement12.js: Removed.
* dom/xhtml/level2/html/HTMLBodyElement12.xhtml: Removed.
* dom/xhtml/level2/html/HTMLDocument22-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLDocument22.js: Removed.
* dom/xhtml/level2/html/HTMLDocument22.xhtml: Removed.
* dom/xhtml/level2/html/HTMLDocument23-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLDocument23.js: Removed.
* dom/xhtml/level2/html/HTMLDocument23.xhtml: Removed.
* dom/xhtml/level2/html/HTMLDocument24-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLDocument24.js: Removed.
* dom/xhtml/level2/html/HTMLDocument24.xhtml: Removed.
* dom/xhtml/level2/html/HTMLDocument25-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLDocument25.js: Removed.
* dom/xhtml/level2/html/HTMLDocument25.xhtml: Removed.
* dom/xhtml/level2/html/HTMLDocument26-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLDocument26.js: Removed.
* dom/xhtml/level2/html/HTMLDocument26.xhtml: Removed.
* dom/xhtml/level2/html/HTMLDocument27-expected.txt: Removed.
* dom/xhtml/level2/html/HTMLDocument27.js: Removed.
* dom/xhtml/level2/html/HTMLDocument27.xhtml: Removed.
* fast/dom/features-expected.txt:
* fast/dom/features.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@195355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index e8683c3..d9c656a 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,96 @@
+2016-01-20 Chris Dumez <cdumez@apple.com>
+
+ Drop support for obsolete Node.isSupported()
+ https://bugs.webkit.org/show_bug.cgi?id=153164
+
+ Reviewed by Darin Adler.
+
+ Drop obsolete DOM tests.
+
+ * dom/html/level2/html/HTMLBodyElement07-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBodyElement07.html: Removed.
+ * dom/html/level2/html/HTMLBodyElement07.js: Removed.
+ * dom/html/level2/html/HTMLBodyElement08-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBodyElement08.html: Removed.
+ * dom/html/level2/html/HTMLBodyElement08.js: Removed.
+ * dom/html/level2/html/HTMLBodyElement09-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBodyElement09.html: Removed.
+ * dom/html/level2/html/HTMLBodyElement09.js: Removed.
+ * dom/html/level2/html/HTMLBodyElement10-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBodyElement10.html: Removed.
+ * dom/html/level2/html/HTMLBodyElement10.js: Removed.
+ * dom/html/level2/html/HTMLBodyElement11-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBodyElement11.html: Removed.
+ * dom/html/level2/html/HTMLBodyElement11.js: Removed.
+ * dom/html/level2/html/HTMLBodyElement12-expected.txt: Removed.
+ * dom/html/level2/html/HTMLBodyElement12.html: Removed.
+ * dom/html/level2/html/HTMLBodyElement12.js: Removed.
+ * dom/html/level2/html/HTMLDocument22-expected.txt: Removed.
+ * dom/html/level2/html/HTMLDocument22.html: Removed.
+ * dom/html/level2/html/HTMLDocument22.js: Removed.
+ * dom/html/level2/html/HTMLDocument23-expected.txt: Removed.
+ * dom/html/level2/html/HTMLDocument23.html: Removed.
+ * dom/html/level2/html/HTMLDocument23.js: Removed.
+ * dom/html/level2/html/HTMLDocument24-expected.txt: Removed.
+ * dom/html/level2/html/HTMLDocument24.html: Removed.
+ * dom/html/level2/html/HTMLDocument24.js: Removed.
+ * dom/html/level2/html/HTMLDocument25-expected.txt: Removed.
+ * dom/html/level2/html/HTMLDocument25.html: Removed.
+ * dom/html/level2/html/HTMLDocument25.js: Removed.
+ * dom/html/level2/html/HTMLDocument26-expected.txt: Removed.
+ * dom/html/level2/html/HTMLDocument26.html: Removed.
+ * dom/html/level2/html/HTMLDocument26.js: Removed.
+ * dom/html/level2/html/HTMLDocument27-expected.txt: Removed.
+ * dom/html/level2/html/HTMLDocument27.html: Removed.
+ * dom/html/level2/html/HTMLDocument27.js: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_3.js: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_3.svg: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_empty.js: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_empty.svg: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_null.js: Removed.
+ * dom/svg/level3/xpath/Conformance_isSupported_null.svg: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement07-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement07.js: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement07.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement08-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement08.js: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement08.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement09-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement09.js: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement09.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement10-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement10.js: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement10.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement11-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement11.js: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement11.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement12-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement12.js: Removed.
+ * dom/xhtml/level2/html/HTMLBodyElement12.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLDocument22-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLDocument22.js: Removed.
+ * dom/xhtml/level2/html/HTMLDocument22.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLDocument23-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLDocument23.js: Removed.
+ * dom/xhtml/level2/html/HTMLDocument23.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLDocument24-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLDocument24.js: Removed.
+ * dom/xhtml/level2/html/HTMLDocument24.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLDocument25-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLDocument25.js: Removed.
+ * dom/xhtml/level2/html/HTMLDocument25.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLDocument26-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLDocument26.js: Removed.
+ * dom/xhtml/level2/html/HTMLDocument26.xhtml: Removed.
+ * dom/xhtml/level2/html/HTMLDocument27-expected.txt: Removed.
+ * dom/xhtml/level2/html/HTMLDocument27.js: Removed.
+ * dom/xhtml/level2/html/HTMLDocument27.xhtml: Removed.
+ * fast/dom/features-expected.txt:
+ * fast/dom/features.html:
+
2016-01-19 Nikita Vasilyev <nvasilyev@apple.com>
Web Inspector: Fix inspector/model/remote-object.html test
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement07-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBodyElement07-expected.txt
deleted file mode 100644
index 61ad40f..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement07-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement07
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement07.html b/LayoutTests/dom/html/level2/html/HTMLBodyElement07.html
deleted file mode 100644
index 86f1b2a..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement07.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement07.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement07.js b/LayoutTests/dom/html/level2/html/HTMLBodyElement07.js
deleted file mode 100644
index d583c23..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement07.js
+++ /dev/null
@@ -1,110 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement07";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement07() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement07") != null) return;
- var doc;
- var body;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement07();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement08-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBodyElement08-expected.txt
deleted file mode 100644
index a783ddd..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement08-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement08
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement08.html b/LayoutTests/dom/html/level2/html/HTMLBodyElement08.html
deleted file mode 100644
index c682620..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement08.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement08.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement08.js b/LayoutTests/dom/html/level2/html/HTMLBodyElement08.js
deleted file mode 100644
index 10cc9f9..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement08.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement08";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement08() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement08") != null) return;
- var doc;
- var body;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement08();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement09-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBodyElement09-expected.txt
deleted file mode 100644
index 5314037..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement09-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement09
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement09.html b/LayoutTests/dom/html/level2/html/HTMLBodyElement09.html
deleted file mode 100644
index ca62b5b..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement09.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement09.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement09.js b/LayoutTests/dom/html/level2/html/HTMLBodyElement09.js
deleted file mode 100644
index 4877d1a..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement09.js
+++ /dev/null
@@ -1,112 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement09";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", null) returns true if hasFeature("XML", null) is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement09() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement09") != null) return;
- var doc;
- var body;
- var state;
- var hasXML;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- hasXML = body.isSupported("XML",version);
- state = body.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement09();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement10-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBodyElement10-expected.txt
deleted file mode 100644
index 79765a1..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement10-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement10
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement10.html b/LayoutTests/dom/html/level2/html/HTMLBodyElement10.html
deleted file mode 100644
index 1d883a4..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement10.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement10.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement10.js b/LayoutTests/dom/html/level2/html/HTMLBodyElement10.js
deleted file mode 100644
index 41c1e2e..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement10.js
+++ /dev/null
@@ -1,111 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement10";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", "2.0") returns true if hasFeature("XML", "2.0") is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement10() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement10") != null) return;
- var doc;
- var body;
- var state;
- var hasXML;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- hasXML = body.isSupported("XML",version);
- state = body.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement10();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement11-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBodyElement11-expected.txt
deleted file mode 100644
index 8d7414d..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement11-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement11
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement11.html b/LayoutTests/dom/html/level2/html/HTMLBodyElement11.html
deleted file mode 100644
index bfa8fce..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement11.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement11.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement11.js b/LayoutTests/dom/html/level2/html/HTMLBodyElement11.js
deleted file mode 100644
index 8617f34..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement11.js
+++ /dev/null
@@ -1,110 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement11";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement11() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement11") != null) return;
- var doc;
- var body;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement11();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement12-expected.txt b/LayoutTests/dom/html/level2/html/HTMLBodyElement12-expected.txt
deleted file mode 100644
index 6611d86..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement12-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement12
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement12.html b/LayoutTests/dom/html/level2/html/HTMLBodyElement12.html
deleted file mode 100644
index 335fd23..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement12.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement12.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLBodyElement12.js b/LayoutTests/dom/html/level2/html/HTMLBodyElement12.js
deleted file mode 100644
index 005920b..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLBodyElement12.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement12";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement12() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement12") != null) return;
- var doc;
- var body;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement12();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument22-expected.txt b/LayoutTests/dom/html/level2/html/HTMLDocument22-expected.txt
deleted file mode 100644
index 5a0a931..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument22-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument22
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument22.html b/LayoutTests/dom/html/level2/html/HTMLDocument22.html
deleted file mode 100644
index 10331b9..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument22.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument22.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument22.js b/LayoutTests/dom/html/level2/html/HTMLDocument22.js
deleted file mode 100644
index 2ee8e52..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument22.js
+++ /dev/null
@@ -1,107 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument22";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument22() {
- var success;
- if(checkInitialization(builder, "HTMLDocument22") != null) return;
- var doc;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument22();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument23-expected.txt b/LayoutTests/dom/html/level2/html/HTMLDocument23-expected.txt
deleted file mode 100644
index bc3879a..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument23-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument23
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument23.html b/LayoutTests/dom/html/level2/html/HTMLDocument23.html
deleted file mode 100644
index af20d3c..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument23.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument23.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument23.js b/LayoutTests/dom/html/level2/html/HTMLDocument23.js
deleted file mode 100644
index eb83250..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument23.js
+++ /dev/null
@@ -1,106 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument23";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument23() {
- var success;
- if(checkInitialization(builder, "HTMLDocument23") != null) return;
- var doc;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument23();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument24-expected.txt b/LayoutTests/dom/html/level2/html/HTMLDocument24-expected.txt
deleted file mode 100644
index 701e4b6..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument24-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument24
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument24.html b/LayoutTests/dom/html/level2/html/HTMLDocument24.html
deleted file mode 100644
index 3b564af1..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument24.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument24.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument24.js b/LayoutTests/dom/html/level2/html/HTMLDocument24.js
deleted file mode 100644
index d1ddfd0..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument24.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument24";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", null) returns true if hasFeature("XML", null) is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument24() {
- var success;
- if(checkInitialization(builder, "HTMLDocument24") != null) return;
- var doc;
- var state;
- var hasXML;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- hasXML = doc.isSupported("XML",version);
- state = doc.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument24();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument25-expected.txt b/LayoutTests/dom/html/level2/html/HTMLDocument25-expected.txt
deleted file mode 100644
index 78b251f..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument25-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument25
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument25.html b/LayoutTests/dom/html/level2/html/HTMLDocument25.html
deleted file mode 100644
index 4274d62..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument25.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument25.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument25.js b/LayoutTests/dom/html/level2/html/HTMLDocument25.js
deleted file mode 100644
index a0341d0..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument25.js
+++ /dev/null
@@ -1,108 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument25";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", "2.0") returns true if hasFeature("XML", "2.0") is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument25() {
- var success;
- if(checkInitialization(builder, "HTMLDocument25") != null) return;
- var doc;
- var state;
- var hasXML;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- hasXML = doc.isSupported("XML",version);
- state = doc.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument25();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument26-expected.txt b/LayoutTests/dom/html/level2/html/HTMLDocument26-expected.txt
deleted file mode 100644
index 1543f7d..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument26-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument26
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument26.html b/LayoutTests/dom/html/level2/html/HTMLDocument26.html
deleted file mode 100644
index efe55bb..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument26.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument26.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument26.js b/LayoutTests/dom/html/level2/html/HTMLDocument26.js
deleted file mode 100644
index 905249b..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument26.js
+++ /dev/null
@@ -1,107 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument26";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument26() {
- var success;
- if(checkInitialization(builder, "HTMLDocument26") != null) return;
- var doc;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument26();
-}
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument27-expected.txt b/LayoutTests/dom/html/level2/html/HTMLDocument27-expected.txt
deleted file mode 100644
index 2ebf2d7..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument27-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test: http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument27
-Status: Success
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument27.html b/LayoutTests/dom/html/level2/html/HTMLDocument27.html
deleted file mode 100644
index c24a1ca..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument27.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<HTML>
-<HEAD>
-<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
-<TITLE>NIST DOM HTML Test - DOCUMENT</TITLE>
-<script type='text/javascript' src='selfhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument27.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></HEAD>
-<BODY onload="loadComplete()" ID="TEST-BODY">
-<FORM ID="form1" ACCEPT-CHARSET="US-ASCII" ACTION="./files/getData.pl" ENCTYPE="application/x-www-form-urlencoded" METHOD="post">
-<P>
-<TEXTAREA NAME="text1" COLS="20" ROWS="7"></TEXTAREA>
-<INPUT TYPE="submit" NAME="submit" VALUE="Submit" />
-<INPUT TYPE="reset" NAME="reset" VALUE="Reset" />
-</P>
-</FORM>
-<P>
-<MAP NAME="mapid" ID="mapid">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain1">
-<AREA TABINDEX="10" ACCESSKEY="a" SHAPE="rect" ALT="Domain" COORDS="0,2,45,45" HREF="./files/dletter.html" TITLE="Domain2">
-</MAP>
-</P>
-<P>
-<IMG ID="IMAGE-1" NAME="IMAGE-1" SRC="./pix/dts.gif" ALT="DTS IMAGE LOGO" LONGDESC="./files/desc.html" USEMAP="#DTS-MAP" WIDTH="115"/>
-</P>
-<P>
-<OBJECT DATA="./pix/line.gif" CODETYPE="image/gif" HEIGHT="10">
-<APPLET ALT="Applet Number 1" CODE="applet1.class"></APPLET>
-</OBJECT>
-<OBJECT DATA="./pix/logo.gif" type="image/gif">
-<APPLET ALT="Applet Number 2" CODE="applet2.class"></APPLET>
-</OBJECT>
-</P>
-<P>
-<A ID="Anchor" DIR="LTR" HREF="./pix/submit.gif" ACCESSKEY="g" TYPE="image/gif" COORDS="0,0,100,100" SHAPE="rect" REL="GLOSSARY" REV="STYLESHEET" HREFLANG="en" CHARSET="US-ASCII" TABINDEX="22" NAME="Anchor">View Submit Button</A>
-</P>
-</BODY>
-</HTML>
diff --git a/LayoutTests/dom/html/level2/html/HTMLDocument27.js b/LayoutTests/dom/html/level2/html/HTMLDocument27.js
deleted file mode 100644
index 145447a..0000000
--- a/LayoutTests/dom/html/level2/html/HTMLDocument27.js
+++ /dev/null
@@ -1,106 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument27";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument27() {
- var success;
- if(checkInitialization(builder, "HTMLDocument27") != null) return;
- var doc;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument27();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt
deleted file mode 100644
index b70bf84..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3-expected.txt
+++ /dev/null
@@ -1 +0,0 @@
-Conformance_isSupported_3: Success
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3.js b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3.js
deleted file mode 100644
index 4907853..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3.js
+++ /dev/null
@@ -1,110 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['Conformance_isSupported_3'];
-}
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "staffNS");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- 1.3 Conformance - The "feature" parameter in the
- "Node.isSupported(feature,version)"
- method is the name of the feature and the version is the version
- number of the feature to test. XPath is the legal value for the
- XPath module. The method should return "true".
-
- Retrieve the DOM document on which the
- "isSupported(feature,version)" method is invoked with "feature"
- equal to "XPath" and version to "3.0". The method should return a
- boolean "true".
-
-* @author Philippe Le Hégaret
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#Conformance
-*/
-function Conformance_isSupported_3() {
- var success;
- if(checkInitialization(builder, "Conformance_isSupported_3") != null) return;
- var doc;
- var state;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "staffNS");
- state = doc.isSupported("xpATH","3.0");
- assertTrue("isSupported-XPath-3.0",state);
-
-}
-
-
-
-
-function runTest() {
- Conformance_isSupported_3();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3.svg b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3.svg
deleted file mode 100644
index 2412425..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_3.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="Conformance_isSupported_3.js"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>
-</svg>
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt
deleted file mode 100644
index 881512a..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty-expected.txt
+++ /dev/null
@@ -1 +0,0 @@
-Conformance_isSupported_empty: Success
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty.js b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty.js
deleted file mode 100644
index 605fbfa..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty.js
+++ /dev/null
@@ -1,112 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['Conformance_isSupported_empty'];
-}
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "staffNS");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- 1.3 Conformance - The "feature" parameter in the
- "Node.isSupported(feature,version)"
- method is the name of the feature and the version is the version
- number of the feature to test. XPath is the legal value for the
- XPath module. The method should return "true".
-
- Retrieve the DOM document on which the
- "isSupported(feature,version)" method is invoked with "feature"
- equal to "XPath" and version to the empty string "". The method
- should return a boolean "true" if the implementation claims support
- for some version for XPath.
-
-* @author Philippe Le Hégaret
-* @author Bob Clary
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#Conformance
-*/
-function Conformance_isSupported_empty() {
- var success;
- if(checkInitialization(builder, "Conformance_isSupported_empty") != null) return;
- var doc;
- var state;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "staffNS");
- state = doc.isSupported("xpATH","");
- assertTrue("isSupported-XPath-empty",state);
-
-}
-
-
-
-
-function runTest() {
- Conformance_isSupported_empty();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty.svg b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty.svg
deleted file mode 100644
index 3e45a06..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_empty.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="Conformance_isSupported_empty.js"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>
-</svg>
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt
deleted file mode 100644
index 94914a6..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null-expected.txt
+++ /dev/null
@@ -1 +0,0 @@
-Conformance_isSupported_null: Success
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null.js b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null.js
deleted file mode 100644
index 3fd3560..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null.js
+++ /dev/null
@@ -1,105 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-// expose test function names
-function exposeTestFunctionNames()
-{
-return ['Conformance_isSupported_null'];
-}
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "staffNS");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
- 1.3 Conformance - Test if
- Document.isSupported('XPath', null) returns true
-
-* @author Philippe Le Hégaret
-* @author Bob Clary
-* @see http://www.w3.org/TR/2003/CR-DOM-Level-3-XPath-20030331/xpath#Conformance
-*/
-function Conformance_isSupported_null() {
- var success;
- if(checkInitialization(builder, "Conformance_isSupported_null") != null) return;
- var doc;
- var state;
- var nullValue = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "staffNS");
- state = doc.isSupported("xpATH",nullValue);
- assertTrue("isSupported-XPath-null",state);
-
-}
-
-
-
-
-function runTest() {
- Conformance_isSupported_null();
-}
diff --git a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null.svg b/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null.svg
deleted file mode 100644
index 62350fd..0000000
--- a/LayoutTests/dom/svg/level3/xpath/Conformance_isSupported_null.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:nist="http://www.nist.gov"><rect x="0" y="0" width="100" height="100"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="Conformance_isSupported_null.js"/>
-<script xmlns="http://www.w3.org/1999/xhtml" src="svgunit.js"/>
-</svg>
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07-expected.txt
deleted file mode 100644
index f6f05d1..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement07
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07.js b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07.js
deleted file mode 100644
index d583c23..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07.js
+++ /dev/null
@@ -1,110 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement07";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement07() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement07") != null) return;
- var doc;
- var body;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement07();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07.xhtml
deleted file mode 100644
index 6d1458d..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement07.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement07.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08-expected.txt
deleted file mode 100644
index 91094bb..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement08
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08.js b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08.js
deleted file mode 100644
index 10cc9f9..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement08";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement08() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement08") != null) return;
- var doc;
- var body;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement08();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08.xhtml
deleted file mode 100644
index bbd36d4..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement08.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement08.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09-expected.txt
deleted file mode 100644
index 1c048ac..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement09
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09.js b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09.js
deleted file mode 100644
index 4877d1a..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09.js
+++ /dev/null
@@ -1,112 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement09";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", null) returns true if hasFeature("XML", null) is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement09() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement09") != null) return;
- var doc;
- var body;
- var state;
- var hasXML;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- hasXML = body.isSupported("XML",version);
- state = body.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement09();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09.xhtml
deleted file mode 100644
index a76cd5a..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement09.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement09.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10-expected.txt
deleted file mode 100644
index 286af0e..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement10
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10.js b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10.js
deleted file mode 100644
index 41c1e2e..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10.js
+++ /dev/null
@@ -1,111 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement10";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", "2.0") returns true if hasFeature("XML", "2.0") is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement10() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement10") != null) return;
- var doc;
- var body;
- var state;
- var hasXML;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- hasXML = body.isSupported("XML",version);
- state = body.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement10();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10.xhtml
deleted file mode 100644
index 50f29dd..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement10.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement10.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11-expected.txt
deleted file mode 100644
index a62b933..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement11
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11.js b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11.js
deleted file mode 100644
index 8617f34..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11.js
+++ /dev/null
@@ -1,110 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement11";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement11() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement11") != null) return;
- var doc;
- var body;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement11();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11.xhtml
deleted file mode 100644
index e7fe40d..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement11.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement11.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12-expected.txt
deleted file mode 100644
index 400a5a0..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement12
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12.js b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12.js
deleted file mode 100644
index 005920b..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLBodyElement12";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-62018039
-*/
-function HTMLBodyElement12() {
- var success;
- if(checkInitialization(builder, "HTMLBodyElement12") != null) return;
- var doc;
- var body;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- body = doc.body;
-
- state = body.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLBodyElement12();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12.xhtml
deleted file mode 100644
index 4cfe8ad..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLBodyElement12.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLBodyElement12.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument22-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLDocument22-expected.txt
deleted file mode 100644
index 22997d9..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument22-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument22
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument22.js b/LayoutTests/dom/xhtml/level2/html/HTMLDocument22.js
deleted file mode 100644
index 2ee8e52..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument22.js
+++ /dev/null
@@ -1,107 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument22";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument22() {
- var success;
- if(checkInitialization(builder, "HTMLDocument22") != null) return;
- var doc;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument22();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument22.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLDocument22.xhtml
deleted file mode 100644
index ebc4e95..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument22.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument22.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument23-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLDocument23-expected.txt
deleted file mode 100644
index 0cadb9d..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument23-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument23
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument23.js b/LayoutTests/dom/xhtml/level2/html/HTMLDocument23.js
deleted file mode 100644
index eb83250..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument23.js
+++ /dev/null
@@ -1,106 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument23";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("hTmL", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument23() {
- var success;
- if(checkInitialization(builder, "HTMLDocument23") != null) return;
- var doc;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("hTmL",version);
- assertTrue("isSupportedHTML",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument23();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument23.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLDocument23.xhtml
deleted file mode 100644
index 21ec125..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument23.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument23.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument24-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLDocument24-expected.txt
deleted file mode 100644
index 063867a..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument24-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument24
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument24.js b/LayoutTests/dom/xhtml/level2/html/HTMLDocument24.js
deleted file mode 100644
index d1ddfd0..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument24.js
+++ /dev/null
@@ -1,109 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument24";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", null) returns true if hasFeature("XML", null) is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument24() {
- var success;
- if(checkInitialization(builder, "HTMLDocument24") != null) return;
- var doc;
- var state;
- var hasXML;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- hasXML = doc.isSupported("XML",version);
- state = doc.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument24();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument24.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLDocument24.xhtml
deleted file mode 100644
index 7f57643..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument24.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument24.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument25-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLDocument25-expected.txt
deleted file mode 100644
index 81df3ae..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument25-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument25
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument25.js b/LayoutTests/dom/xhtml/level2/html/HTMLDocument25.js
deleted file mode 100644
index a0341d0..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument25.js
+++ /dev/null
@@ -1,108 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument25";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("xhTmL", "2.0") returns true if hasFeature("XML", "2.0") is true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument25() {
- var success;
- if(checkInitialization(builder, "HTMLDocument25") != null) return;
- var doc;
- var state;
- var hasXML;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- hasXML = doc.isSupported("XML",version);
- state = doc.isSupported("xhTmL",version);
- assertEquals("isSupportedXHTML",hasXML,state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument25();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument25.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLDocument25.xhtml
deleted file mode 100644
index e202065..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument25.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument25.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument26-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLDocument26-expected.txt
deleted file mode 100644
index 711ccd2..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument26-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument26
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument26.js b/LayoutTests/dom/xhtml/level2/html/HTMLDocument26.js
deleted file mode 100644
index 905249b..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument26.js
+++ /dev/null
@@ -1,107 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument26";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", null) returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument26() {
- var success;
- if(checkInitialization(builder, "HTMLDocument26") != null) return;
- var doc;
- var state;
- var version = null;
-
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument26();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument26.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLDocument26.xhtml
deleted file mode 100644
index e86ca92..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument26.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument26.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument27-expected.txt b/LayoutTests/dom/xhtml/level2/html/HTMLDocument27-expected.txt
deleted file mode 100644
index c0003a2..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument27-expected.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Test http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument27
-Status Success
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument27.js b/LayoutTests/dom/xhtml/level2/html/HTMLDocument27.js
deleted file mode 100644
index 145447a..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument27.js
+++ /dev/null
@@ -1,106 +0,0 @@
-
-/*
-Copyright © 2001-2004 World Wide Web Consortium,
-(Massachusetts Institute of Technology, European Research Consortium
-for Informatics and Mathematics, Keio University). All
-Rights Reserved. This work is distributed under the W3C® Software License [1] in the
-hope that it will be useful, but WITHOUT ANY WARRANTY; without even
-the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-
-[1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
-*/
-
-
-
- /**
- * Gets URI that identifies the test.
- * @return uri identifier of test
- */
-function getTargetURI() {
- return "http://www.w3.org/2001/DOM-Test-Suite/level2/html/HTMLDocument27";
- }
-
-var docsLoaded = -1000000;
-var builder = null;
-
-//
-// This function is called by the testing framework before
-// running the test suite.
-//
-// If there are no configuration exceptions, asynchronous
-// document loading is started. Otherwise, the status
-// is set to complete and the exception is immediately
-// raised when entering the body of the test.
-//
-function setUpPage() {
- setUpPageStatus = 'running';
- try {
- //
- // creates test document builder, may throw exception
- //
- builder = createConfiguredBuilder();
-
- docsLoaded = 0;
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- docsLoaded += preload(docRef, "doc", "document");
-
- if (docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
- } catch(ex) {
- catchInitializationError(builder, ex);
- setUpPageStatus = 'complete';
- }
-}
-
-
-
-//
-// This method is called on the completion of
-// each asychronous load started in setUpTests.
-//
-// When every synchronous loaded document has completed,
-// the page status is changed which allows the
-// body of the test to be executed.
-function loadComplete() {
- if (++docsLoaded == 1) {
- setUpPageStatus = 'complete';
- }
-}
-
-
-/**
-*
-Checks that Node.isSupported("cOrE", "2.0") returns true.
-
-* @author Curt Arnold
-* @see http://www.w3.org/TR/DOM-Level-2-Core/core#Level-2-Core-Node-supports
-* @see http://www.w3.org/TR/DOM-Level-2-HTML/html#ID-26809268
-*/
-function HTMLDocument27() {
- var success;
- if(checkInitialization(builder, "HTMLDocument27") != null) return;
- var doc;
- var state;
- var version = "2.0";
-
- var docRef = null;
- if (typeof(this.doc) != 'undefined') {
- docRef = this.doc;
- }
- doc = load(docRef, "doc", "document");
- state = doc.isSupported("cOrE",version);
- assertTrue("isSupportedCore",state);
-
-}
-
-
-
-
-function runTest() {
- HTMLDocument27();
-}
diff --git a/LayoutTests/dom/xhtml/level2/html/HTMLDocument27.xhtml b/LayoutTests/dom/xhtml/level2/html/HTMLDocument27.xhtml
deleted file mode 100644
index 7c7aa96..0000000
--- a/LayoutTests/dom/xhtml/level2/html/HTMLDocument27.xhtml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html
- PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "xhtml1-transitional.dtd">
-<html xmlns='http://www.w3.org/1999/xhtml'>
-<head>
-<title>NIST DOM HTML Test - DOCUMENT</title>
-<script type='text/javascript' src='selfxhtml.js'></script><script charset='UTF-8' type='text/javascript' src='HTMLDocument27.js'></script><script type='text/javascript'>function loadComplete() { startTest(); }</script></head>
-<body onload="loadComplete()" id="TEST-BODY">
-<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
-<p>
-<textarea name="text1" cols="20" rows="7"></textarea>
-<input type="submit" name="submit1" value="Submit" />
-<input type="reset" name="submit2" value="Reset" />
-</p>
-</form>
-<p>
-<map name="mapid" id="mapid">
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain1" />
-<area tabindex="10" accesskey="a" shape="rect" alt="Domain" coords="0,2,45,45" href="./files/dletter.html" title="Domain2" />
-</map>
-</p>
-<p>
-<img id="IMAGE-1" src="./pix/dts.gif" alt="DTS IMAGE LOGO" longdesc="./files/desc.html" usemap="#DTS-MAP" width="115"/>
-</p>
-<p>
-<object data="./pix/line.gif" codetype="image/gif" height="10">
-<applet alt="Applet Number 1" code="applet1.class" width="10" height="10"></applet>
-</object>
-<object data="./pix/logo.gif" type="image/gif">
-<applet alt="Applet Number 2" code="applet2.class" width="10" height="10"></applet>
-</object>
-</p>
-<p>
-<a id="Anchor" dir="ltr" href="./pix/submit.gif" accesskey="g" type="image/gif" coords="0,0,100,100" shape="rect" rel="GLOSSARY" rev="STYLESHEET" hreflang="en" charset="US-ASCII" tabindex="22" name="Anchor">View Submit Button</a>
-</p>
-</body>
-</html>
-
diff --git a/LayoutTests/fast/dom/features-expected.txt b/LayoutTests/fast/dom/features-expected.txt
index 592411c..96b9d38 100644
--- a/LayoutTests/fast/dom/features-expected.txt
+++ b/LayoutTests/fast/dom/features-expected.txt
@@ -1,126 +1,126 @@
-"Core", undefined: true, true
-"HTML", undefined: true, true
-"XML", undefined: true, true
-"Views", undefined: true, true
-"StyleSheets", undefined: true, true
-"CSS", undefined: true, true
-"CSS2", undefined: true, true
-"CSS3", undefined: true, true
-"Events", undefined: true, true
-"UIEvents", undefined: true, true
-"MouseEvents", undefined: true, true
-"HTMLEvents", undefined: true, true
-"MutationEvents", undefined: true, true
-"Range", undefined: true, true
-"Traversal", undefined: true, true
-"Core", null: true, true
-"HTML", null: true, true
-"XML", null: true, true
-"Views", null: true, true
-"StyleSheets", null: true, true
-"CSS", null: true, true
-"CSS2", null: true, true
-"CSS3", null: true, true
-"Events", null: true, true
-"UIEvents", null: true, true
-"MouseEvents", null: true, true
-"HTMLEvents", null: true, true
-"MutationEvents", null: true, true
-"Range", null: true, true
-"Traversal", null: true, true
-"Core", "": true, true
-"HTML", "": true, true
-"XML", "": true, true
-"Views", "": true, true
-"StyleSheets", "": true, true
-"CSS", "": true, true
-"CSS2", "": true, true
-"CSS3", "": true, true
-"Events", "": true, true
-"UIEvents", "": true, true
-"MouseEvents", "": true, true
-"HTMLEvents", "": true, true
-"MutationEvents", "": true, true
-"Range", "": true, true
-"Traversal", "": true, true
-"Core", "1.0": true, true
-"HTML", "1.0": true, true
-"XML", "1.0": true, true
-"Views", "1.0": true, true
-"StyleSheets", "1.0": true, true
-"CSS", "1.0": true, true
-"CSS2", "1.0": true, true
-"CSS3", "1.0": true, true
-"Events", "1.0": true, true
-"UIEvents", "1.0": true, true
-"MouseEvents", "1.0": true, true
-"HTMLEvents", "1.0": true, true
-"MutationEvents", "1.0": true, true
-"Range", "1.0": true, true
-"Traversal", "1.0": true, true
-"Core", "2.0": true, true
-"HTML", "2.0": true, true
-"XML", "2.0": true, true
-"Views", "2.0": true, true
-"StyleSheets", "2.0": true, true
-"CSS", "2.0": true, true
-"CSS2", "2.0": true, true
-"CSS3", "2.0": true, true
-"Events", "2.0": true, true
-"UIEvents", "2.0": true, true
-"MouseEvents", "2.0": true, true
-"HTMLEvents", "2.0": true, true
-"MutationEvents", "2.0": true, true
-"Range", "2.0": true, true
-"Traversal", "2.0": true, true
-"Core", "3.0": true, true
-"HTML", "3.0": true, true
-"XML", "3.0": true, true
-"Views", "3.0": true, true
-"StyleSheets", "3.0": true, true
-"CSS", "3.0": true, true
-"CSS2", "3.0": true, true
-"CSS3", "3.0": true, true
-"Events", "3.0": true, true
-"UIEvents", "3.0": true, true
-"MouseEvents", "3.0": true, true
-"HTMLEvents", "3.0": true, true
-"MutationEvents", "3.0": true, true
-"Range", "3.0": true, true
-"Traversal", "3.0": true, true
-"Core", "nonsense": true, true
-"HTML", "nonsense": true, true
-"XML", "nonsense": true, true
-"Views", "nonsense": true, true
-"StyleSheets", "nonsense": true, true
-"CSS", "nonsense": true, true
-"CSS2", "nonsense": true, true
-"CSS3", "nonsense": true, true
-"Events", "nonsense": true, true
-"UIEvents", "nonsense": true, true
-"MouseEvents", "nonsense": true, true
-"HTMLEvents", "nonsense": true, true
-"MutationEvents", "nonsense": true, true
-"Range", "nonsense": true, true
-"Traversal", "nonsense": true, true
-undefined, "": true, true
-undefined, "1.0": true, true
-undefined, "2.0": true, true
-undefined, "3.0": true, true
-undefined, "nonsense": true, true
-undefined, undefined: true, true
-undefined, null: true, true
-null, "": true, true
-null, "1.0": true, true
-null, "2.0": true, true
-null, "3.0": true, true
-null, "nonsense": true, true
-null, undefined: true, true
-null, null: true, true
-"nonsense", "": true, true
-"nonsense", "1.0": true, true
-"nonsense", "2.0": true, true
-"nonsense", "3.0": true, true
-"nonsense", "nonsense": true, true
-"nonsense", undefined: true, true
-"nonsense", null: true, true
+"Core", undefined: true
+"HTML", undefined: true
+"XML", undefined: true
+"Views", undefined: true
+"StyleSheets", undefined: true
+"CSS", undefined: true
+"CSS2", undefined: true
+"CSS3", undefined: true
+"Events", undefined: true
+"UIEvents", undefined: true
+"MouseEvents", undefined: true
+"HTMLEvents", undefined: true
+"MutationEvents", undefined: true
+"Range", undefined: true
+"Traversal", undefined: true
+"Core", null: true
+"HTML", null: true
+"XML", null: true
+"Views", null: true
+"StyleSheets", null: true
+"CSS", null: true
+"CSS2", null: true
+"CSS3", null: true
+"Events", null: true
+"UIEvents", null: true
+"MouseEvents", null: true
+"HTMLEvents", null: true
+"MutationEvents", null: true
+"Range", null: true
+"Traversal", null: true
+"Core", "": true
+"HTML", "": true
+"XML", "": true
+"Views", "": true
+"StyleSheets", "": true
+"CSS", "": true
+"CSS2", "": true
+"CSS3", "": true
+"Events", "": true
+"UIEvents", "": true
+"MouseEvents", "": true
+"HTMLEvents", "": true
+"MutationEvents", "": true
+"Range", "": true
+"Traversal", "": true
+"Core", "1.0": true
+"HTML", "1.0": true
+"XML", "1.0": true
+"Views", "1.0": true
+"StyleSheets", "1.0": true
+"CSS", "1.0": true
+"CSS2", "1.0": true
+"CSS3", "1.0": true
+"Events", "1.0": true
+"UIEvents", "1.0": true
+"MouseEvents", "1.0": true
+"HTMLEvents", "1.0": true
+"MutationEvents", "1.0": true
+"Range", "1.0": true
+"Traversal", "1.0": true
+"Core", "2.0": true
+"HTML", "2.0": true
+"XML", "2.0": true
+"Views", "2.0": true
+"StyleSheets", "2.0": true
+"CSS", "2.0": true
+"CSS2", "2.0": true
+"CSS3", "2.0": true
+"Events", "2.0": true
+"UIEvents", "2.0": true
+"MouseEvents", "2.0": true
+"HTMLEvents", "2.0": true
+"MutationEvents", "2.0": true
+"Range", "2.0": true
+"Traversal", "2.0": true
+"Core", "3.0": true
+"HTML", "3.0": true
+"XML", "3.0": true
+"Views", "3.0": true
+"StyleSheets", "3.0": true
+"CSS", "3.0": true
+"CSS2", "3.0": true
+"CSS3", "3.0": true
+"Events", "3.0": true
+"UIEvents", "3.0": true
+"MouseEvents", "3.0": true
+"HTMLEvents", "3.0": true
+"MutationEvents", "3.0": true
+"Range", "3.0": true
+"Traversal", "3.0": true
+"Core", "nonsense": true
+"HTML", "nonsense": true
+"XML", "nonsense": true
+"Views", "nonsense": true
+"StyleSheets", "nonsense": true
+"CSS", "nonsense": true
+"CSS2", "nonsense": true
+"CSS3", "nonsense": true
+"Events", "nonsense": true
+"UIEvents", "nonsense": true
+"MouseEvents", "nonsense": true
+"HTMLEvents", "nonsense": true
+"MutationEvents", "nonsense": true
+"Range", "nonsense": true
+"Traversal", "nonsense": true
+undefined, "": true
+undefined, "1.0": true
+undefined, "2.0": true
+undefined, "3.0": true
+undefined, "nonsense": true
+undefined, undefined: true
+undefined, null: true
+null, "": true
+null, "1.0": true
+null, "2.0": true
+null, "3.0": true
+null, "nonsense": true
+null, undefined: true
+null, null: true
+"nonsense", "": true
+"nonsense", "1.0": true
+"nonsense", "2.0": true
+"nonsense", "3.0": true
+"nonsense", "nonsense": true
+"nonsense", undefined: true
+"nonsense", null: true
diff --git a/LayoutTests/fast/dom/features.html b/LayoutTests/fast/dom/features.html
index 6c30f70..e3c0757 100644
--- a/LayoutTests/fast/dom/features.html
+++ b/LayoutTests/fast/dom/features.html
@@ -147,13 +147,10 @@
for (var i = 0; i < features.length; ++i)
{
var item = features[i];
- if (item[1] == "omitted") {
+ if (item[1] == "omitted")
var hasFeature = document.implementation.hasFeature(item[0]);
- var isSupported = document.body.isSupported(item[0]);
- } else {
+ else
var hasFeature = document.implementation.hasFeature(item[0], item[1]);
- var isSupported = document.body.isSupported(item[0], item[1]);
- }
var item0String = item[0];
if (typeof item0String == "string")
@@ -161,7 +158,7 @@
var item1String = item[1];
if (typeof item1String == "string" && item[1] != "omitted")
item1String = '"' + item1String + '"';
- var message = item0String + ', ' + item1String + ': ' + hasFeature + ', ' + isSupported;
+ var message = item0String + ', ' + item1String + ': ' + hasFeature;
var div = document.createElement('div');
div.innerHTML = message;
diff --git a/LayoutTests/imported/w3c/ChangeLog b/LayoutTests/imported/w3c/ChangeLog
index 32e375f..23d5eca 100644
--- a/LayoutTests/imported/w3c/ChangeLog
+++ b/LayoutTests/imported/w3c/ChangeLog
@@ -1,3 +1,14 @@
+2016-01-20 Chris Dumez <cdumez@apple.com>
+
+ Drop support for obsolete Node.isSupported()
+ https://bugs.webkit.org/show_bug.cgi?id=153164
+
+ Reviewed by Darin Adler.
+
+ Rebaseline W3C test now that one more check is passing.
+
+ * web-platform-tests/dom/historical-expected.txt:
+
2016-01-19 Chris Dumez <cdumez@apple.com>
DocumentType.publicId / systemId should never return null
diff --git a/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
index d0d191c..340cf10 100644
--- a/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
+++ b/LayoutTests/imported/w3c/web-platform-tests/dom/historical-expected.txt
@@ -47,9 +47,7 @@
FAIL Node member must be nuked: namespaceURI assert_equals: expected (undefined) undefined but got (object) null
FAIL Node member must be nuked: prefix assert_equals: expected (undefined) undefined but got (object) null
FAIL Node member must be nuked: localName assert_equals: expected (undefined) undefined but got (object) null
-FAIL Node member must be nuked: isSupported assert_equals: expected (undefined) undefined but got (function) function "function isSupported() {
- [native code]
-}"
+PASS Node member must be nuked: isSupported
PASS Node member must be nuked: getFeature
PASS Node member must be nuked: getUserData
PASS Node member must be nuked: setUserData
diff --git a/LayoutTests/svg/custom/svg-features-expected.txt b/LayoutTests/svg/custom/svg-features-expected.txt
index 05db8b7..58728fc 100644
--- a/LayoutTests/svg/custom/svg-features-expected.txt
+++ b/LayoutTests/svg/custom/svg-features-expected.txt
@@ -1,57 +1,57 @@
-"org.w3c.svg", "1.0": true, true
-"org.w3c.svg.static", "1.0": true, true
-"org.w3c.svg.animation", "1.0": false, false
-"org.w3c.svg.dynamic", "1.0": false, false
-"org.w3c.dom", "1.0": true, true
-"org.w3c.dom.svg", "1.0": true, true
-"org.w3c.dom.svg.static", "1.0": true, true
-"org.w3c.dom.svg.animation", "1.0": false, false
-"org.w3c.dom.svg.dynamic", "1.0": false, false
-"org.w3c.svg.all", "1.0": false, false
-"org.w3c.dom.svg.all", "1.0": false, false
-"http://www.w3.org/TR/SVG11/feature#SVG", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#SVGDOM", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#SVG-static", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#SVGDOM-static", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#SVG-animation", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#SVGDOM-animation", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#SVG-dynamic", "1.1": false, false
-"http://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic", "1.1": false, false
-"http://www.w3.org/TR/SVG11/feature#CoreAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Structure", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#ContainerAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#ConditionalProcessing", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Image", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Style", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#ViewportAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Shape", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Text", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BasicText", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#PaintAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BasicPaintAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#OpacityAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#GraphicsAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BaseGraphicsAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Marker", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#ColorProfile", "1.1": false, false
-"http://www.w3.org/TR/SVG11/feature#Gradient", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Pattern", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Clip", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BasicClip", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Mask", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Filter", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BasicFilter", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute", "1.1": false, false
-"http://www.w3.org/TR/SVG11/feature#Cursor", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Hyperlinking", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#XlinkAttribute", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#ExternalResourcesRequired", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#View", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Script", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Animation", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Font", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#BasicFont", "1.1": true, true
-"http://www.w3.org/TR/SVG11/feature#Extensibility", "1.1": true, true
+"org.w3c.svg", "1.0": true
+"org.w3c.svg.static", "1.0": true
+"org.w3c.svg.animation", "1.0": false
+"org.w3c.svg.dynamic", "1.0": false
+"org.w3c.dom", "1.0": true
+"org.w3c.dom.svg", "1.0": true
+"org.w3c.dom.svg.static", "1.0": true
+"org.w3c.dom.svg.animation", "1.0": false
+"org.w3c.dom.svg.dynamic", "1.0": false
+"org.w3c.svg.all", "1.0": false
+"org.w3c.dom.svg.all", "1.0": false
+"http://www.w3.org/TR/SVG11/feature#SVG", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#SVGDOM", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#SVG-static", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#SVGDOM-static", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#SVG-animation", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#SVGDOM-animation", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#SVG-dynamic", "1.1": false
+"http://www.w3.org/TR/SVG11/feature#SVGDOM-dynamic", "1.1": false
+"http://www.w3.org/TR/SVG11/feature#CoreAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Structure", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BasicStructure", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#ContainerAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#ConditionalProcessing", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Image", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Style", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#ViewportAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Shape", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Text", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BasicText", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#PaintAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BasicPaintAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#OpacityAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#GraphicsAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BaseGraphicsAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Marker", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#ColorProfile", "1.1": false
+"http://www.w3.org/TR/SVG11/feature#Gradient", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Pattern", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Clip", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BasicClip", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Mask", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Filter", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BasicFilter", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#DocumentEventsAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#GraphicalEventsAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#AnimationEventsAttribute", "1.1": false
+"http://www.w3.org/TR/SVG11/feature#Cursor", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Hyperlinking", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#XlinkAttribute", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#ExternalResourcesRequired", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#View", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Script", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Animation", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Font", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#BasicFont", "1.1": true
+"http://www.w3.org/TR/SVG11/feature#Extensibility", "1.1": true
diff --git a/LayoutTests/svg/custom/svg-features.html b/LayoutTests/svg/custom/svg-features.html
index e88e9cc..6004917 100644
--- a/LayoutTests/svg/custom/svg-features.html
+++ b/LayoutTests/svg/custom/svg-features.html
@@ -69,13 +69,10 @@
for (var i = 0; i < features.length; ++i)
{
var item = features[i];
- if (item[1] == "omitted") {
+ if (item[1] == "omitted")
var hasFeature = document.implementation.hasFeature(item[0]);
- var isSupported = document.body.isSupported(item[0]);
- } else {
+ else
var hasFeature = document.implementation.hasFeature(item[0], item[1]);
- var isSupported = document.body.isSupported(item[0], item[1]);
- }
var item0String = item[0];
if (typeof item0String == "string")
@@ -83,7 +80,7 @@
var item1String = item[1];
if (typeof item1String == "string" && item[1] != "omitted")
item1String = '"' + item1String + '"';
- var message = item0String + ', ' + item1String + ': ' + hasFeature + ', ' + isSupported;
+ var message = item0String + ', ' + item1String + ': ' + hasFeature;
var div = document.createElement('div');
div.innerHTML = message;
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index 6f55f3b..839cf66 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,20 @@
+2016-01-20 Chris Dumez <cdumez@apple.com>
+
+ Drop support for obsolete Node.isSupported()
+ https://bugs.webkit.org/show_bug.cgi?id=153164
+
+ Reviewed by Darin Adler.
+
+ Drop support for obsolete Node.isSupported(). Chrome and Firefox already
+ dropped it.
+
+ No new tests, already covered by existing test.
+
+ * dom/Node.cpp:
+ (WebCore::Node::isSupportedForBindings):
+ * dom/Node.h:
+ * dom/Node.idl:
+
2016-01-20 Carlos Garcia Campos <cgarcia@igalia.com>
Unreviewed. Fix compile warning when building with GTK+ < 3.14.
diff --git a/Source/WebCore/dom/Node.cpp b/Source/WebCore/dom/Node.cpp
index 5940a78..4ab52fb 100644
--- a/Source/WebCore/dom/Node.cpp
+++ b/Source/WebCore/dom/Node.cpp
@@ -83,7 +83,7 @@
using namespace HTMLNames;
-bool Node::isSupported(const String& feature, const String& version)
+bool Node::isSupportedForBindings(const String& feature, const String& version)
{
return DOMImplementation::hasFeature(feature, version);
}
diff --git a/Source/WebCore/dom/Node.h b/Source/WebCore/dom/Node.h
index 7b58f4f..8d32ffb 100644
--- a/Source/WebCore/dom/Node.h
+++ b/Source/WebCore/dom/Node.h
@@ -146,7 +146,8 @@
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC = 0x20,
};
- static bool isSupported(const String& feature, const String& version);
+ // Only used by ObjC / GObject bindings.
+ static bool isSupportedForBindings(const String& feature, const String& version);
WEBCORE_EXPORT static void startIgnoringLeaks();
WEBCORE_EXPORT static void stopIgnoringLeaks();
diff --git a/Source/WebCore/dom/Node.idl b/Source/WebCore/dom/Node.idl
index fa4871b..9f0cd5d 100644
--- a/Source/WebCore/dom/Node.idl
+++ b/Source/WebCore/dom/Node.idl
@@ -73,8 +73,10 @@
// Introduced in DOM Level 2:
- [ObjCLegacyUnnamedParameters] boolean isSupported([Default=Undefined] optional DOMString feature,
+#if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT
+ [ObjCLegacyUnnamedParameters, ImplementedAs=isSupportedForBindings] boolean isSupported([Default=Undefined] optional DOMString feature,
[TreatNullAs=NullString,Default=Undefined] optional DOMString version);
+#endif
[TreatReturnedNullStringAs=Null] readonly attribute DOMString namespaceURI;
[TreatReturnedNullStringAs=Null, TreatNullAs=NullString, SetterRaisesException] attribute DOMString prefix;