Add bug 3348 tests

This commit is contained in:
sayrer%gmail.com 2006-10-29 18:31:32 +00:00
parent d596c388e9
commit 25fcd63b3d
2 changed files with 35 additions and 0 deletions

View File

@ -45,6 +45,7 @@ var RunSet = {}
RunSet.runall = function() {
TestRunner.runTests(
'test_bug2082.html',
'test_bug3348.html',
'test_bug100533.html',
'test_bug218277.html',
'test_bug302186.html',

View File

@ -0,0 +1,34 @@
<!DOCTYPE HTML>
<html>
<!--
https://bugzilla.mozilla.org/show_bug.cgi?id=3348
-->
<head>
<title>Test for Bug 3348</title>
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
</head>
<body>
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=3348">Mozilla Bug 3348</a>
<p id="display"></p>
<div id="content" style="display: none">
<form id="form1">
<input type="button" value="click here" onclick="buttonClick();">
</form>
</div>
<pre id="test">
<script class="testbody" type="text/javascript">
/** Test for Bug 3348 **/
var oForm = document.getElementById("form1");
is(oForm.tagName, "FORM", "tagName of HTML element gives tag in upper case");
</script>
</pre>
</body>
</html>