Bug 952857: Fix some typos in reftests that cause JavaScript errors in output. (test-only, no review)

This commit is contained in:
Daniel Holbert 2013-12-22 13:00:28 -08:00
parent 37444b82b9
commit 12c8ad6e3a
10 changed files with 10 additions and 11 deletions

View File

@ -8,7 +8,7 @@
textarea { resize: none; }
</style>
</head>
<body onload="RemoveAllDirAttribute()">
<body onload="removeAllDirAttribute()">
<div><input type="text" value="ABC אבג" id="set0" dir="foopy"></div>
<div><span id="set1" dir="foopy">ABC אבג</span></div>
<div><textarea id="set2" dir="foopy">ABC אבג</textarea></div>

View File

@ -4,8 +4,7 @@
title=""
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
width="800"
height="600"
onload="revealTab()">
height="600">
<tabbox>
<tabs>

View File

@ -1,7 +1,7 @@
<html>
<head>
</head>
<body onload="draw()">
<body>
<canvas id="canvas" width="300" height="300"></canvas>
<script type="application/javascript">
var canvas = document.getElementById("canvas");

View File

@ -1,7 +1,7 @@
<html>
<head>
</head>
<body onload="draw()">
<body>
<canvas id="canvas" width="300" height="300"></canvas>
<script type="application/javascript">
var canvas = document.getElementById("canvas");

View File

@ -12,7 +12,7 @@
}
</style>
</head>
<body onload="tweak()">
<body>
<iframe src="flexbox-resizeviewport-1-helper.html" style="width: 50px"/>
<iframe src="flexbox-resizeviewport-1-helper.html" style="width: 125px"/>
<br/>

View File

@ -10,7 +10,7 @@
function startTest() {
document.addEventListener("MozReftestInvalidate", boom, false);
setTimeout(doTest, 4000); // fallback for running outside reftest
setTimeout(boom, 4000); // fallback for running outside reftest
}
function boom() {

Before

Width:  |  Height:  |  Size: 843 B

After

Width:  |  Height:  |  Size: 841 B

View File

@ -19,7 +19,7 @@ function move_small_object()
}
document.addEventListener("MozReftestInvalidate", move_small_object, false);
setTimeout(move_small_objects, 4000); // fallback for running outside reftest
setTimeout(move_small_object, 4000); // fallback for running outside reftest
//]]></script>
<rect width="100%" height="100%" fill="lime"/>

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

@ -19,7 +19,7 @@ function move_small_object()
}
document.addEventListener("MozReftestInvalidate", move_small_object, false);
setTimeout(move_small_objects, 4000); // fallback for running outside reftest
setTimeout(move_small_object, 4000); // fallback for running outside reftest
//]]></script>
<rect width="100%" height="100%" fill="lime"/>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -2,7 +2,7 @@
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/
-->
<svg xmlns="http://www.w3.org/2000/svg" onload="createFilter();">
<svg xmlns="http://www.w3.org/2000/svg">
<title>Reference for filter result property</title>

Before

Width:  |  Height:  |  Size: 611 B

After

Width:  |  Height:  |  Size: 586 B

View File

@ -2,7 +2,7 @@
<html>
<head>
</head>
<body onload="doTest()">
<body>
<table>
<tr>
<td>