initial checkin of the DOM-TS Level 2 HTML testcases converted into mochitests, the work is based on what rsayrer has done for the other dom test suites The main difference is that there is exeption.js, todos are marked in the testcases themself. bug 421674 a=testonly

This commit is contained in:
bmlk@gmx.de 2008-03-29 12:06:20 -07:00
parent 26e040e744
commit ed20cc197e
902 changed files with 107697 additions and 0 deletions

View File

@ -0,0 +1,695 @@
/*
Copyright (c) 2001-2005 World Wide Web Consortium,
(Massachusetts Institute of Technology, Institut National de
Recherche en Informatique et en Automatique, Keio University). All
Rights Reserved. This program is distributed under the W3C's Software
Intellectual Property License. This program is distributed 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.
See W3C License http://www.w3.org/Consortium/Legal/ for more details.
*/
function assertNull(descr, actual) {
return ok(actual === null, descr);
}
function assertNotNull(descr, actual) {
return ok(actual !== null, descr);
}
function assertTrue(descr, actual) {
return ok(actual === true, descr);
}
function assertFalse(descr, actual) {
return ok(actual === false, descr);
}
function assertEquals(descr, expected, actual) {
return is(actual, expected, descr);
}
function assertSize(descr, expected, actual) {
var actualSize;
ok(actual !== null, descr);
actualSize = actual.length;
is(actualSize, expected, descr);
}
function assertEqualsAutoCase(context, descr, expected, actual) {
if (builder.contentType == "text/html") {
if(context == "attribute") {
is(actual.toLowerCase(), expected.toLowerCase(), descr);
} else {
is(actual, expected.toUpperCase(), descr);
}
} else {
is(actual, expected, descr);
}
}
function assertEqualsCollectionAutoCase(context, descr, expected, actual) {
//
// if they aren't the same size, they aren't equal
is(actual.length, expected.length, descr);
//
// if there length is the same, then every entry in the expected list
// must appear once and only once in the actual list
var expectedLen = expected.length;
var expectedValue;
var actualLen = actual.length;
var i;
var j;
var matches;
for(i = 0; i < expectedLen; i++) {
matches = 0;
expectedValue = expected[i];
for(j = 0; j < actualLen; j++) {
if (builder.contentType == "text/html") {
if (context == "attribute") {
if (expectedValue.toLowerCase() == actual[j].toLowerCase()) {
matches++;
}
} else {
if (expectedValue.toUpperCase() == actual[j]) {
matches++;
}
}
} else {
if(expectedValue == actual[j]) {
matches++;
}
}
}
if(matches == 0) {
ok(false, descr + ": No match found for " + expectedValue);
}
if(matches > 1) {
ok(false, descr + ": Multiple matches found for " + expectedValue);
}
}
}
function assertEqualsCollection(descr, expected, actual) {
//
// if they aren't the same size, they aren't equal
is(actual.length, expected.length, descr);
//
// if there length is the same, then every entry in the expected list
// must appear once and only once in the actual list
var expectedLen = expected.length;
var expectedValue;
var actualLen = actual.length;
var i;
var j;
var matches;
for(i = 0; i < expectedLen; i++) {
matches = 0;
expectedValue = expected[i];
for(j = 0; j < actualLen; j++) {
if(expectedValue == actual[j]) {
matches++;
}
}
if(matches == 0) {
ok(false, descr + ": No match found for " + expectedValue);
}
if(matches > 1) {
ok(false, descr + ": Multiple matches found for " + expectedValue);
}
}
}
function assertEqualsListAutoCase(context, descr, expected, actual) {
var minLength = expected.length;
if (actual.length < minLength) {
minLength = actual.length;
}
//
for(var i = 0; i < minLength; i++) {
assertEqualsAutoCase(context, descr, expected[i], actual[i]);
}
//
// if they aren't the same size, they aren't equal
is(actual.length, expected.length, descr);
}
function assertEqualsList(descr, expected, actual) {
var minLength = expected.length;
if (actual.length < minLength) {
minLength = actual.length;
}
//
for(var i = 0; i < minLength; i++) {
if(expected[i] != actual[i]) {
is(actual[i], expected[i], descr);
}
}
//
// if they aren't the same size, they aren't equal
is(actual.length, expected.length, descr);
}
function assertInstanceOf(descr, type, obj) {
if(type == "Attr") {
is(2, obj.nodeType, descr);
var specd = obj.specified;
}
}
function assertSame(descr, expected, actual) {
if(expected != actual) {
is(expected.nodeType, actual.nodeType, descr);
is(expected.nodeValue, actual.nodeValue, descr);
}
}
function assertURIEquals(assertID, scheme, path, host, file, name, query, fragment, isAbsolute, actual) {
//
// URI must be non-null
ok(assertID && actual);
var uri = actual;
var lastPound = actual.lastIndexOf("#");
var actualFragment = "";
if(lastPound != -1) {
//
// substring before pound
//
uri = actual.substring(0,lastPound);
actualFragment = actual.substring(lastPound+1);
}
if(fragment != null) is(actualFragment, fragment, assertID);
var lastQuestion = uri.lastIndexOf("?");
var actualQuery = "";
if(lastQuestion != -1) {
//
// substring before pound
//
uri = actual.substring(0,lastQuestion);
actualQuery = actual.substring(lastQuestion+1);
}
if(query != null) is(actualQuery, query, assertID);
var firstColon = uri.indexOf(":");
var firstSlash = uri.indexOf("/");
var actualPath = uri;
var actualScheme = "";
if(firstColon != -1 && firstColon < firstSlash) {
actualScheme = uri.substring(0,firstColon);
actualPath = uri.substring(firstColon + 1);
}
if(scheme != null) {
is(scheme, actualScheme, assertID);
}
if(path != null) {
is(path, actualPath, assertID);
}
if(host != null) {
var actualHost = "";
if(actualPath.substring(0,2) == "//") {
var termSlash = actualPath.substring(2).indexOf("/") + 2;
actualHost = actualPath.substring(0,termSlash);
}
is(actualHost, host, assertID);
}
if(file != null || name != null) {
var actualFile = actualPath;
var finalSlash = actualPath.lastIndexOf("/");
if(finalSlash != -1) {
actualFile = actualPath.substring(finalSlash+1);
}
if (file != null) {
is(actualFile, file, assertID);
}
if (name != null) {
var actualName = actualFile;
var finalDot = actualFile.lastIndexOf(".");
if (finalDot != -1) {
actualName = actualName.substring(0, finalDot);
}
is(actualName, name, assertID);
}
}
if(isAbsolute != null) {
is(actualPath.substring(0,1) == "/", isAbsolute, assertID);
}
}
// size() used by assertSize element
function size(collection)
{
return collection.length;
}
function same(expected, actual)
{
return expected === actual;
}
function getSuffix(contentType) {
switch(contentType) {
case "text/html":
return ".html";
case "text/xml":
return ".xml";
case "application/xhtml+xml":
return ".xhtml";
case "image/svg+xml":
return ".svg";
case "text/mathml":
return ".mml";
}
return ".html";
}
function equalsAutoCase(context, expected, actual) {
if (builder.contentType == "text/html") {
if (context == "attribute") {
return expected.toLowerCase() == actual;
}
return expected.toUpperCase() == actual;
}
return expected == actual;
}
function catchInitializationError(blder, ex) {
if (blder == null) {
alert(ex);
} else {
blder.initializationError = ex;
blder.initializationFatalError = ex;
}
}
function checkInitialization(blder, testname) {
if (blder.initializationError != null) {
if (blder.skipIncompatibleTests) {
warn(testname + " not run:" + blder.initializationError);
return blder.initializationError;
} else {
//
// if an exception was thrown
// rethrow it and do not run the test
if (blder.initializationFatalError != null) {
throw blder.initializationFatalError;
} else {
//
// might be recoverable, warn but continue the test
// XXX warn
warn(testname + ": " + blder.initializationError);
}
}
}
return null;
}
function createTempURI(scheme) {
if (scheme == "http") {
return "http://localhost:8080/webdav/tmp" + Math.floor(Math.random() * 100000) + ".xml";
}
return "file:///tmp/domts" + Math.floor(Math.random() * 100000) + ".xml";
}
function EventMonitor() {
this.atEvents = new Array();
this.bubbledEvents = new Array();
this.capturedEvents = new Array();
this.allEvents = new Array();
}
EventMonitor.prototype.handleEvent = function(evt) {
switch(evt.eventPhase) {
case 1:
monitor.capturedEvents[monitor.capturedEvents.length] = evt;
break;
case 2:
monitor.atEvents[monitor.atEvents.length] = evt;
break;
case 3:
monitor.bubbledEvents[monitor.bubbledEvents.length] = evt;
break;
}
monitor.allEvents[monitor.allEvents.length] = evt;
}
function DOMErrorImpl(err) {
this.severity = err.severity;
this.message = err.message;
this.type = err.type;
this.relatedException = err.relatedException;
this.relatedData = err.relatedData;
this.location = err.location;
}
function DOMErrorMonitor() {
this.allErrors = new Array();
}
DOMErrorMonitor.prototype.handleError = function(err) {
errorMonitor.allErrors[errorMonitor.allErrors.length] = new DOMErrorImpl(err);
}
DOMErrorMonitor.prototype.assertLowerSeverity = function(id, severity) {
var i;
for (i = 0; i < errorMonitor.allErrors.length; i++) {
if (errorMonitor.allErrors[i].severity >= severity) {
assertEquals(id, severity - 1, errorMonitor.allErrors[i].severity);
}
}
}
function UserDataNotification(operation, key, data, src, dst) {
this.operation = operation;
this.key = key;
this.data = data;
this.src = src;
this.dst = dst;
}
function UserDataMonitor() {
this.allNotifications = new Array();
}
UserDataMonitor.prototype.handle = function(operation, key, data, src, dst) {
userDataMonitor.allNotifications[this.allNotifications.length] =
new UserDataNotification(operation, key, data, src, dst);
}
function IFrameBuilder() {
this.contentType = "text/html";
this.supportedContentTypes = [ "text/html",
"text/xml",
"image/svg+xml",
"application/xhtml+xml" ];
this.supportsAsyncChange = false;
this.async = true;
this.fixedAttributeNames = [
"validating", "expandEntityReferences", "coalescing",
"signed", "hasNullString", "ignoringElementContentWhitespace", "namespaceAware", "ignoringComments", "schemaValidating"];
this.fixedAttributeValues = [false, true, false, true, true , false, false, true, false ];
this.configurableAttributeNames = [ ];
this.configurableAttributeValues = [ ];
this.initializationError = null;
this.initializationFatalError = null;
this.skipIncompatibleTests = false;
}
IFrameBuilder.prototype.hasFeature = function(feature, version) {
return document.implementation.hasFeature(feature, version);
}
IFrameBuilder.prototype.getImplementation = function() {
return document.implementation;
}
IFrameBuilder.prototype.setContentType = function(contentType) {
this.contentType = contentType;
if (contentType == "text/html") {
this.fixedAttributeValues[6] = false;
} else {
this.fixedAttributeValues[6] = true;
}
}
IFrameBuilder.prototype.preload = function(frame, varname, url) {
var suffix;
if (this.contentType == "text/html" ||
this.contentType == "application/xhtml+xml") {
if (url.substring(0,5) == "staff" || url == "nodtdstaff" ||
url == "datatype_normalization") {
suffix = ".xml";
}
}
if (!suffix) suffix = getSuffix(this.contentType);
var iframe = document.createElement("iframe");
var srcname = url + suffix;
iframe.setAttribute("name", srcname);
iframe.setAttribute("src", fileBase + srcname);
//
// HTML and XHTML have onload attributes that will invoke loadComplete
//
if (suffix.indexOf("html") < 0) {
iframe.addEventListener("load", loadComplete, false);
}
document.getElementsByTagName("body").item(0).appendChild(iframe);
return 0;
}
IFrameBuilder.prototype.load = function(frame, varname, url) {
var suffix;
if (url.substring(0,5) == "staff" || url == "nodtdstaff" || url == "datatype_normalization") {
suffix = ".xml";
}
if (!suffix) suffix = getSuffix(this.contentType);
var name = url + suffix;
var iframes = document.getElementsByTagName("iframe");
for(var i = 0; i < iframes.length; i++) {
if (iframes.item(i).getAttribute("name") == name) {
var item = iframes.item(i);
if (typeof(item.contentDocument) != 'undefined') {
return item.contentDocument;
}
if (typeof(item.document) != 'undefined') {
return item.document;
}
return null;
}
}
return null;
}
IFrameBuilder.prototype.getImplementationAttribute = function(attr) {
for (var i = 0; i < this.fixedAttributeNames.length; i++) {
if (this.fixedAttributeNames[i] == attr) {
return this.fixedAttributeValues[i];
}
}
throw "Unrecognized implementation attribute: " + attr;
}
IFrameBuilder.prototype.setImplementationAttribute = function(attribute, value) {
var supported = this.getImplementationAttribute(attribute);
if (supported != value) {
this.initializationError = "IFrame loader does not support " + attribute + "=" + value;
}
}
IFrameBuilder.prototype.canSetImplementationAttribute = function(attribute, value) {
var supported = this.getImplementationAttribute(attribute);
return (supported == value);
}
function createBuilder(implementation) {
if (implementation == null) {
return new IFrameBuilder();
}
switch(implementation) {
/* case "msxml3":
return new MSXMLBuilder("Msxml2.DOMDocument.3.0");
case "msxml4":
return new MSXMLBuilder("Msxml2.DOMDocument.4.0");*/
case "mozillaXML":
return new MozillaXMLBuilder();
/*
case "svgplugin":
return new SVGPluginBuilder();
case "dom3ls":
return new DOM3LSBuilder(); */
case "iframe":
return new IFrameBuilder();
case "xmlhttprequest":
return new XMLHttpRequestBuilder();
default:
alert ("unrecognized implementation " + implementation);
}
return new IFrameBuilder();
}
function checkFeature(feature, version)
{
if (!builder.hasFeature(feature, version))
{
//
// don't throw exception so that users can select to ignore the precondition
//
builder.initializationError = "builder does not support feature " + feature + " version " + version;
}
}
function createConfiguredBuilder() {
var builder = null;
var contentType = null;
var i;
var contentTypeSet = false;
var parm = null;
builder = new IFrameBuilder();
return builder;
}
function preload(frame, varname, url) {
return builder.preload(frame, varname, url);
}
function load(frame, varname, url) {
return builder.load(frame, varname, url);
}
function getImplementationAttribute(attr) {
return builder.getImplementationAttribute(attr);
}
function setImplementationAttribute(attribute, value) {
builder.setImplementationAttribute(attribute, value);
}
function setAsynchronous(value) {
if (builder.supportsAsyncChange) {
builder.async = value;
} else {
update();
}
}
function createXPathEvaluator(doc) {
try {
return doc.getFeature("XPath", null);
}
catch(ex) {
}
return doc;
}
function toLowerArray(src) {
var newArray = new Array();
var i;
for (i = 0; i < src.length; i++) {
newArray[i] = src[i].toLowerCase();
}
return newArray;
}
function MSXMLBuilder_onreadystatechange() {
if (builder.parser.readyState == 4) {
loadComplete();
}
}
var fileBase = location.href;
if (fileBase.indexOf('?') != -1) {
fileBase = fileBase.substring(0, fileBase.indexOf('?'));
}
fileBase = fileBase.substring(0, fileBase.lastIndexOf('/') + 1) + "files/";
function getResourceURI(name, scheme, contentType) {
return fileBase + name + getSuffix(contentType);
}
function getImplementation() {
return builder.getImplementation();
}
//sayrer override the SimpleTest logger
SimpleTest._logResult = function(test, passString, failString) {
var msg = test.result ? passString : failString;
msg += " | " + test.name;
if (test.result) {
if (test.todo)
parentRunner.logger.error(msg)
else
parentRunner.logger.log(msg);
} else {
msg += " | " + test.diag;
if (test.todo) {
parentRunner.logger.log(msg)
} else {
// if (todoTests[docName]) {
// parentRunner.logger.log("expected error in todo testcase | " + test.name);
//} else {
parentRunner.logger.error(msg);
//}
}
}
}
window.doc = window;
SimpleTest.waitForExplicitFinish();
addLoadEvent(function(){ setUpPage(); });
function testFails (test) {
if (!test.result) {
test.todo = true;
return true;
}
return false;
}
function markTodos() {
if (todoTests[docName]) {
// mark the failures as todos
var failures = filter(testFails, SimpleTest._tests);
// shouldn't be 0 failures
todo(SimpleTest._tests != 0 && failures == 0, "test marked todo should fail somewhere");
}
}
function runJSUnitTests() {
builder = createConfiguredBuilder();
try {
forEach(exposeTestFunctionNames(),
function (testName) {
window[testName]();
}
);
} catch (ex) {
//if (todoTests[docName]) {
// todo(false, "Text threw exception: " + ex);
//} else {
ok(false, "Test threw exception: " + ex);
//}
}
}

