Fixing more bugs in tests. Bug 348809.

git-svn-id: svn://10.0.0.236/trunk@219913 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bzbarsky%mit.edu
2007-02-09 21:31:38 +00:00
parent 33cb7eb6cb
commit d9417096ca
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ input { display: none }
<div>
<input type="submit">
<input type="radio" checked="checked" id="foo">
<span>There should be no red.</span>
<span>There should be no red</span>
</div>
</form>
<script>

View File

@@ -11,7 +11,7 @@ input { display: none }
<input type="checkbox" checked="checked" id="foo"><span>There should be no red</span>
<script>
var foo = document.body.offsetWidth;
onload='document.getElementById("foo").removeAttribute("checked");'
document.getElementById("foo").removeAttribute("checked");
</script>
</body>
</html>

View File

@@ -21,7 +21,7 @@ button { display: none }
</form>
<script>
var foo = document.body.offsetWidth;
onload='document.getElementById("foo").setAttribute("type", "button");'
document.getElementById("foo").setAttribute("type", "button");
</script>
</body>
</html>

View File

@@ -23,7 +23,7 @@ input { display: none }
<script>
var foo = document.body.offsetWidth;
document.getElementById("foo").removeAttribute("type");
document.getElementById("bar").setAttribute("type", "checkbox");'
document.getElementById("bar").setAttribute("type", "checkbox");
</script>
</body>
</html>