function testEventTarget(obj) {
obj.onmouseenter = f;
is(obj.onmouseenter, f, "onmouseenter should be settable");
obj.onmouseleave = f;
is(obj.onmouseleave, f, "onmouseenter should be settable");
}
function testInterface(obj) {
try {
obj.prototype.onmouseenter = f;
is("onmouseenter" in obj, false, "setting .prototype.onmouseenter has no effect on the " + "non-existent .onmouseenter");
obj.prototype.onmouseleave = f;
is("onmouseleave" in obj, false, "setting .prototype.onmouseleave has no effect on the " + "non-existent .onmouseleave");
} catch(ex) {
ok(false, ex);
}
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.