View File

@ -0,0 +1,760 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Mozilla Foundation.
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/tests/mochitest/dom-level2-html
include $(DEPTH)/config/autoconf.mk
DIRS = files
include $(topsrcdir)/config/rules.mk
_TEST_FILES_A = \
DOMTestCase.js \
test_anchor01.html \
test_anchor02.html \
test_anchor03.html \
test_anchor04.html \
test_anchor05.html \
test_anchor06.html \
test_area01.html \
test_area02.html \
test_area03.html \
test_area04.html \
test_basefont01.html \
test_body01.html \
test_button01.html \
test_button02.html \
test_button03.html \
test_button04.html \
test_button05.html \
test_button06.html \
test_button07.html \
test_button08.html \
test_button09.html \
test_dlist01.html \
test_doc01.html \
test_HTMLAnchorElement01.html \
test_HTMLAnchorElement02.html \
test_HTMLAnchorElement03.html \
test_HTMLAnchorElement04.html \
test_HTMLAnchorElement05.html \
test_HTMLAnchorElement06.html \
test_HTMLAnchorElement07.html \
test_HTMLAnchorElement08.html \
test_HTMLAnchorElement09.html \
test_HTMLAnchorElement10.html \
test_HTMLAnchorElement11.html \
test_HTMLAnchorElement12.html \
test_HTMLAnchorElement13.html \
test_HTMLAnchorElement14.html \
test_HTMLAreaElement01.html \
test_HTMLAreaElement02.html \
test_HTMLAreaElement03.html \
test_HTMLAreaElement04.html \
test_HTMLAreaElement05.html \
test_HTMLAreaElement06.html \
test_HTMLAreaElement07.html \
test_HTMLAreaElement08.html \
test_HTMLBaseElement01.html \
test_HTMLBaseElement02.html \
test_HTMLBaseFontElement01.html \
test_HTMLBaseFontElement02.html \
test_HTMLBaseFontElement03.html \
test_HTMLBodyElement01.html \
test_HTMLBodyElement02.html \
test_HTMLBodyElement03.html \
test_HTMLBodyElement04.html \
test_HTMLBodyElement05.html \
test_HTMLBodyElement06.html \
test_HTMLBodyElement07.html \
test_HTMLBodyElement08.html \
test_HTMLBodyElement09.html \
test_HTMLBodyElement10.html \
test_HTMLBodyElement11.html \
test_HTMLBodyElement12.html \
test_HTMLBRElement01.html \
test_HTMLButtonElement01.html \
test_HTMLButtonElement02.html \
test_HTMLButtonElement03.html \
test_HTMLButtonElement04.html \
test_HTMLButtonElement05.html \
test_HTMLButtonElement06.html \
test_HTMLButtonElement07.html \
test_HTMLButtonElement08.html \
test_HTMLCollection01.html \
test_HTMLCollection02.html \
test_HTMLCollection03.html \
test_HTMLCollection04.html \
test_HTMLCollection05.html \
test_HTMLCollection06.html \
test_HTMLCollection07.html \
test_HTMLCollection08.html \
test_HTMLCollection09.html \
test_HTMLCollection10.html \
test_HTMLCollection11.html \
test_HTMLCollection12.html \
$(NULL)
_TEST_FILES_B = \
test_HTMLDirectoryElement01.html \
test_HTMLDivElement01.html \
test_HTMLDlistElement01.html \
test_HTMLDocument01.html \
test_HTMLDocument02.html \
test_HTMLDocument03.html \
test_HTMLDocument04.html \
test_HTMLDocument05.html \
test_HTMLDocument07.html \
test_HTMLDocument08.html \
test_HTMLDocument09.html \
test_HTMLDocument10.html \
test_HTMLDocument11.html \
test_HTMLDocument12.html \
test_HTMLDocument13.html \
test_HTMLDocument14.html \
test_HTMLDocument15.html \
test_HTMLDocument16.html \
test_HTMLDocument17.html \
test_HTMLDocument18.html \
test_HTMLDocument19.html \
test_HTMLDocument20.html \
test_HTMLDocument21.html \
test_HTMLDocument22.html \
test_HTMLDocument23.html \
test_HTMLDocument24.html \
test_HTMLDocument25.html \
test_HTMLDocument26.html \
test_HTMLDocument27.html \
test_HTMLElement01.html \
test_HTMLElement02.html \
test_HTMLElement03.html \
test_HTMLElement04.html \
test_HTMLElement05.html \
test_HTMLElement06.html \
test_HTMLElement07.html \
test_HTMLElement08.html \
test_HTMLElement09.html \
test_HTMLElement10.html \
test_HTMLElement100.html \
test_HTMLElement101.html \
test_HTMLElement102.html \
test_HTMLElement103.html \
test_HTMLElement104.html \
test_HTMLElement105.html \
test_HTMLElement106.html \
test_HTMLElement107.html \
test_HTMLElement108.html \
test_HTMLElement109.html \
test_HTMLElement11.html \
test_HTMLElement110.html \
test_HTMLElement111.html \
test_HTMLElement112.html \
test_HTMLElement113.html \
test_HTMLElement114.html \
test_HTMLElement115.html \
test_HTMLElement116.html \
test_HTMLElement117.html \
test_HTMLElement118.html \
test_HTMLElement119.html \
test_HTMLElement12.html \
test_HTMLElement120.html \
test_HTMLElement121.html \
test_HTMLElement122.html \
test_HTMLElement123.html \
test_HTMLElement124.html \
test_HTMLElement125.html \
test_HTMLElement126.html \
test_HTMLElement127.html \
test_HTMLElement128.html \
test_HTMLElement129.html \
test_HTMLElement13.html \
test_HTMLElement130.html \
test_HTMLElement131.html \
test_HTMLElement132.html \
test_HTMLElement133.html \
test_HTMLElement134.html \
test_HTMLElement135.html \
test_HTMLElement136.html \
test_HTMLElement137.html \
test_HTMLElement138.html \
test_HTMLElement139.html \
test_HTMLElement14.html \
test_HTMLElement140.html \
test_HTMLElement141.html \
test_HTMLElement142.html \
test_HTMLElement143.html \
test_HTMLElement144.html \
test_HTMLElement145.html \
test_HTMLElement15.html \
test_HTMLElement16.html \
test_HTMLElement17.html \
test_HTMLElement18.html \
test_HTMLElement19.html \
test_HTMLElement20.html \
test_HTMLElement21.html \
test_HTMLElement22.html \
test_HTMLElement23.html \
test_HTMLElement24.html \
test_HTMLElement25.html \
test_HTMLElement26.html \
test_HTMLElement27.html \
test_HTMLElement28.html \
test_HTMLElement29.html \
test_HTMLElement30.html \
test_HTMLElement31.html \
test_HTMLElement32.html \
test_HTMLElement33.html \
test_HTMLElement34.html \
test_HTMLElement35.html \
test_HTMLElement36.html \
test_HTMLElement37.html \
test_HTMLElement38.html \
test_HTMLElement39.html \
test_HTMLElement40.html \
test_HTMLElement41.html \
test_HTMLElement42.html \
test_HTMLElement43.html \
test_HTMLElement44.html \
test_HTMLElement45.html \
test_HTMLElement46.html \
test_HTMLElement47.html \
test_HTMLElement48.html \
test_HTMLElement49.html \
test_HTMLElement50.html \
test_HTMLElement51.html \
test_HTMLElement52.html \
test_HTMLElement53.html \
test_HTMLElement54.html \
test_HTMLElement55.html \
test_HTMLElement56.html \
test_HTMLElement57.html \
test_HTMLElement58.html \
test_HTMLElement59.html \
test_HTMLElement60.html \
test_HTMLElement61.html \
test_HTMLElement62.html \
test_HTMLElement63.html \
test_HTMLElement64.html \
test_HTMLElement65.html \
test_HTMLElement66.html \
test_HTMLElement67.html \
test_HTMLElement68.html \
test_HTMLElement69.html \
test_HTMLElement70.html \
test_HTMLElement71.html \
test_HTMLElement72.html \
test_HTMLElement73.html \
test_HTMLElement74.html \
test_HTMLElement75.html \
test_HTMLElement76.html \
test_HTMLElement77.html \
test_HTMLElement78.html \
test_HTMLElement79.html \
test_HTMLElement80.html \
test_HTMLElement81.html \
test_HTMLElement82.html \
test_HTMLElement83.html \
test_HTMLElement84.html \
test_HTMLElement85.html \
test_HTMLElement86.html \
test_HTMLElement87.html \
test_HTMLElement88.html \
test_HTMLElement89.html \
test_HTMLElement90.html \
test_HTMLElement91.html \
test_HTMLElement92.html \
test_HTMLElement93.html \
test_HTMLElement94.html \
test_HTMLElement95.html \
test_HTMLElement96.html \
test_HTMLElement97.html \
test_HTMLElement98.html \
test_HTMLElement99.html \
$(NULL)
_TEST_FILES_C = \
test_HTMLFieldSetElement01.html \
test_HTMLFieldSetElement02.html \
test_HTMLFontElement01.html \
test_HTMLFontElement02.html \
test_HTMLFontElement03.html \
test_HTMLFormElement01.html \
test_HTMLFormElement02.html \
test_HTMLFormElement03.html \
test_HTMLFormElement04.html \
test_HTMLFormElement05.html \
test_HTMLFormElement06.html \
test_HTMLFormElement07.html \
test_HTMLFormElement08.html \
test_HTMLFormElement09.html \
test_HTMLFormElement10.html \
test_HTMLFrameElement01.html \
test_HTMLFrameElement02.html \
test_HTMLFrameElement03.html \
test_HTMLFrameElement04.html \
test_HTMLFrameElement05.html \
test_HTMLFrameElement06.html \
test_HTMLFrameElement07.html \
test_HTMLFrameElement08.html \
test_HTMLFrameElement09.html \
test_HTMLFrameSetElement01.html \
test_HTMLFrameSetElement02.html \
test_HTMLHeadElement01.html \
test_HTMLHeadingElement01.html \
test_HTMLHeadingElement02.html \
test_HTMLHeadingElement03.html \
test_HTMLHeadingElement04.html \
test_HTMLHeadingElement05.html \
test_HTMLHeadingElement06.html \
test_HTMLHRElement01.html \
test_HTMLHRElement02.html \
test_HTMLHRElement03.html \
test_HTMLHRElement04.html \
test_HTMLHtmlElement01.html \
test_HTMLIFrameElement01.html \
test_HTMLIFrameElement02.html \
test_HTMLIFrameElement03.html \
test_HTMLIFrameElement04.html \
test_HTMLIFrameElement05.html \
test_HTMLIFrameElement06.html \
test_HTMLIFrameElement07.html \
test_HTMLIFrameElement08.html \
test_HTMLIFrameElement09.html \
test_HTMLIFrameElement10.html \
test_HTMLIFrameElement11.html \
test_HTMLImageElement01.html \
test_HTMLImageElement02.html \
test_HTMLImageElement03.html \
test_HTMLImageElement04.html \
test_HTMLImageElement05.html \
test_HTMLImageElement06.html \
test_HTMLImageElement07.html \
test_HTMLImageElement08.html \
test_HTMLImageElement09.html \
test_HTMLImageElement10.html \
test_HTMLImageElement11.html \
test_HTMLImageElement12.html \
test_HTMLInputElement01.html \
test_HTMLInputElement02.html \
test_HTMLInputElement03.html \
test_HTMLInputElement04.html \
test_HTMLInputElement05.html \
test_HTMLInputElement06.html \
test_HTMLInputElement07.html \
test_HTMLInputElement08.html \
test_HTMLInputElement09.html \
test_HTMLInputElement10.html \
test_HTMLInputElement11.html \
test_HTMLInputElement12.html \
test_HTMLInputElement13.html \
test_HTMLInputElement14.html \
test_HTMLInputElement15.html \
test_HTMLInputElement16.html \
test_HTMLInputElement17.html \
test_HTMLInputElement18.html \
test_HTMLInputElement19.html \
test_HTMLInputElement20.html \
test_HTMLInputElement21.html \
test_HTMLInputElement22.html \
test_HTMLIsIndexElement01.html \
test_HTMLIsIndexElement02.html \
test_HTMLIsIndexElement03.html \
test_HTMLLabelElement01.html \
test_HTMLLabelElement02.html \
test_HTMLLabelElement03.html \
test_HTMLLabelElement04.html \
test_HTMLLegendElement01.html \
test_HTMLLegendElement02.html \
test_HTMLLegendElement03.html \
test_HTMLLegendElement04.html \
test_HTMLLIElement01.html \
test_HTMLLIElement02.html \
test_HTMLLinkElement01.html \
test_HTMLLinkElement02.html \
test_HTMLLinkElement03.html \
test_HTMLLinkElement04.html \
test_HTMLLinkElement05.html \
test_HTMLLinkElement06.html \
test_HTMLLinkElement07.html \
test_HTMLLinkElement08.html \
test_HTMLLinkElement09.html \
test_HTMLMapElement01.html \
test_HTMLMapElement02.html \
test_HTMLMenuElement01.html \
test_HTMLMetaElement01.html \
test_HTMLMetaElement02.html \
test_HTMLMetaElement03.html \
test_HTMLMetaElement04.html \
test_HTMLModElement01.html \
test_HTMLModElement02.html \
test_HTMLModElement03.html \
test_HTMLModElement04.html \
$(NULL)
_TEST_FILES_D = \
test_HTMLObjectElement01.html \
test_HTMLObjectElement02.html \
test_HTMLObjectElement03.html \
test_HTMLObjectElement04.html \
test_HTMLObjectElement05.html \
test_HTMLObjectElement06.html \
test_HTMLObjectElement07.html \
test_HTMLObjectElement08.html \
test_HTMLObjectElement09.html \
test_HTMLObjectElement10.html \
test_HTMLObjectElement11.html \
test_HTMLObjectElement12.html \
test_HTMLObjectElement13.html \
test_HTMLObjectElement14.html \
test_HTMLObjectElement15.html \
test_HTMLObjectElement16.html \
test_HTMLObjectElement17.html \
test_HTMLObjectElement18.html \
test_HTMLObjectElement19.html \
test_HTMLObjectElement20.html \
test_HTMLOListElement01.html \
test_HTMLOListElement02.html \
test_HTMLOListElement03.html \
test_HTMLOptGroupElement01.html \
test_HTMLOptGroupElement02.html \
test_HTMLOptionElement01.html \
test_HTMLOptionElement02.html \
test_HTMLOptionElement03.html \
test_HTMLOptionElement04.html \
test_HTMLOptionElement05.html \
test_HTMLOptionElement06.html \
test_HTMLOptionElement07.html \
test_HTMLOptionElement08.html \
test_HTMLOptionElement09.html \
test_HTMLOptionsCollection01.html \
test_HTMLOptionsCollection02.html \
test_HTMLOptionsCollection03.html \
test_HTMLOptionsCollection04.html \
test_HTMLOptionsCollection05.html \
test_HTMLOptionsCollection06.html \
test_HTMLOptionsCollection07.html \
test_HTMLParagraphElement01.html \
test_HTMLParamElement01.html \
test_HTMLParamElement02.html \
test_HTMLParamElement03.html \
test_HTMLParamElement04.html \
test_HTMLPreElement01.html \
test_HTMLQuoteElement01.html \
test_HTMLQuoteElement02.html \
test_HTMLScriptElement01.html \
test_HTMLScriptElement02.html \
test_HTMLScriptElement03.html \
test_HTMLScriptElement04.html \
test_HTMLScriptElement05.html \
test_HTMLScriptElement06.html \
test_HTMLScriptElement07.html \
test_HTMLSelectElement01.html \
test_HTMLSelectElement02.html \
test_HTMLSelectElement03.html \
test_HTMLSelectElement04.html \
test_HTMLSelectElement05.html \
test_HTMLSelectElement06.html \
test_HTMLSelectElement07.html \
test_HTMLSelectElement08.html \
test_HTMLSelectElement09.html \
test_HTMLSelectElement10.html \
test_HTMLSelectElement11.html \
test_HTMLSelectElement12.html \
test_HTMLSelectElement13.html \
test_HTMLSelectElement14.html \
test_HTMLSelectElement15.html \
test_HTMLSelectElement16.html \
test_HTMLSelectElement17.html \
test_HTMLSelectElement18.html \
test_HTMLSelectElement19.html \
test_HTMLSelectElement20.html \
test_HTMLStyleElement01.html \
test_HTMLStyleElement02.html \
test_HTMLStyleElement03.html \
test_HTMLTableCaptionElement01.html \
test_HTMLTableCellElement01.html \
test_HTMLTableCellElement02.html \
test_HTMLTableCellElement03.html \
test_HTMLTableCellElement04.html \
test_HTMLTableCellElement05.html \
test_HTMLTableCellElement06.html \
test_HTMLTableCellElement07.html \
test_HTMLTableCellElement08.html \
test_HTMLTableCellElement09.html \
test_HTMLTableCellElement10.html \
test_HTMLTableCellElement11.html \
test_HTMLTableCellElement12.html \
test_HTMLTableCellElement13.html \
test_HTMLTableCellElement14.html \
test_HTMLTableCellElement15.html \
test_HTMLTableCellElement16.html \
test_HTMLTableCellElement17.html \
test_HTMLTableCellElement18.html \
test_HTMLTableCellElement19.html \
test_HTMLTableCellElement20.html \
test_HTMLTableCellElement21.html \
test_HTMLTableCellElement22.html \
test_HTMLTableCellElement23.html \
test_HTMLTableCellElement24.html \
test_HTMLTableCellElement25.html \
test_HTMLTableCellElement26.html \
test_HTMLTableCellElement27.html \
test_HTMLTableCellElement28.html \
test_HTMLTableCellElement29.html \
test_HTMLTableCellElement30.html \
test_HTMLTableColElement01.html \
test_HTMLTableColElement02.html \
test_HTMLTableColElement03.html \
test_HTMLTableColElement04.html \
test_HTMLTableColElement05.html \
test_HTMLTableColElement06.html \
test_HTMLTableColElement07.html \
test_HTMLTableColElement08.html \
test_HTMLTableColElement09.html \
test_HTMLTableColElement10.html \
test_HTMLTableColElement11.html \
test_HTMLTableColElement12.html \
test_HTMLTableElement01.html \
test_HTMLTableElement02.html \
test_HTMLTableElement03.html \
test_HTMLTableElement04.html \
test_HTMLTableElement05.html \
test_HTMLTableElement06.html \
test_HTMLTableElement07.html \
test_HTMLTableElement08.html \
test_HTMLTableElement09.html \
test_HTMLTableElement10.html \
test_HTMLTableElement11.html \
test_HTMLTableElement12.html \
test_HTMLTableElement13.html \
test_HTMLTableElement14.html \
test_HTMLTableElement15.html \
test_HTMLTableElement16.html \
test_HTMLTableElement17.html \
test_HTMLTableElement18.html \
test_HTMLTableElement19.html \
test_HTMLTableElement20.html \
test_HTMLTableElement21.html \
test_HTMLTableElement22.html \
test_HTMLTableElement23.html \
test_HTMLTableElement24.html \
test_HTMLTableElement25.html \
test_HTMLTableElement26.html \
test_HTMLTableElement27.html \
test_HTMLTableElement28.html \
test_HTMLTableElement29.html \
test_HTMLTableElement30.html \
test_HTMLTableElement31.html \
test_HTMLTableElement32.html \
test_HTMLTableElement33.html \
test_HTMLTableElement34.html \
test_HTMLTableElement35.html \
test_HTMLTableElement36.html \
test_HTMLTableElement37.html \
test_HTMLTableElement38.html \
test_HTMLTableElement39.html \
test_HTMLTableElement40.html \
test_HTMLTableRowElement01.html \
test_HTMLTableRowElement02.html \
test_HTMLTableRowElement03.html \
test_HTMLTableRowElement04.html \
test_HTMLTableRowElement05.html \
test_HTMLTableRowElement06.html \
test_HTMLTableRowElement07.html \
test_HTMLTableRowElement08.html \
test_HTMLTableRowElement09.html \
test_HTMLTableRowElement10.html \
test_HTMLTableRowElement11.html \
test_HTMLTableRowElement12.html \
test_HTMLTableRowElement13.html \
test_HTMLTableRowElement14.html \
test_HTMLTableRowElement15.html \
test_HTMLTableRowElement16.html \
test_HTMLTableRowElement17.html \
test_HTMLTableRowElement18.html \
test_HTMLTableRowElement19.html \
test_HTMLTableRowElement20.html \
test_HTMLTableRowElement21.html \
test_HTMLTableSectionElement01.html \
test_HTMLTableSectionElement02.html \
test_HTMLTableSectionElement03.html \
test_HTMLTableSectionElement04.html \
test_HTMLTableSectionElement05.html \
test_HTMLTableSectionElement06.html \
test_HTMLTableSectionElement07.html \
test_HTMLTableSectionElement08.html \
test_HTMLTableSectionElement09.html \
test_HTMLTableSectionElement10.html \
test_HTMLTableSectionElement11.html \
test_HTMLTableSectionElement12.html \
test_HTMLTableSectionElement13.html \
test_HTMLTableSectionElement14.html \
test_HTMLTableSectionElement15.html \
test_HTMLTableSectionElement16.html \
test_HTMLTableSectionElement17.html \
test_HTMLTableSectionElement18.html \
test_HTMLTableSectionElement19.html \
test_HTMLTableSectionElement20.html \
test_HTMLTableSectionElement21.html \
test_HTMLTableSectionElement22.html \
test_HTMLTableSectionElement23.html \
test_HTMLTableSectionElement24.html \
test_HTMLTableSectionElement25.html \
test_HTMLTableSectionElement26.html \
test_HTMLTableSectionElement27.html \
test_HTMLTableSectionElement28.html \
test_HTMLTableSectionElement29.html \
test_HTMLTableSectionElement30.html \
test_HTMLTableSectionElement31.html \
test_HTMLTextAreaElement01.html \
test_HTMLTextAreaElement02.html \
test_HTMLTextAreaElement03.html \
test_HTMLTextAreaElement04.html \
test_HTMLTextAreaElement05.html \
test_HTMLTextAreaElement06.html \
test_HTMLTextAreaElement07.html \
test_HTMLTextAreaElement08.html \
test_HTMLTextAreaElement09.html \
test_HTMLTextAreaElement10.html \
test_HTMLTextAreaElement11.html \
test_HTMLTextAreaElement12.html \
test_HTMLTextAreaElement13.html \
test_HTMLTextAreaElement14.html \
test_HTMLTextAreaElement15.html \
test_HTMLTitleElement01.html \
test_HTMLUListElement01.html \
test_HTMLUListElement02.html \
test_object01.html \
test_object02.html \
test_object03.html \
test_object04.html \
test_object05.html \
test_object06.html \
test_object07.html \
test_object08.html \
test_object09.html \
test_object10.html \
test_object11.html \
test_object12.html \
test_object13.html \
test_object14.html \
test_object15.html \
test_table01.html \
test_table02.html \
test_table03.html \
test_table04.html \
test_table06.html \
test_table07.html \
test_table08.html \
test_table09.html \
test_table10.html \
test_table12.html \
test_table15.html \
test_table17.html \
test_table18.html \
test_table19.html \
test_table20.html \
test_table21.html \
test_table22.html \
test_table23.html \
test_table24.html \
test_table25.html \
test_table26.html \
test_table27.html \
test_table28.html \
test_table29.html \
test_table30.html \
test_table31.html \
test_table32.html \
test_table33.html \
test_table34.html \
test_table35.html \
test_table36.html \
test_table37.html \
test_table38.html \
test_table39.html \
test_table40.html \
test_table41.html \
test_table42.html \
test_table43.html \
test_table44.html \
test_table45.html \
test_table46.html \
test_table47.html \
test_table48.html \
test_table49.html \
test_table50.html \
test_table51.html \
test_table52.html \
test_table53.html \
$(NULL)
_TEST_FILES_E = \
test_hasFeature01.html \
test_hasFeature02.html \
test_hasFeature03.html \
test_hasFeature04.html \
test_hasFeature05.html \
test_hasFeature06.html \
test_HTMLAppletElement01.html \
test_HTMLAppletElement02.html \
test_HTMLAppletElement03.html \
test_HTMLAppletElement04.html \
test_HTMLAppletElement05.html \
test_HTMLAppletElement06.html \
test_HTMLAppletElement07.html \
test_HTMLAppletElement08.html \
test_HTMLAppletElement09.html \
test_HTMLAppletElement10.html \
test_HTMLAppletElement11.html \
$(NULL)
# work around nsinstall limits on windows by splitting into groups
libs:: $(_TEST_FILES_A)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(_TEST_FILES_B)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(_TEST_FILES_C)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(_TEST_FILES_D)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(_TEST_FILES_E)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)

