mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-29 02:17:45 -10:00
34 lines
960 B
HTML
34 lines
960 B
HTML
<!doctype html>
|
|
<title>Historical HTML APIs</title>
|
|
<script src=/resources/testharness.js></script>
|
|
<script src=/resources/testharnessreport.js></script>
|
|
<div id=log></div>
|
|
<applet name=war align=left></applet>
|
|
<script>
|
|
test(() => {
|
|
assert_array_equals(document.applets, []);
|
|
}, "document.applets is always empty");
|
|
|
|
test(() => {
|
|
const ap = document.getElementsByTagName("applet")[0];
|
|
assert_equals(self.HTMLAppletElement, undefined);
|
|
assert_true(ap instanceof window.HTMLUnknownElement);
|
|
}, "HTMLAppletElement is no more")
|
|
|
|
test(() => {
|
|
assert_equals(document.all.war, undefined);
|
|
}, "document.all cannot find applet")
|
|
|
|
test(() => {
|
|
assert_equals(document.war, undefined);
|
|
}, "document cannot find applet")
|
|
|
|
test(() => {
|
|
assert_equals(self.war, undefined);
|
|
}, "window cannot find applet")
|
|
|
|
test(() => {
|
|
assert_equals(self.getComputedStyle(document.getElementsByTagName("applet")[0], "").cssFloat, "none");
|
|
}, "applet is not styled")
|
|
</script>
|