зеркало из https://github.com/mozilla/pjs.git
Bug 657364 - Put dom/tests/mochitest/dom-level2-html/files/document.html applet in a new file. r=ehsan
This commit is contained in:
Родитель
f638f0e2ab
Коммит
0fb7f2bfc9
|
@ -92,6 +92,7 @@ _TEST_FILES = \
|
|||
dl.xhtml \
|
||||
dl.xml \
|
||||
document.html \
|
||||
document-with-applet.html \
|
||||
document.xhtml \
|
||||
document.xml \
|
||||
element.html \
|
||||
|
|
|
@ -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>
|
|
@ -23,10 +23,8 @@
|
|||
</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>
|
||||
|
|
|
@ -38,7 +38,7 @@ function setUpPage() {
|
|||
if (typeof(this.doc) != 'undefined') {
|
||||
docRef = this.doc;
|
||||
}
|
||||
docsLoaded += preload(docRef, "doc", "document");
|
||||
docsLoaded += preload(docRef, "doc", "document-with-applet");
|
||||
|
||||
if (docsLoaded == 1) {
|
||||
setUpPage = 'complete';
|
||||
|
@ -91,7 +91,7 @@ function HTMLDocument08() {
|
|||
if (typeof(this.doc) != 'undefined') {
|
||||
docRef = this.doc;
|
||||
}
|
||||
doc = load(docRef, "doc", "document");
|
||||
doc = load(docRef, "doc", "document-with-applet");
|
||||
vapplets = doc.applets;
|
||||
|
||||
vlength = vapplets.length;
|
||||
|
@ -129,7 +129,7 @@ function HTMLDocument08() {
|
|||
</p>
|
||||
<p>See W3C License <a href="http://www.w3.org/Consortium/Legal/">http://www.w3.org/Consortium/Legal/</a>
|
||||
for more details.</p>
|
||||
<iframe name="doc" src="files/document.html"></iframe>
|
||||
<iframe name="doc" src="files/document-with-applet.html"></iframe>
|
||||
<br>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Загрузка…
Ссылка в новой задаче