View File

@ -0,0 +1,267 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Mozilla Foundation.
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/tests/mochitest/dom-level2-html/files
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TEST_FILES = \
anchor.html \
anchor.xhtml \
anchor.xml \
anchor2.html \
anchor2.xhtml \
anchor2.xml \
applet.html \
applet.xhtml \
applet.xml \
applet2.class \
applet2.html \
applet2.xhtml \
applet2.xml \
area.html \
area.xhtml \
area.xml \
area2.html \
area2.xhtml \
area2.xml \
base.html \
base.xhtml \
base.xml \
base2.html \
base2.xhtml \
base2.xml \
basefont.html \
basefont.xhtml \
basefont.xml \
body.html \
body.xhtml \
body.xml \
br.html \
br.xhtml \
br.xml \
button.html \
button.xhtml \
button.xml \
collection.html \
collection.xhtml \
collection.xml \
directory.html \
directory.xhtml \
directory.xml \
div.html \
div.xhtml \
div.xml \
dl.html \
dl.xhtml \
dl.xml \
document.html \
document.xhtml \
document.xml \
element.html \
element.xhtml \
element.xml \
fieldset.html \
fieldset.xhtml \
fieldset.xml \
font.html \
font.xhtml \
font.xml \
form.html \
form.xhtml \
form.xml \
form2.html \
form2.xhtml \
form2.xml \
form3.html \
form3.xhtml \
form3.xml \
frame.html \
frame.xhtml \
frame.xml \
frame2.html \
frame2.xhtml \
frame2.xml \
frameset.html \
frameset.xhtml \
frameset.xml \
head.html \
head.xhtml \
head.xml \
heading.html \
heading.xhtml \
heading.xml \
hr.html \
hr.xhtml \
hr.xml \
html.html \
html.xhtml \
html.xml \
iframe.html \
iframe.xhtml \
iframe.xml \
iframe2.html \
iframe2.xhtml \
iframe2.xml \
img.html \
img.xhtml \
img.xml \
index.html \
input.html \
input.xhtml \
input.xml \
isindex.html \
isindex.xhtml \
isindex.xml \
label.html \
label.xhtml \
label.xml \
legend.html \
legend.xhtml \
legend.xml \
li.html \
li.xhtml \
li.xml \
link.html \
link.xhtml \
link.xml \
link2.html \
link2.xhtml \
link2.xml \
map.html \
map.xhtml \
map.xml \
menu.html \
menu.xhtml \
menu.xml \
meta.html \
meta.xhtml \
meta.xml \
mod.html \
mod.xhtml \
mod.xml \
object.html \
object.xhtml \
object.xml \
object2.html \
object2.xhtml \
object2.xml \
olist.html \
olist.xhtml \
olist.xml \
optgroup.html \
optgroup.xhtml \
optgroup.xml \
option.html \
option.xhtml \
option.xml \
optionscollection.html \
optionscollection.xhtml \
optionscollection.xml \
paragraph.html \
paragraph.xhtml \
paragraph.xml \
param.html \
param.xhtml \
param.xml \
pre.html \
pre.xhtml \
pre.xml \
quote.html \
quote.xhtml \
quote.xml \
right.png \
script.html \
script.xhtml \
script.xml \
select.html \
select.xhtml \
select.xml \
style.html \
style.xhtml \
style.xml \
table.html \
table.xhtml \
table.xml \
table1.html \
table1.xhtml \
table1.xml \
tablecaption.html \
tablecaption.xhtml \
tablecaption.xml \
tablecell.html \
tablecell.xhtml \
tablecell.xml \
tablecol.html \
tablecol.xhtml \
tablecol.xml \
tablerow.html \
tablerow.xhtml \
tablerow.xml \
tablesection.html \
tablesection.xhtml \
tablesection.xml \
textarea.html \
textarea.xhtml \
textarea.xml \
title.html \
title.xhtml \
title.xml \
ulist.html \
ulist.xhtml \
ulist.xml \
w3c_main.png \
xhtml-lat1.ent \
xhtml-special.ent \
xhtml-symbol.ent \
xhtml1-frameset.dtd \
xhtml1-strict.dtd \
xhtml1-transitional.dtd \
$(NULL)
_TEST_FILES_J = \
applets/org/w3c/domts/DOMTSApplet.class \
$(NULL)
libs:: $(_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(_TEST_FILES_J)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)/applets/org/w3c/domts

View File

@ -0,0 +1,267 @@
#
# ***** BEGIN LICENSE BLOCK *****
# Version: MPL 1.1/GPL 2.0/LGPL 2.1
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
# http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is
# Mozilla Foundation.
# Portions created by the Initial Developer are Copyright (C) 2007
# the Initial Developer. All Rights Reserved.
#
# Contributor(s):
#
# Alternatively, the contents of this file may be used under the terms of
# either of the GNU General Public License Version 2 or later (the "GPL"),
# or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
# in which case the provisions of the GPL or the LGPL are applicable instead
# of those above. If you wish to allow use of your version of this file only
# under the terms of either the GPL or the LGPL, and not to allow others to
# use your version of this file under the terms of the MPL, indicate your
# decision by deleting the provisions above and replace them with the notice
# and other provisions required by the GPL or the LGPL. If you do not delete
# the provisions above, a recipient may use your version of this file under
# the terms of any one of the MPL, the GPL or the LGPL.
#
# ***** END LICENSE BLOCK *****
DEPTH = ../../../../..
topsrcdir = @top_srcdir@
srcdir = @srcdir@
VPATH = @srcdir@
relativesrcdir = dom/tests/mochitest/dom-level2-html/files
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
_TEST_FILES = \
anchor.html \
anchor.xhtml \
anchor.xml \
anchor2.html \
anchor2.xhtml \
anchor2.xml \
applet.html \
applet.xhtml \
applet.xml \
applet2.class \
applet2.html \
applet2.xhtml \
applet2.xml \
area.html \
area.xhtml \
area.xml \
area2.html \
area2.xhtml \
area2.xml \
base.html \
base.xhtml \
base.xml \
base2.html \
base2.xhtml \
base2.xml \
basefont.html \
basefont.xhtml \
basefont.xml \
body.html \
body.xhtml \
body.xml \
br.html \
br.xhtml \
br.xml \
button.html \
button.xhtml \
button.xml \
collection.html \
collection.xhtml \
collection.xml \
directory.html \
directory.xhtml \
directory.xml \
div.html \
div.xhtml \
div.xml \
dl.html \
dl.xhtml \
dl.xml \
document.html \
document.xhtml \
document.xml \
element.html \
element.xhtml \
element.xml \
fieldset.html \
fieldset.xhtml \
fieldset.xml \
font.html \
font.xhtml \
font.xml \
form.html \
form.xhtml \
form.xml \
form2.html \
form2.xhtml \
form2.xml \
form3.html \
form3.xhtml \
form3.xml \
frame.html \
frame.xhtml \
frame.xml \
frame2.html \
frame2.xhtml \
frame2.xml \
frameset.html \
frameset.xhtml \
frameset.xml \
head.html \
head.xhtml \
head.xml \
heading.html \
heading.xhtml \
heading.xml \
hr.html \
hr.xhtml \
hr.xml \
html.html \
html.xhtml \
html.xml \
iframe.html \
iframe.xhtml \
iframe.xml \
iframe2.html \
iframe2.xhtml \
iframe2.xml \
img.html \
img.xhtml \
img.xml \
index.html \
input.html \
input.xhtml \
input.xml \
isindex.html \
isindex.xhtml \
isindex.xml \
label.html \
label.xhtml \
label.xml \
legend.html \
legend.xhtml \
legend.xml \
li.html \
li.xhtml \
li.xml \
link.html \
link.xhtml \
link.xml \
link2.html \
link2.xhtml \
link2.xml \
map.html \
map.xhtml \
map.xml \
menu.html \
menu.xhtml \
menu.xml \
meta.html \
meta.xhtml \
meta.xml \
mod.html \
mod.xhtml \
mod.xml \
object.html \
object.xhtml \
object.xml \
object2.html \
object2.xhtml \
object2.xml \
olist.html \
olist.xhtml \
olist.xml \
optgroup.html \
optgroup.xhtml \
optgroup.xml \
option.html \
option.xhtml \
option.xml \
optionscollection.html \
optionscollection.xhtml \
optionscollection.xml \
paragraph.html \
paragraph.xhtml \
paragraph.xml \
param.html \
param.xhtml \
param.xml \
pre.html \
pre.xhtml \
pre.xml \
quote.html \
quote.xhtml \
quote.xml \
right.png \
script.html \
script.xhtml \
script.xml \
select.html \
select.xhtml \
select.xml \
style.html \
style.xhtml \
style.xml \
table.html \
table.xhtml \
table.xml \
table1.html \
table1.xhtml \
table1.xml \
tablecaption.html \
tablecaption.xhtml \
tablecaption.xml \
tablecell.html \
tablecell.xhtml \
tablecell.xml \
tablecol.html \
tablecol.xhtml \
tablecol.xml \
tablerow.html \
tablerow.xhtml \
tablerow.xml \
tablesection.html \
tablesection.xhtml \
tablesection.xml \
textarea.html \
textarea.xhtml \
textarea.xml \
title.html \
title.xhtml \
title.xml \
ulist.html \
ulist.xhtml \
ulist.xml \
w3c_main.png \
xhtml-lat1.ent \
xhtml-special.ent \
xhtml-symbol.ent \
xhtml1-frameset.dtd \
xhtml1-strict.dtd \
xhtml1-transitional.dtd \
$(NULL)
_TEST_FILES_J = \
applets/org/w3c/domts/DOMTSApplet.class \
$(NULL)
libs:: $(_TEST_FILES)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)
libs:: $(_TEST_FILES_J)
$(INSTALL) $(foreach f,$^,"$f") $(DEPTH)/_tests/testing/mochitest/tests/$(relativesrcdir)/org/w3c/domts

View File

@ -0,0 +1,12 @@
<!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 - Anchor</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<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>

View File

@ -0,0 +1,14 @@
<?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 - Anchor</title>
</head>
<body onload="parent.loadComplete()">
<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>

View File

@ -0,0 +1,14 @@
<?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 - Anchor</title>
</head>
<body onload="parent.loadComplete()">
<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>

View File

@ -0,0 +1,13 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Anchor</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>
<A HREF="./pix/submit.gif" TARGET="dynamic">View Submit Button</A>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,14 @@
<?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 - Anchor</title>
</head>
<body onload="parent.loadComplete()">
<p>
<a href="./pix/submit.gif" target="dynamic">View Submit Button</a>
</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<?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 - Anchor</title>
</head>
<body onload="parent.loadComplete()">
<p>
<a href="./pix/submit.gif" target="dynamic">View Submit Button</a>
</p>
</body>
</html>

View File

@ -0,0 +1,12 @@
<!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 - Applet</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>
<APPLET ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" CODE="org/w3c/domts/DOMTSApplet.class" CODEBASE="applets" HEIGHT="306" HSPACE="0" NAME="applet1" VSPACE="0" WIDTH="301"></APPLET>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<?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 - Applet</title>
</head>
<body onload="parent.loadComplete()">
<p>
<applet align="bottom" alt="Applet Number 1" archive="" code="org/w3c/domts/DOMTSApplet.class" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet>
</p>
</body>
</html>

View File

@ -0,0 +1,15 @@
<?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 - Applet</title>
</head>
<body onload="parent.loadComplete()">
<p>
<applet align="bottom" alt="Applet Number 1" archive="" code="org/w3c/domts/DOMTSApplet.class" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet>
</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>300 Multiple Choices</title>
</head><body>
<h1>Multiple Choices</h1>
The document name you requested (<code>/2004/04/ecmascript/level2/html/files/applet2.class</code>) could not be found on this server.
However, we found documents with names similar to the one you requested.<p>Available documents:
<ul>
<li><a href="/2004/04/ecmascript/level2/html/files/applet2.xml">/2004/04/ecmascript/level2/html/files/applet2.xml</a> (common basename)
<li><a href="/2004/04/ecmascript/level2/html/files/applet2.html">/2004/04/ecmascript/level2/html/files/applet2.html</a> (common basename)
<li><a href="/2004/04/ecmascript/level2/html/files/applet2.xhtml">/2004/04/ecmascript/level2/html/files/applet2.xhtml</a> (common basename)
</ul>
Please consider informing the owner of the <a href="http://www.w3.org/2004/04/ecmascript/level2/html/files/document.html">referring page</a> about the broken link.
</body></html>

View File

@ -0,0 +1,12 @@
<!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 - Applet</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>
<APPLET ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" OBJECT="DOMTSApplet.dat" CODEBASE="applets" HEIGHT="306" HSPACE="0" NAME="applet1" VSPACE="0" WIDTH="301"></APPLET>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,15 @@
<?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 - Applet</title>
</head>
<body onload="parent.loadComplete()">
<p>
<applet align="bottom" alt="Applet Number 1" archive="" object="DOMTSApplet.dat" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet>
</p>
</body>
</html>

View File

@ -0,0 +1,15 @@
<?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 - Applet</title>
</head>
<body onload="parent.loadComplete()">
<p>
<applet align="bottom" alt="Applet Number 1" archive="" object="DOMTSApplet.dat" codebase="applets" height="306" hspace="0" name="applet1" vspace="0" width="301"></applet>
</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Area</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<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="Domain">
</MAP>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - Area</title>
</head>
<body onload="parent.loadComplete()">
<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="Domain"/>
</map>
</p>
</body>
</html>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - Area</title>
</head>
<body onload="parent.loadComplete()">
<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="Domain"/>
</map>
</p>
</body>
</html>

View File

@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Area</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>
<MAP NAME="mapid" ID="mapid">
<AREA HREF="./files/dletter.html" ALT="Domain" TARGET="dynamic">
</MAP>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<?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 - Area</title>
</head>
<body onload="parent.loadComplete()">
<p>
<map name="mapid" id="mapid">
<area href="./files/dletter.html" alt="Domain" target="dynamic"/>
</map>
</p>
</body>
</html>

View File

@ -0,0 +1,16 @@
<?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 - Area</title>
</head>
<body onload="parent.loadComplete()">
<p>
<map name="mapid" id="mapid">
<area href="./files/dletter.html" alt="Domain" target="dynamic"/>
</map>
</p>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<BASE HREF="about:blank">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Base</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>Some Text</P>
</BODY>
</HTML>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<base href="about:blank"/>
<title>NIST DOM HTML Test - Base</title>
</head>
<body onload="parent.loadComplete()">
<p>Some Text</p>
</body>
</html>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<base href="about:blank"/>
<title>NIST DOM HTML Test - Base</title>
</head>
<body onload="parent.loadComplete()">
<p>Some Text</p>
</body>
</html>

View File

@ -0,0 +1,15 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<BASE HREF="about:blank" TARGET="Frame1">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Base2</TITLE>
</HEAD>
<FRAMESET COLS="20, 80" onload="parent.loadComplete()">
<FRAMESET ROWS="100, 200">
<FRAME MARGINHEIGHT="10" MARGINWIDTH="5" NORESIZE="NORESIZE" NAME="Frame1" FRAMEBORDER="1" SCROLLING="yes" SRC="right.png">
</FRAMESET>
<FRAME SRC="w3c_main.png">
</FRAMESET>
</HTML>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<base href="about:blank" target="Frame1"/>
<title>NIST DOM HTML Test - Base2</title>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" src="right.png" />
</frameset>
<frame src="w3c_main.png" />
</frameset>
</html>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<base href="about:blank" target="Frame1"/>
<title>NIST DOM HTML Test - Base2</title>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" src="right.png" />
</frameset>
<frame src="w3c_main.png" />
</frameset>
</html>

View File

@ -0,0 +1,12 @@
<!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 - BaseFont</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>
<BASEFONT COLOR="#000000" FACE="arial,helvitica" SIZE="4">
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,14 @@
<?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 - BaseFont</title>
</head>
<body onload="parent.loadComplete()">
<p>
<basefont color="#000000" face="arial,helvitica" size="4"/>
</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<?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 - BaseFont</title>
</head>
<body onload="parent.loadComplete()">
<p>
<basefont color="#000000" face="arial,helvitica" size="4"/>
</p>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!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 - Body</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()" ALINK="#0000ff" BACKGROUND="./pix/back1.gif" BGCOLOR="#ffff00" LINK="#ff0000" TEXT="#000000" VLINK="#00ffff">
<P>Hello, World</P>
</BODY>
</HTML>

View File

@ -0,0 +1,13 @@
<?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>
<base href="http://xw2k.sdct.itl.nist.gov/brady/dom/"/>
<title>NIST DOM HTML Test - Body</title>
</head>
<body onload="parent.loadComplete()" alink="#0000ff" background="./pix/back1.gif" bgcolor="#ffff00" link="#ff0000" text="#000000" vlink="#00ffff">
<p>Hello, World.</p>
</body>
</html>

View File

@ -0,0 +1,13 @@
<?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>
<base href="http://xw2k.sdct.itl.nist.gov/brady/dom/"/>
<title>NIST DOM HTML Test - Body</title>
</head>
<body onload="parent.loadComplete()" alink="#0000ff" background="./pix/back1.gif" bgcolor="#ffff00" link="#ff0000" text="#000000" vlink="#00ffff">
<p>Hello, World.</p>
</body>
</html>

View File

@ -0,0 +1,12 @@
<!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 - BR</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>
<BR CLEAR="none">
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,14 @@
<?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 - BR</title>
</head>
<body onload="parent.loadComplete()">
<p>
<br clear="none"/>
</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<?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 - BR</title>
</head>
<body onload="parent.loadComplete()">
<p>
<br clear="none"/>
</p>
</body>
</html>

View File

@ -0,0 +1,21 @@
<!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 - Button</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<FORM ID="form2" ACTION="..." METHOD="POST">
<P>
<BUTTON ACCESSKEY="f" NAME="disabledButton" TABINDEX="20" TYPE="reset" VALUE="Reset Disabled Button" DISABLED="disabled">Reset</BUTTON>
</P>
</FORM>
<TABLE SUMMARY="Extra Button Table">
<TR>
<TD>
<BUTTON>Extra Button</BUTTON>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View File

@ -0,0 +1,24 @@
<?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 - Button</title>
</head>
<body onload="parent.loadComplete()">
<form id="form2" action="..." method="post">
<p>
<button accesskey="f" name="disabledButton" tabindex="20" type="reset" value="Reset Disabled Button" disabled="disabled">Reset</button>
</p>
</form>
<table summary="Extra Button Table">
<tr>
<td>
<button>Extra Button</button>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,24 @@
<?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 - Button</title>
</head>
<body onload="parent.loadComplete()">
<form id="form2" action="..." method="post">
<p>
<button accesskey="f" name="disabledButton" tabindex="20" type="reset" value="Reset Disabled Button" disabled="disabled">Reset</button>
</p>
</form>
<table summary="Extra Button Table">
<tr>
<td>
<button>Extra Button</button>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,79 @@
<!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 - SELECT</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<TABLE ID="table-1" BORDER="4" FRAME="border" CELLPADDING="2" CELLSPACING="2" SUMMARY="HTML Control Table" RULES="all">
<CAPTION>Table Caption</CAPTION>
<THEAD ALIGN="center" VALIGN="middle">
<TR ALIGN="center" VALIGN="middle" CHAR="*" CHAROFF="1">
<TH ID="header-1">Employee Id</TH>
<TH ID="header-2" ABBR="maiden" AXIS="center" ALIGN="center" COLSPAN="1" ROWSPAN="1" SCOPE="col" HEADERS="header-1" VALIGN="middle">Employee Name</TH>
<TH>Position</TH>
<TH>Salary</TH>
<TH>Gender</TH>
<TH>Address</TH>
</TR>
</THEAD>
<TFOOT ALIGN="center" VALIGN="middle">
<TR>
<TH>next page ...</TH>
<TH>next page ...</TH>
<TH>next page ...</TH>
<TH>next page ...</TH>
<TH>next page ...</TH>
<TH>next page ...</TH>
</TR>
</TFOOT>
<TBODY ALIGN="center" VALIGN="middle">
<TR>
<TD AXIS="center" ID="Table-3" ABBR="maiden2" COLSPAN="1" ROWSPAN="1" SCOPE="col" HEADERS="header-2" VALIGN="middle">EMP0001</TD>
<TD HEADERS="header-2">Margaret Martin</TD>
<TD>Accountant</TD>
<TD>56,000</TD>
<TD>Female</TD>
<TD>1230 North Ave. Dallas, Texas 98551</TD>
</TR>
<TR>
<TD>EMP0002</TD>
<TD>Martha Raynolds</TD>
<TD>Secretary</TD>
<TD>35,000</TD>
<TD>Female</TD>
<TD>1900 Dallas Road Dallas, Texas 98554</TD>
</TR>
</TBODY>
</TABLE>
<FORM ID="form1" ACTION="./files/getData.pl" METHOD="post">
<P>
<SELECT ID="selectId" DIR="ltr" TABINDEX="7" NAME="select1" MULTIPLE="multiple" SIZE="1">
<OPTION SELECTED="selected" value="EMP1">EMP10001</OPTION>
<OPTION>EMP10002</OPTION>
<OPTION>EMP10003</OPTION>
<OPTION>EMP10004</OPTION>
<OPTION>EMP10005</OPTION>
</SELECT>
</P>
</FORM>
<P>
<SELECT NAME="select2">
<OPTION>EMP20001</OPTION>
<OPTION>EMP20002</OPTION>
<OPTION>EMP20003</OPTION>
<OPTION>EMP20004</OPTION>
<OPTION>EMP20005</OPTION>
</SELECT>
</P>
<P>
<SELECT NAME="select3" DISABLED="disabled" TABINDEX="1">
<OPTION>EMP30001</OPTION>
<OPTION>EMP30002</OPTION>
<OPTION>EMP30003</OPTION>
<OPTION>EMP30004</OPTION>
<OPTION>EMP30005</OPTION>
</SELECT>
</P>
</BODY>
</HTML>

View File

@ -0,0 +1,82 @@
<?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 - BR</title>
</head>
<body onload="parent.loadComplete()">
<table id="table-1" border="4" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all">
<caption>Table Caption</caption>
<thead align="center" valign="middle">
<tr align="center" valign="middle" char="*" charoff="1">
<th id="header-1">Employee Id</th>
<th id="header-2" abbr="maiden" axis="center" align="center" colspan="1" rowspan="1" scope="col" headers="header-1" valign="middle">Employee Name</th>
<th>Position</th>
<th>Salary</th>
<th>Gender</th>
<th>Address</th>
</tr>
</thead>
<tfoot align="center" valign="middle">
<tr>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
</tr>
</tfoot>
<tbody align="center" valign="middle">
<tr>
<td axis="center" id="Table-3" abbr="maiden2" colspan="1" rowspan="1" scope="col" headers="header-2" valign="middle">EMP0001</td>
<td headers="header-2">Margaret Martin</td>
<td>Accountant</td>
<td>56,000</td>
<td>Female</td>
<td>1230 North Ave. Dallas, Texas 98551</td>
</tr>
<tr>
<td>EMP0002</td>
<td>Martha Raynolds</td>
<td>Secretary</td>
<td>35,000</td>
<td>Female</td>
<td>1900 Dallas Road Dallas, Texas 98554</td>
</tr>
</tbody>
</table>
<form id="form1" action="./files/getData.pl" method="post">
<p>
<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1">
<option selected="selected" value="EMP1">EMP10001</option>
<option>EMP10002</option>
<option>EMP10003</option>
<option>EMP10004</option>
<option>EMP10005</option>
</select>
</p>
</form>
<p>
<select name="select2">
<option>EMP20001</option>
<option>EMP20002</option>
<option>EMP20003</option>
<option>EMP20004</option>
<option>EMP20005</option>
</select>
</p>
<p>
<select name="select3" disabled="disabled" tabindex="1">
<option>EMP30001</option>
<option>EMP30002</option>
<option>EMP30003</option>
<option>EMP30004</option>
<option>EMP30005</option>
</select>
</p>
</body>
</html>

View File

@ -0,0 +1,82 @@
<?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 - BR</title>
</head>
<body onload="parent.loadComplete()">
<table id="table-1" border="4" frame="border" cellpadding="2" cellspacing="2" summary="HTML Control Table" rules="all">
<caption>Table Caption</caption>
<thead align="center" valign="middle">
<tr align="center" valign="middle" char="*" charoff="1">
<th id="header-1">Employee Id</th>
<th id="header-2" abbr="maiden" axis="center" align="center" colspan="1" rowspan="1" scope="col" headers="header-1" valign="middle">Employee Name</th>
<th>Position</th>
<th>Salary</th>
<th>Gender</th>
<th>Address</th>
</tr>
</thead>
<tfoot align="center" valign="middle">
<tr>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
<th>next page ...</th>
</tr>
</tfoot>
<tbody align="center" valign="middle">
<tr>
<td axis="center" id="Table-3" abbr="maiden2" colspan="1" rowspan="1" scope="col" headers="header-2" valign="middle">EMP0001</td>
<td headers="header-2">Margaret Martin</td>
<td>Accountant</td>
<td>56,000</td>
<td>Female</td>
<td>1230 North Ave. Dallas, Texas 98551</td>
</tr>
<tr>
<td>EMP0002</td>
<td>Martha Raynolds</td>
<td>Secretary</td>
<td>35,000</td>
<td>Female</td>
<td>1900 Dallas Road Dallas, Texas 98554</td>
</tr>
</tbody>
</table>
<form id="form1" action="./files/getData.pl" method="post">
<p>
<select id="selectId" dir="ltr" tabindex="7" name="select1" multiple="multiple" size="1">
<option selected="selected" value="EMP1">EMP10001</option>
<option>EMP10002</option>
<option>EMP10003</option>
<option>EMP10004</option>
<option>EMP10005</option>
</select>
</p>
</form>
<p>
<select name="select2">
<option>EMP20001</option>
<option>EMP20002</option>
<option>EMP20003</option>
<option>EMP20004</option>
<option>EMP20005</option>
</select>
</p>
<p>
<select name="select3" disabled="disabled" tabindex="1">
<option>EMP30001</option>
<option>EMP30002</option>
<option>EMP30003</option>
<option>EMP30004</option>
<option>EMP30005</option>
</select>
</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<!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 - Directory</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<DIR COMPACT="compact">
<LI>DIR item number 1.</LI>
<LI>DIR item number 2.</LI>
<LI>DIR item number 3.</LI>
</DIR>
</BODY>
</HTML>

View File

@ -0,0 +1,16 @@
<?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 - Directory</title>
</head>
<body onload="parent.loadComplete()">
<dir compact="compact">
<li>DIR item number 1.</li>
<li>DIR item number 2.</li>
<li>DIR item number 3.</li>
</dir>
</body>
</html>

View File

@ -0,0 +1,16 @@
<?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 - Directory</title>
</head>
<body onload="parent.loadComplete()">
<dir compact="compact">
<li>DIR item number 1.</li>
<li>DIR item number 2.</li>
<li>DIR item number 3.</li>
</dir>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!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 - DIV</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<DIV ALIGN="center">The DIV element is a generic block container. This text should be centered.</DIV>
</BODY>
</HTML>

View File

@ -0,0 +1,12 @@
<?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 - DIV</title>
</head>
<body onload="parent.loadComplete()">
<div align="center">The DIV element is a generic block container. This text should be centered.</div>
</body>
</html>

View File

@ -0,0 +1,12 @@
<?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 - DIV</title>
</head>
<body onload="parent.loadComplete()">
<div align="center">The DIV element is a generic block container. This text should be centered.</div>
</body>
</html>

View File

@ -0,0 +1,15 @@
<!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 - DL</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<DL COMPACT="COMPACT">
<DD>Accountant</DD>
<DD>56,000</DD>
<DD>Female</DD>
<DD>1230 North Ave. Dallas, Texas 98551</DD>
</DL>
</BODY>
</HTML>

View File

@ -0,0 +1,17 @@
<?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 - DL</title>
</head>
<body onload="parent.loadComplete()">
<dl compact="compact">
<dd>Accountant</dd>
<dd>56,000</dd>
<dd>Female</dd>
<dd>1230 North Ave. Dallas, Texas 98551</dd>
</dl>
</body>
</html>

View File

@ -0,0 +1,17 @@
<?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 - DL</title>
</head>
<body onload="parent.loadComplete()">
<dl compact="compact">
<dd>Accountant</dd>
<dd>56,000</dd>
<dd>Female</dd>
<dd>1230 North Ave. Dallas, Texas 98551</dd>
</dl>
</body>
</html>

View File

@ -0,0 +1,36 @@
<!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>
</HEAD>
<BODY onload="parent.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 ALIGN="bottom" ALT="Applet Number 1" ARCHIVE="" CODE="org/w3c/domts/DOMTSApplet.class" CODEBASE="applets"></APPLET>
</OBJECT>
<OBJECT DATA="./pix/logo.gif" type="image/gif">
<APPLET ALT="Applet Number 2" CODE="org/w3c/domts/DOMTSApplet.class" CODEBASE="applets"></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>

View File

@ -0,0 +1,39 @@
<?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>
</head>
<body onload="parent.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>

View File

@ -0,0 +1,39 @@
<?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>
</head>
<body onload="parent.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>

View File

@ -0,0 +1,81 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD ID="Test-HEAD" TITLE="HEAD Element" LANG="en" DIR="ltr" CLASS="HEAD-class">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Element</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<CENTER ID="Test-CENTER" TITLE="CENTER Element" LANG="en" DIR="ltr" CLASS="CENTER-class">
<OBJECT align="middle"></OBJECT>
</CENTER>
<CENTER>
<P align="center">Test Lists</P>
</CENTER>
<BR>
<OL compact="compact" start="1" type="1">
<LI type="square" value=2>EMP0001
<UL compact type="disc">
<LI>Margaret Martin
<DL>
<DD ID="Test-DD" TITLE="DD Element" LANG="en" DIR="ltr" CLASS="DD-class">Accountant</DD>
<DD>56,000</DD>
<DD>Female</DD>
<DD>1230 North Ave. Dallas, Texas 98551</DD>
</DL>
</LI>
</UL>
</LI>
</OL>
<BR />
<B ID="Test-B" TITLE="B Element" LANG="en" DIR="ltr" CLASS="B-class">Bold</B>
<BR />
<DL>
<DT ID="Test-DT" TITLE="DT Element" LANG="en" DIR="ltr" CLASS="DT-class">DT element</DT>
</DL>
<BR />
<BDO ID="Test-BDO" TITLE="BDO Element" LANG="en" DIR="ltr" CLASS="BDO-class">Bidirectional algorithm overide
</BDO>
<BR />
<I ID="Test-I" TITLE="I Element" LANG="en" DIR="ltr" CLASS="I-class">Italicized</I>
<BR />
<SPAN ID="Test-SPAN" TITLE="SPAN Element" LANG="en" DIR="ltr" CLASS="SPAN-class"></SPAN>
<BR />
<TT ID="Test-TT" TITLE="TT Element" LANG="en" DIR="ltr" CLASS="TT-class">Teletype</TT>
<BR />
<SUB ID="Test-SUB" TITLE="SUB Element" LANG="en" DIR="ltr" CLASS="SUB-class">Subscript</SUB>
<BR />
<SUP ID="Test-SUP" TITLE="SUP Element" LANG="en" DIR="ltr" CLASS="SUP-class">SuperScript</SUP>
<BR />
<S ID="Test-S" TITLE="S Element" LANG="en" DIR="ltr" CLASS="S-class">Strike Through (S)</S>
<BR />
<STRIKE ID="Test-STRIKE" TITLE="STRIKE Element" LANG="en" DIR="ltr" CLASS="STRIKE-class">Strike Through (STRIKE)</STRIKE>
<BR />
<SMALL id="Test-SMALL" TITLE="SMALL Element" LANG="en" DIR="ltr" CLASS="SMALL-class">Small</SMALL>
<BR />
<BIG ID="Test-BIG" TITLE="BIG Element" LANG="en" DIR="ltr" CLASS="BIG-class">Big</BIG>
<BR />
<EM ID="Test-EM" TITLE="EM Element" LANG="en" DIR="ltr" CLASS="EM-class">Emphasis</EM>
<BR />
<STRONG ID="Test-STRONG" TITLE="STRONG Element" LANG="en" DIR="ltr" CLASS="STRONG-class">Strong</STRONG>
<BR />
<DFN ID="Test-DFN" TITLE="DFN Element" LANG="en" DIR="ltr" CLASS="DFN-class">
<CODE ID="Test-CODE" TITLE="CODE Element" LANG="en" DIR="ltr" CLASS="CODE-class">10 Computer Code Fragment 20 Temp = 10</CODE>
<SAMP ID="Test-SAMP" TITLE="SAMP Element" LANG="en" DIR="ltr" CLASS="SAMP-class">Temp = 20</SAMP>
<KBD ID="Test-KBD" TITLE="KBD Element" LANG="en" DIR="ltr" CLASS="KBD-class">*2</KBD>
<VAR ID="Test-VAR" TITLE="VAR Element" LANG="en" DIR="ltr" CLASS="VAR-class">Temp</VAR>
<CITE ID="Test-CITE" TITLE="CITE Element" LANG="en" DIR="ltr" CLASS="CITE-class">Citation</CITE>
</DFN>
<BR />
<ABBR ID="Test-ABBR" TITLE="ABBR Element" LANG="en" DIR="ltr" CLASS="ABBR-class">Temp</ABBR>
<BR />
<ACRONYM ID="Test-ACRONYM" TITLE="ACRONYM Element" LANG="en" DIR="ltr" CLASS="ACRONYM-class">NIST</ACRONYM>
<BR />
<ADDRESS ID="Test-ADDRESS" TITLE="ADDRESS Element" LANG="en" DIR="ltr" CLASS="ADDRESS-class">Gaithersburg, MD 20899</ADDRESS>
<BR />
<NOFRAMES ID="Test-NOFRAMES" TITLE="NOFRAMES Element" LANG="en" DIR="ltr" CLASS="NOFRAMES-class">Not</NOFRAMES>
<BR />
<NOSCRIPT ID="Test-NOSCRIPT" TITLE="NOSCRIPT Element" LANG="en" DIR="ltr" CLASS="NOSCRIPT-class">Not</NoScript>
<BR />
<U ID="Test-U" TITLE="U Element" LANG="en" DIR="ltr" CLASS="U-class">Underlined</U>
</BODY>
</HTML>

View File

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"xhtml1-transitional.dtd">
<html lang="en" dir="ltr" xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - Element</title>
</head>
<body onload="parent.loadComplete()">
<center id="Test-CENTER" title="CENTER Element" lang="en" dir="ltr" class="CENTER-class">
<object align="middle"></object>
</center>
<center>
<p align="center">Test Lists</p>
</center>
<br />
<ol compact="compact" start="1" type="1">
<li type="square" value="2">EMP0001
<ul compact="compact" type="disc">
<li>Margaret Martin
<dl>
<dd id="Test-DD" title="DD Element" lang="en" dir="ltr" class="DD-class">Accountant</dd>
<dd>56,000</dd>
<dd>Female</dd>
<dd>1230 North Ave. Dallas, Texas 98551</dd>
</dl>
</li>
</ul>
</li>
</ol>
<br />
<b id="Test-B" title="B Element" lang="en" dir="ltr" class="B-class">Bold</b>
<br />
<dl>
<dt id="Test-DT" title="DT Element" lang="en" dir="ltr" class="DT-class">DT element</dt>
</dl>
<br />
<bdo id="Test-BDO" title="BDO Element" lang="en" dir="ltr" class="BDO-class">Bidirectional algorithm overide
</bdo>
<br />
<i id="Test-I" title="I Element" lang="en" dir="ltr" class="I-class">Italicized</i>
<br />
<span id="Test-SPAN" title="SPAN Element" lang="en" dir="ltr" class="SPAN-class"></span>
<br />
<tt id="Test-TT" title="TT Element" lang="en" dir="ltr" class="TT-class">Teletype</tt>
<br />
<sub id="Test-SUB" title="SUB Element" lang="en" dir="ltr" class="SUB-class">Subscript</sub>
<br />
<sup id="Test-SUP" title="SUP Element" lang="en" dir="ltr" class="SUP-class">SuperScript</sup>
<br />
<s id="Test-S" title="S Element" lang="en" dir="ltr" class="S-class">Strike Through (S)</s>
<br />
<strike id="Test-STRIKE" title="STRIKE Element" lang="en" dir="ltr" class="STRIKE-class">Strike Through (STRIKE)</strike>
<br />
<small id="Test-SMALL" title="SMALL Element" lang="en" dir="ltr" class="SMALL-class">Small</small>
<br />
<big id="Test-BIG" title="BIG Element" lang="en" dir="ltr" class="BIG-class">Big</big>
<br />
<em id="Test-EM" title="EM Element" lang="en" dir="ltr" class="EM-class">Emphasis</em>
<br />
<strong id="Test-STRONG" title="STRONG Element" lang="en" dir="ltr" class="STRONG-class">Strong</strong>
<br />
<dfn id="Test-DFN" title="DFN Element" lang="en" dir="ltr" class="DFN-class">
<code id="Test-CODE" title="CODE Element" lang="en" dir="ltr" class="CODE-class">10 Computer Code Fragment 20 Temp = 10</code>
<samp id="Test-SAMP" title="SAMP Element" lang="en" dir="ltr" class="SAMP-class">Temp = 20</samp>
<kbd id="Test-KBD" title="KBD Element" lang="en" dir="ltr" class="KBD-class">*2</kbd>
<var id="Test-VAR" title="VAR Element" lang="en" dir="ltr" class="VAR-class">Temp</var>
<cite id="Test-CITE" title="CITE Element" lang="en" dir="ltr" class="CITE-class">Citation</cite>
</dfn>
<br />
<abbr id="Test-ABBR" title="ABBR Element" lang="en" dir="ltr" class="ABBR-class">Temp</abbr>
<br />
<acronym id="Test-ACRONYM" title="ACRONYM Element" lang="en" dir="ltr" class="ACRONYM-class">NIST</acronym>
<br />
<address id="Test-ADDRESS" title="ADDRESS Element" lang="en" dir="ltr" class="ADDRESS-class">Gaithersburg, MD 20899</address>
<br />
<noframes id="Test-NOFRAMES" title="NOFRAMES Element" lang="en" dir="ltr" class="NOFRAMES-class">Not</noframes>
<br />
<noscript id="Test-NOSCRIPT" title="NOSCRIPT Element" lang="en" dir="ltr" class="NOSCRIPT-class">Not</noscript>
<br />
<u id="Test-U" title="U Element" lang="en" dir="ltr" class="U-class">Underlined</u>
</body>
</html>

View File

@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"xhtml1-transitional.dtd">
<html lang="en" dir="ltr" xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - Element</title>
</head>
<body onload="parent.loadComplete()">
<center id="Test-CENTER" title="CENTER Element" lang="en" dir="ltr" class="CENTER-class">
<object align="middle"></object>
</center>
<center>
<p align="center">Test Lists</p>
</center>
<br />
<ol compact="compact" start="1" type="1">
<li type="square" value="2">EMP0001
<ul compact="compact" type="disc">
<li>Margaret Martin
<dl>
<dd id="Test-DD" title="DD Element" lang="en" dir="ltr" class="DD-class">Accountant</dd>
<dd>56,000</dd>
<dd>Female</dd>
<dd>1230 North Ave. Dallas, Texas 98551</dd>
</dl>
</li>
</ul>
</li>
</ol>
<br />
<b id="Test-B" title="B Element" lang="en" dir="ltr" class="B-class">Bold</b>
<br />
<dl>
<dt id="Test-DT" title="DT Element" lang="en" dir="ltr" class="DT-class">DT element</dt>
</dl>
<br />
<bdo id="Test-BDO" title="BDO Element" lang="en" dir="ltr" class="BDO-class">Bidirectional algorithm overide
</bdo>
<br />
<i id="Test-I" title="I Element" lang="en" dir="ltr" class="I-class">Italicized</i>
<br />
<span id="Test-SPAN" title="SPAN Element" lang="en" dir="ltr" class="SPAN-class"></span>
<br />
<tt id="Test-TT" title="TT Element" lang="en" dir="ltr" class="TT-class">Teletype</tt>
<br />
<sub id="Test-SUB" title="SUB Element" lang="en" dir="ltr" class="SUB-class">Subscript</sub>
<br />
<sup id="Test-SUP" title="SUP Element" lang="en" dir="ltr" class="SUP-class">SuperScript</sup>
<br />
<s id="Test-S" title="S Element" lang="en" dir="ltr" class="S-class">Strike Through (S)</s>
<br />
<strike id="Test-STRIKE" title="STRIKE Element" lang="en" dir="ltr" class="STRIKE-class">Strike Through (STRIKE)</strike>
<br />
<small id="Test-SMALL" title="SMALL Element" lang="en" dir="ltr" class="SMALL-class">Small</small>
<br />
<big id="Test-BIG" title="BIG Element" lang="en" dir="ltr" class="BIG-class">Big</big>
<br />
<em id="Test-EM" title="EM Element" lang="en" dir="ltr" class="EM-class">Emphasis</em>
<br />
<strong id="Test-STRONG" title="STRONG Element" lang="en" dir="ltr" class="STRONG-class">Strong</strong>
<br />
<dfn id="Test-DFN" title="DFN Element" lang="en" dir="ltr" class="DFN-class">
<code id="Test-CODE" title="CODE Element" lang="en" dir="ltr" class="CODE-class">10 Computer Code Fragment 20 Temp = 10</code>
<samp id="Test-SAMP" title="SAMP Element" lang="en" dir="ltr" class="SAMP-class">Temp = 20</samp>
<kbd id="Test-KBD" title="KBD Element" lang="en" dir="ltr" class="KBD-class">*2</kbd>
<var id="Test-VAR" title="VAR Element" lang="en" dir="ltr" class="VAR-class">Temp</var>
<cite id="Test-CITE" title="CITE Element" lang="en" dir="ltr" class="CITE-class">Citation</cite>
</dfn>
<br />
<abbr id="Test-ABBR" title="ABBR Element" lang="en" dir="ltr" class="ABBR-class">Temp</abbr>
<br />
<acronym id="Test-ACRONYM" title="ACRONYM Element" lang="en" dir="ltr" class="ACRONYM-class">NIST</acronym>
<br />
<address id="Test-ADDRESS" title="ADDRESS Element" lang="en" dir="ltr" class="ADDRESS-class">Gaithersburg, MD 20899</address>
<br />
<noframes id="Test-NOFRAMES" title="NOFRAMES Element" lang="en" dir="ltr" class="NOFRAMES-class">Not</noframes>
<br />
<noscript id="Test-NOSCRIPT" title="NOSCRIPT Element" lang="en" dir="ltr" class="NOSCRIPT-class">Not</noscript>
<br />
<u id="Test-U" title="U Element" lang="en" dir="ltr" class="U-class">Underlined</u>
</body>
</html>

View File

@ -0,0 +1,23 @@
<!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 - FieldSet</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<FORM ID="form2" ACTION="..." METHOD="POST">
<FIELDSET>
<LEGEND>All data entered must be valid</LEGEND>
</FIELDSET>
</FORM>
<TABLE SUMMARY="Table 1">
<TR>
<TD>
<FIELDSET>
<LEGEND>All data entered must be valid</LEGEND>
</FIELDSET>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

View File

@ -0,0 +1,25 @@
<?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 - FieldSet</title>
</head>
<body onload="parent.loadComplete()">
<form id="form2" action="..." method="post">
<fieldset>
<legend>All data entered must be valid</legend>
</fieldset>
</form>
<table summary="Table 1">
<tr>
<td>
<fieldset>
<legend>All data entered must be valid</legend>
</fieldset>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,25 @@
<?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 - FieldSet</title>
</head>
<body onload="parent.loadComplete()">
<form id="form2" action="..." method="post">
<fieldset>
<legend>All data entered must be valid</legend>
</fieldset>
</form>
<table summary="Table 1">
<tr>
<td>
<fieldset>
<legend>All data entered must be valid</legend>
</fieldset>
</td>
</tr>
</table>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!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 - Font</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<FONT COLOR="#000000" FACE="arial,helvetica" SIZE="4">Test Tables</FONT>
</BODY>
</HTML>

View File

@ -0,0 +1,12 @@
<?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 - BaseFont</title>
</head>
<body onload="parent.loadComplete()">
<font color="#000000" face="arial,helvitica" size="4">Test Tables</font>
</body>
</html>

View File

@ -0,0 +1,12 @@
<?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 - BaseFont</title>
</head>
<body onload="parent.loadComplete()">
<font color="#000000" face="arial,helvitica" size="4">Test Tables</font>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - FORM</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<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>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<?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 - FORM</title>
</head>
<body onload="parent.loadComplete()">
<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
<p>
<textarea id="text1" cols="20" rows="7"></textarea>
<input type="submit" name="submit1" value="Submit" />
<input type="reset" name="submit2" value="Reset" />
</p>
</form>
</body>
</html>

View File

@ -0,0 +1,18 @@
<?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 - FORM</title>
</head>
<body onload="parent.loadComplete()">
<form id="form1" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
<p>
<textarea id="text1" cols="20" rows="7"></textarea>
<input type="submit" name="submit1" value="Submit" />
<input type="reset" name="submit2" value="Reset" />
</p>
</form>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - FORM</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<FORM ID="form1" TARGET="dynamic" 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>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<?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 - FORM</title>
</head>
<body onload="parent.loadComplete()">
<form id="form1" target="dynamic" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
<p>
<textarea id="text1" cols="20" rows="7"></textarea>
<input type="submit" name="submit1" value="Submit" />
<input type="reset" name="submit2" value="Reset" />
</p>
</form>
</body>
</html>

View File

@ -0,0 +1,18 @@
<?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 - FORM</title>
</head>
<body onload="parent.loadComplete()">
<form id="form1" target="dynamic" accept-charset="US-ASCII" action="./files/getData.pl" enctype="application/x-www-form-urlencoded" method="post">
<p>
<textarea id="text1" cols="20" rows="7"></textarea>
<input type="submit" name="submit1" value="Submit" />
<input type="reset" name="submit2" value="Reset" />
</p>
</form>
</body>
</html>

View File

@ -0,0 +1,17 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>FORM3</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<FORM ID="form1" ACTION="about:blank">
<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>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>FORM3</title>
</head>
<body onload="parent.loadComplete()">
<form id="form1" action="about:blank">
<p>
<textarea id="text1" cols="20" rows="7"></textarea>
<input type="submit" name="submit1" value="Submit" />
<input type="reset" name="submit2" value="Reset" />
</p>
</form>
</body>
</html>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>FORM3</title>
</head>
<body onload="parent.loadComplete()">
<form id="form1" action="about:blank">
<p>
<textarea id="text1" cols="20" rows="7"></textarea>
<input type="submit" name="submit1" value="Submit" />
<input type="reset" name="submit2" value="Reset" />
</p>
</form>
</body>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - FRAME</TITLE>
</HEAD>
<FRAMESET COLS="20, 80" onload="parent.loadComplete()">
<FRAMESET ROWS="100, 200">
<FRAME LONGDESC="about:blank" MARGINHEIGHT="10" MARGINWIDTH="5" NORESIZE="NORESIZE" NAME="Frame1" FRAMEBORDER="1" SCROLLING="yes" SRC="right.png">
</FRAMESET>
<FRAME SRC="w3c_main.png">
</FRAMESET>
</HTML>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - FRAME</title>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame longdesc="about:blank" marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" src="right.png" />
</frameset>
<frame src="w3c_main.png" />
</frameset>
</html>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - FRAME</title>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame longdesc="about:blank" marginheight="10" marginwidth="5" noresize="noresize" name="Frame1" frameborder="1" scrolling="yes" src="right.png" />
</frameset>
<frame src="w3c_main.png" />
</frameset>
</html>

View File

@ -0,0 +1,16 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - FRAME2</TITLE>
<!-- required by frame contents -->
<SCRIPT type="text/javascript">function loadComplete() { }</SCRIPT>
</HEAD>
<FRAMESET COLS="20, 80" onload="parent.loadComplete()">
<FRAMESET ROWS="100, 200">
<FRAME ID="Frame1" NAME="Frame1" SRC="frame.html">
</FRAMESET>
<FRAME ID="Frame2" NAME="Frame2" SRC="iframe.html">
</FRAMESET>
</HTML>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - FRAME2</title>
<!-- required by frame contents -->
<script type="text/javascript">function loadComplete() { }</script>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame id="Frame1" name="Frame1" src="frame.xhtml"/>
</frameset>
<frame id="Frame2" name="Frame2" src="iframe.xhtml"/>
</frameset>
</html>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - FRAME2</title>
<script type="text/javascript">function loadComplete() { }</script>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame id="Frame1" name="Frame1" src="frame.html"/>
</frameset>
<frame id="Frame2" name="Frame2" src="iframe.html"/>
</frameset>
</html>

View File

@ -0,0 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - FRAMESET</TITLE>
</HEAD>
<FRAMESET COLS="20, 80" onload="parent.loadComplete()">
<FRAMESET ROWS="100, 200">
<FRAME SRC="right.png">
</FRAMESET>
<FRAME SRC="w3c_main.png">
</FRAMESET>
</HTML>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - FRAMESET</title>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame src="right.png" />
</frameset>
<frame src="w3c_main.png" />
</frameset>
</html>

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"xhtml1-frameset.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - FRAMESET</title>
</head>
<frameset cols="20, 80" onload="parent.loadComplete()">
<frameset rows="100, 200">
<frame src="right.png" />
</frameset>
<frame src="w3c_main.png" />
</frameset>
</html>

View File

@ -0,0 +1,11 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<HTML>
<HEAD PROFILE="http://xw2k.sdct.itl.nist.gov/brady/dom/files/profile">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - HEAD</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>Hello, World.</P>
</BODY>
</HTML>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head profile="http://xw2k.sdct.itl.nist.gov/brady/dom/files/profile">
<title>NIST DOM HTML Test - HEAD</title>
</head>
<body onload="parent.loadComplete()">
<p>Hello, World.</p>
</body>
</html>

View File

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head profile="http://xw2k.sdct.itl.nist.gov/brady/dom/files/profile">
<title>NIST DOM HTML Test - HEAD</title>
</head>
<body onload="parent.loadComplete()">
<p>Hello, World.</p>
</body>
</html>

View File

@ -0,0 +1,16 @@
<!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 - HEADING</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<H1 ALIGN="center">Head Element 1</H1>
<H2 ALIGN="left">Head Element 2</H2>
<H3 ALIGN="right">Head Element 3</H3>
<H4 ALIGN="justify">Head Element 4</H4>
<H5 ALIGN="center">Head Element 5</H5>
<H6 ALIGN="left">Head Element 6</H6>
</BODY>
</HTML>

View File

@ -0,0 +1,18 @@
<?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 - HEADING</title>
</head>
<body onload="parent.loadComplete()">
<h1 align="center">Head Element 1</h1>
<h2 align="left">Head Element 2</h2>
<h3 align="right">Head Element 3</h3>
<h4 align="right">Head Element 4</h4>
<h5 align="center">Head Element 5</h5>
<h6 align="left">Head Element 6</h6>
</body>
</html>

View File

@ -0,0 +1,18 @@
<?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 - HEADING</title>
</head>
<body onload="parent.loadComplete()">
<h1 align="center">Head Element 1</h1>
<h2 align="left">Head Element 2</h2>
<h3 align="right">Head Element 3</h3>
<h4 align="right">Head Element 4</h4>
<h5 align="center">Head Element 5</h5>
<h6 align="left">Head Element 6</h6>
</body>
</html>

View File

@ -0,0 +1,11 @@
<!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 - HR</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<HR ALIGN="center" NOSHADE="noShade" SIZE="5" WIDTH="400" />
</BODY>
</HTML>

View File

@ -0,0 +1,13 @@
<?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 - HR</title>
</head>
<body onload="parent.loadComplete()">
<hr align="center" noshade="noshade" size="5" width="400"/>
</body>
</html>

View File

@ -0,0 +1,13 @@
<?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 - HR</title>
</head>
<body onload="parent.loadComplete()">
<hr align="center" noshade="noshade" size="5" width="400"/>
</body>
</html>

View File

@ -0,0 +1,12 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML VERSION="-//W3C//DTD HTML 4.01 Transitional//EN">
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=utf-8">
<TITLE>NIST DOM HTML Test - Html</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<P>Hello, World.</P>
</BODY>
</HTML>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - Html</title>
</head>
<body onload="parent.loadComplete()">
<p>Hello, World.</p>
</body>
</html>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"xhtml1-strict.dtd">
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>NIST DOM HTML Test - Html</title>
</head>
<body onload="parent.loadComplete()">
<p>Hello, World.</p>
</body>
</html>

View File

@ -0,0 +1,10 @@
<!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 - IFRAME</TITLE>
</HEAD>
<BODY onload="parent.loadComplete()">
<IFRAME LONGDESC="about:blank" MARGINHEIGHT="10" MARGINWIDTH="5" WIDTH="60" HEIGHT="50" NAME="Iframe1" FRAMEBORDER="1" SCROLLING="yes" SRC="right.png" ALIGN="top">IFRAME1</IFRAME>
</BODY>
</HTML>

View File

@ -0,0 +1,12 @@
<?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 - IFRAME</title>
</head>
<body onload="parent.loadComplete()">
<iframe longdesc="about:blank" marginheight="10" marginwidth="5" width="60" height="50" name="Iframe1" frameborder="1" scrolling="yes" src="right.png" align="top">IFRAME1</iframe>
</body>
</html>

View File

@ -0,0 +1,12 @@
<?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 - IFRAME</title>
</head>
<body onload="parent.loadComplete()">
<iframe longdesc="about:blank" marginheight="10" marginwidth="5" width="60" height="50" name="Iframe1" frameborder="1" scrolling="yes" src="right.png" align="top">IFRAME1</iframe>
</body>
</html>

View File

@ -0,0 +1,13 @@
<!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 - IFRAME2</TITLE>
<!-- required by frame contents -->
<SCRIPT type="text/javascript">function loadComplete() { }</SCRIPT>
</HEAD>
<BODY onload="parent.loadComplete()">
<IFRAME ID="Iframe1" NAME="Iframe1" SRC="iframe.html">IFRAME1</IFRAME>
<IFRAME ID="Iframe2" SRC="frame.html" NAME="Iframe2">IFRAME2</IFRAME>
</BODY>
</HTML>

Some files were not shown because too many files have changed in this diff Show More